Files
cantabile-ha-addons/cantabile_edge/config.yaml
T

61 lines
2.4 KiB
YAML

# Copyright © 2026 Setti Solutions S.R.L, www.setti.md. All rights reserved.
# The Edge Agent as a Home Assistant add-on: the same image as
# the Hub's, wrapped by addon-run (Dockerfile). The image is prebuilt,
# per arch (README.md: building it from src/).
name: Cantabile Edge Agent
version: "0.1.2148"
slug: cantabile_edge
description: Plans your home's energy with Cantabile and, with your consent, runs the devices you choose.
url: https://cantabile.cloud
arch: [amd64]
image: git.setti.solutions/daniel/cantabile-ha-edge-{arch}
stage: experimental
startup: application
boot: auto
# Core's API through the Supervisor (SUPERVISOR_TOKEN): states, registries,
# areas, dashboards, service calls. hassio_api only for the MQTT service.
homeassistant_api: true
hassio_api: true
services:
- mqtt:want
# The add-on's pages (Devices; Building or community): only through HA's
# ingress. Not in the sidebar: the Supervisor's per-install "Show in
# sidebar" (ingress_panel) is off unless the owner turns it on; Cantabile's
# dashboard links the pages (/app/<slug>#devices, #building). panel_* only
# name it if they do; panel_admin hides that entry from other users, and
# the pages check themselves that the user is an administrator.
ingress: true
ingress_port: 8099
panel_icon: mdi:leaf
panel_title: Cantabile
panel_admin: true
# homeassistant_config: read once at start, as root, for the site id
# (.storage/core.uuid, root only); the agent then runs as its own user
# (addon-run). share: an earlier install's mapping to import, once
# (/share/cantabile/mapping.yaml, DOCS.md "Moving from an earlier install").
map:
- type: homeassistant_config
read_only: true
- type: share
read_only: true
# consent_data: the owner's consent, given here when installing (needed: the
# add-on connects to Cantabile only with it); consent_control: control,
# separately (the Hub's wizard has the same two; DOCS.md "Your consent").
# support_ha: Cantabile's team may open this Home Assistant as its user
# "Cantabile support" (an administrator, never the owner) through Cantabile's
# connection; off unless the owner turns it on (edge/link/hatunnel.go).
options:
consent_data: false
consent_control: false
mode: shadow
claim_code: ""
dashboards: true
support_ha: false
schema:
consent_data: bool
consent_control: bool
mode: list(off|shadow)
claim_code: password?
dashboards: bool
support_ha: bool