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>
21 lines
549 B
YAML
21 lines
549 B
YAML
actions:
|
|
- action: device_tracker.see
|
|
data:
|
|
dev_id: oskar
|
|
gps:
|
|
- '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') | float }}'
|
|
- '{{ state_attr(''sensor.owntracks_last_location'', ''lon'') | float }}'
|
|
gps_accuracy: 10
|
|
host_name: Oskar
|
|
alias: Aktualizuj lokalizację Oskar
|
|
conditions:
|
|
- condition: template
|
|
value_template: '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') is not none }}
|
|
|
|
'
|
|
description: ''
|
|
id: '1751307777881'
|
|
triggers:
|
|
- entity_id: sensor.owntracks_last_location
|
|
trigger: state
|