homelab-codex-ws/services/home-assistant/config/ken-legacy/configuration.yaml
oskar 970b8cc023 feat(ha): archival import of ken-legacy config
Read-only import of the pre-migration homeassistant5 container (piha),
per DESIGN.md phase-0 scope: 60 automations (split one-file-per-id),
5 scenes, 1 script, plus curated .storage/* export (area/entity
registries, input_boolean/input_text, lovelace dashboards).

No token at ~/.config/ha-deploy/ken-legacy.token — fixtures step
fail-softed as designed, no repo import.sh changes needed. Verified:
gitignore-excluded paths (secrets.yaml, *.db*, logs, .storage/auth*,
core.restore_state, tts/, deps/, backups/, .cloud/) correctly stripped
from the pull; three consecutive import.sh runs produced byte-identical
output under config/ken-legacy/ and storage-export/ken-legacy/
(idempotent); automation count matches the 2026-07-22 recon estimate
(~60) exactly. README.md only touched to note the import date.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 16:49:09 +02:00

59 lines
1.4 KiB
YAML

automation: !include 'automations.yaml'
default_config:
group:
garmin:
entities:
- switch.tasmota
- switch.sufit2switchsalon
- switch.sufit3switchsalon
- switch.tasmota_8
- switch.tasmota_12
- switch.tasmota_9
- switch.tasmota_3
- scene.Film
name: Garmin
http:
trusted_proxies:
- 192.168.31.0/24
- 172.18.0.0/24
- 172.19.0.0/24
- 172.22.0.0/24
- 172.20.0.0/24
- 172.21.0.0/24
- 172.23.0.0/24
- 172.17.0.0/24
use_x_forwarded_for: true
logger:
default: warning
logs:
homeassistant.components.rest_command: debug
homeassistant.components.shell_command: debug
prometheus:
namespace: hass
rest_command:
piplayer_reboot:
method: GET
url: http://192.168.31.6/cgi-bin/main.cgi?ACTION=reboot
piplayer_shutdown:
method: GET
url: http://192.168.31.6/cgi-bin/main.cgi?ACTION=shutdown
scene: !include 'scenes.yaml'
script: !include 'scripts.yaml'
sensor:
- json_attributes:
- addr
- lat
- lon
- tst
method: GET
name: owntracks_last_location
platform: rest
resource: http://192.168.31.5:8083/api/0/last?user=owntracksusr&device=oskar&fields=tst,tid,addr,topic,isotst,lat,lon,addr
scan_interval: 60
value_template: '{{ value_json.lat }},{{ value_json.lon }}'
shell_command:
piplayer_reboot: curl -X GET http://192.168.31.6/cgi-bin/main.cgi?ACTION=reboot
piplayer_shutdown: curl -X GET http://192.168.31.6/cgi-bin/main.cgi?ACTION=shutdown
tts:
- platform: google_translate