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

26 lines
633 B
YAML

actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_off
alias: Turn off Stereo when idle for night
conditions:
- condition: or
conditions:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_idle
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_off
description: ''
id: '1744976289447'
mode: single
triggers:
- at: '23:59:00'
trigger: time