Syg: fjern forældede alarm-IDs (445, 1874, 1894, 2273, 1899)
This commit is contained in:
@@ -8,35 +8,6 @@
|
||||
|
||||
# ---- 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 ----
|
||||
|
||||
@@ -70,8 +41,6 @@
|
||||
target:
|
||||
entity_id:
|
||||
- switch.sonos_alarm_377
|
||||
- switch.sonos_alarm_1894
|
||||
- switch.sonos_alarm_2273
|
||||
- switch.sonos_alarm_3471
|
||||
|
||||
# ---- Anne / Claus (soveværelse) ----
|
||||
@@ -117,4 +86,4 @@
|
||||
entity_id:
|
||||
- switch.sonos_alarm_1782
|
||||
- switch.sonos_alarm_298
|
||||
- switch.sonos_alarm_1899
|
||||
|
||||
Reference in New Issue
Block a user