From 3d03332aaae0cc28a926fff873c796750f2950b0 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Thu, 1 Oct 2026 15:58:01 -0400 Subject: [PATCH] fix(hass): drop dead device-based automations, use entity ids The five "Lights - 01/02/03/04/10" automations had no triggers left and were superseded by the sunset/evening-ramp/lights-out/sweep automations; nothing references them. "Driveway String Lights Off" and "Lights - 00 - Morning" referenced device ids that no longer exist in the device registry (they only worked because HA resolved the entity registry id), so they now target switch.driveway_string_lights and light.bathroom_hallway directly. Ids and aliases are unchanged. Co-Authored-By: Claude Opus 5.5 --- .../roles/podman/files/hass/automations.yaml | 186 +----------------- 1 file changed, 10 insertions(+), 176 deletions(-) diff --git a/ansible/roles/podman/files/hass/automations.yaml b/ansible/roles/podman/files/hass/automations.yaml index aee6a0b..820e616 100644 --- a/ansible/roles/podman/files/hass/automations.yaml +++ b/ansible/roles/podman/files/hass/automations.yaml @@ -1,194 +1,28 @@ -- id: '1649042328061' - alias: Lights - 01 - On - description: '' - triggers: [] - conditions: [] - actions: - - type: turn_on - device_id: 1fa1aca8f90daf94a2a7baf8a3abc158 - entity_id: 58d101e63456fd8e088d3a3b63f3a0f9 - domain: switch - - type: turn_on - device_id: 800eddbeeda071225f181a14cb9527e0 - entity_id: 521a92ddd8be76c7eddfc544f81f6020 - domain: light - brightness_pct: 25 - - type: turn_on - device_id: f31e4f9bf8fa3687a07aeb4430eaef38 - entity_id: b79934d97f3bb9d8a3da47c76d03ded4 - domain: light - brightness_pct: 100 - - type: turn_on - device_id: 03a12d2360d9954aed19c2449070725a - entity_id: 7c1e7db73799cc3f90948b5118596985 - domain: light - brightness_pct: 100 - - type: turn_on - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - brightness_pct: 75 - - type: turn_on - device_id: 21eb2bd28aba2ee361a22af92e8b2d16 - entity_id: 81c486d682afcc94e98e377475cc92fc - domain: light - brightness_pct: 100 - mode: single - id: '1707432903086' alias: Driveway String Lights Off description: '' - trigger: - - platform: time + triggers: + - trigger: time at: '23:00:00' - condition: [] - action: - - type: turn_off - device_id: 1fa1aca8f90daf94a2a7baf8a3abc158 - entity_id: 58d101e63456fd8e088d3a3b63f3a0f9 - domain: switch - mode: single -- id: '1707433130493' - alias: Lights - 02 - Early Dim - description: '' - triggers: [] conditions: [] actions: - - type: turn_on - device_id: 03a12d2360d9954aed19c2449070725a - entity_id: 7c1e7db73799cc3f90948b5118596985 - domain: light - brightness_pct: 50 - - type: turn_on - device_id: f31e4f9bf8fa3687a07aeb4430eaef38 - entity_id: b79934d97f3bb9d8a3da47c76d03ded4 - domain: light - brightness_pct: 50 - - type: turn_on - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - brightness_pct: 50 - - type: turn_on - device_id: 21eb2bd28aba2ee361a22af92e8b2d16 - entity_id: 81c486d682afcc94e98e377475cc92fc - domain: light - brightness_pct: 50 - mode: single -- id: '1707433185560' - alias: Lights - 03 - Mid Dim - description: '' - triggers: [] - conditions: [] - actions: - - type: turn_on - device_id: f31e4f9bf8fa3687a07aeb4430eaef38 - entity_id: b79934d97f3bb9d8a3da47c76d03ded4 - domain: light - brightness_pct: 25 - - type: turn_on - device_id: 03a12d2360d9954aed19c2449070725a - entity_id: 7c1e7db73799cc3f90948b5118596985 - domain: light - brightness_pct: 25 - - type: turn_on - device_id: 800eddbeeda071225f181a14cb9527e0 - entity_id: 521a92ddd8be76c7eddfc544f81f6020 - domain: light - brightness_pct: 50 - - type: turn_on - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - brightness_pct: 25 - - type: turn_on - device_id: 21eb2bd28aba2ee361a22af92e8b2d16 - entity_id: 81c486d682afcc94e98e377475cc92fc - domain: light - brightness_pct: 25 - mode: single -- id: '1707433226166' - alias: Lights - 04 - Late Dim - description: '' - triggers: [] - conditions: [] - actions: - - type: turn_on - device_id: f31e4f9bf8fa3687a07aeb4430eaef38 - entity_id: b79934d97f3bb9d8a3da47c76d03ded4 - domain: light - brightness_pct: 1 - - type: turn_on - device_id: 03a12d2360d9954aed19c2449070725a - entity_id: 7c1e7db73799cc3f90948b5118596985 - domain: light - brightness_pct: 1 - - type: turn_on - device_id: 800eddbeeda071225f181a14cb9527e0 - entity_id: 521a92ddd8be76c7eddfc544f81f6020 - domain: light - brightness_pct: 25 - - type: turn_on - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - brightness_pct: 10 - - type: turn_on - device_id: 21eb2bd28aba2ee361a22af92e8b2d16 - entity_id: 81c486d682afcc94e98e377475cc92fc - domain: light - brightness_pct: 10 - - action: light.turn_on - metadata: {} - data: - brightness_pct: 1 + - action: switch.turn_off target: - area_id: bedroom - enabled: false - mode: single -- id: '1711218890065' - alias: Lights - 10 - Off - description: '' - triggers: [] - conditions: [] - actions: - - type: turn_off - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - - type: turn_off - device_id: f31e4f9bf8fa3687a07aeb4430eaef38 - entity_id: b79934d97f3bb9d8a3da47c76d03ded4 - domain: light - - type: turn_off - device_id: 03a12d2360d9954aed19c2449070725a - entity_id: 7c1e7db73799cc3f90948b5118596985 - domain: light - - type: turn_off - device_id: 800eddbeeda071225f181a14cb9527e0 - entity_id: 521a92ddd8be76c7eddfc544f81f6020 - domain: light - - type: turn_off - device_id: 03eb359bf2344a58bebfe1e9c5bcfadd - entity_id: a30b2da3cd80a5b4c927e1608b91eb65 - domain: light - - type: turn_off - device_id: 21eb2bd28aba2ee361a22af92e8b2d16 - entity_id: 81c486d682afcc94e98e377475cc92fc - domain: light + entity_id: switch.driveway_string_lights mode: single - id: '1739912161794' alias: Lights - 00 - Morning description: '' triggers: - trigger: time - at: 09:00:00 + at: '09:00:00' conditions: [] actions: - - type: turn_on - device_id: 3f7f65571d9bb0833433996f1f6725bd - entity_id: 7407afe14783543252c666d5ff7c5d5c - domain: light - brightness_pct: 100 + - action: light.turn_on + data: + brightness_pct: 100 + target: + entity_id: light.bathroom_hallway mode: single - id: '1762116115638' alias: Light - TV On