homelab-codex-ws/services/home-assistant/config/ken-legacy/automations/1666891723803.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

20 lines
406 B
YAML

actions:
- action: mqtt.publish
data:
payload: display_on
topic: dom/pimirror
alias: Magic Mirror Display On Command
conditions:
- after: 06:30:00
before: '23:30:00'
condition: time
description: ''
id: '1666891723803'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied