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

34 lines
695 B
YAML

actions:
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 5f738065e2d6c1c244a33fea4a8b4aaa
type: turn_off
alias: Turn off pigry power
conditions:
- condition: and
conditions:
- condition: device
device_id: bd22cacffbbf0c97a9ef33dab987b890
domain: binary_sensor
entity_id: 7614d2254b0b764d385ba273990ae559
for:
hours: 0
minutes: 3
seconds: 0
type: is_not_connected
- condition: state
entity_id: switch.tasmota_tasmota3
for:
hours: 0
minutes: 6
seconds: 0
state: 'on'
description: ''
id: '1744918189114'
mode: single
triggers:
- hours: '*'
minutes: '*'
seconds: '0'
trigger: time_pattern