New alarms

This commit is contained in:
2023-04-11 07:06:07 +02:00
parent c39b0834d2
commit c21802c5a6
+39 -14
View File
@@ -5,7 +5,7 @@
at: '20:05:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -17,7 +17,7 @@
at: '20:00:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
@@ -29,7 +29,7 @@
at: '20:05:10'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -41,7 +41,7 @@
at: '20:00:10'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
@@ -53,7 +53,7 @@
at: '20:05:20'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -65,7 +65,7 @@
at: '20:00:20'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
@@ -100,7 +100,7 @@
at: '20:05:40'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -113,7 +113,7 @@
at: '20:00:40'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
@@ -125,7 +125,7 @@
at: '20:05:50'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -138,12 +138,37 @@
at: '20:00:50'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
entity_id: switch.sonos_alarm_1894
- alias: 'Turn on alarms Daniel Thursdays'
trigger:
platform: time
at: '20:06:20'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
entity_id: switch.sonos_alarm_2273
- alias: 'Turn off alarms Daniel Thursdays'
trigger:
platform: time
at: '20:00:43'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
entity_id: switch.sonos_alarm_2273
- alias: 'Turn on alarms Badeværelse'
trigger:
@@ -151,7 +176,7 @@
at: '20:06:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -164,7 +189,7 @@
at: '20:01:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off
@@ -176,7 +201,7 @@
at: '20:06:10'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'on'
action:
- service: homeassistant.turn_on
@@ -189,7 +214,7 @@
at: '20:06:20'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
entity_id: binary_sensor.arbejdsdagimorgen
state: 'off'
action:
- service: homeassistant.turn_off