Syg: fjern forældede alarm-IDs (445, 1874, 1894, 2273, 1899)

This commit is contained in:
2026-04-25 13:45:41 +02:00
parent a7580b851a
commit 6b302b7c65
+1 -32
View File
@@ -8,35 +8,6 @@
# ---- Andreas ---- # ---- Andreas ----
- alias: "Syg - Andreas - sluk alarmer"
id: syg_andreas_sluk_alarmer
trigger:
- platform: state
entity_id: input_select.andreas_status
to: "syg"
action:
- service: homeassistant.turn_off
target:
entity_id:
- switch.sonos_alarm_445 # Andreas hverdagsalarm
- switch.sonos_alarm_1874 # Andreas lørdag
- alias: "Syg - Andreas - genaktiver alarmer"
id: syg_andreas_genaktiver_alarmer
trigger:
- platform: state
entity_id: input_select.andreas_status
not_to: "syg"
condition:
- condition: state
entity_id: binary_sensor.arbejdsdagimorgen
state: "on"
action:
- service: homeassistant.turn_on
target:
entity_id:
- switch.sonos_alarm_445
- switch.sonos_alarm_1874
# ---- Daniel ---- # ---- Daniel ----
@@ -70,8 +41,6 @@
target: target:
entity_id: entity_id:
- switch.sonos_alarm_377 - switch.sonos_alarm_377
- switch.sonos_alarm_1894
- switch.sonos_alarm_2273
- switch.sonos_alarm_3471 - switch.sonos_alarm_3471
# ---- Anne / Claus (soveværelse) ---- # ---- Anne / Claus (soveværelse) ----
@@ -117,4 +86,4 @@
entity_id: entity_id:
- switch.sonos_alarm_1782 - switch.sonos_alarm_1782
- switch.sonos_alarm_298 - switch.sonos_alarm_298
- switch.sonos_alarm_1899