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

27 lines
662 B
YAML

action:
- device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: turn_off
- device_id: 91a10253ef20fbbef412ec0a3a0e32a8
domain: switch
entity_id: switch.gniazdko_xiaomi_2
type: turn_off
alias: Oczyszczacz i nawilżacz prze przycisk Tymka [OFF]
condition:
- condition: device
device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: is_on
description: ''
id: '1640285276640'
mode: single
trigger:
- device_id: 306a6032b08584c04d6607be84c8a0b9
discovery_id: 0x60a423fffe80237f action_1_hold
domain: mqtt
platform: device
subtype: 1_hold
type: action