New alarms
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
at: '20:05:00'
|
at: '20:05:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
at: '20:00:00'
|
at: '20:00:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
at: '20:05:10'
|
at: '20:05:10'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
at: '20:00:10'
|
at: '20:00:10'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
at: '20:05:20'
|
at: '20:05:20'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
at: '20:00:20'
|
at: '20:00:20'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
at: '20:05:40'
|
at: '20:05:40'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
at: '20:00:40'
|
at: '20:00:40'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
at: '20:05:50'
|
at: '20:05:50'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -138,12 +138,37 @@
|
|||||||
at: '20:00:50'
|
at: '20:00:50'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
entity_id: switch.sonos_alarm_1894
|
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'
|
- alias: 'Turn on alarms Badeværelse'
|
||||||
trigger:
|
trigger:
|
||||||
@@ -151,7 +176,7 @@
|
|||||||
at: '20:06:00'
|
at: '20:06:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -164,7 +189,7 @@
|
|||||||
at: '20:01:00'
|
at: '20:01:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
@@ -176,7 +201,7 @@
|
|||||||
at: '20:06:10'
|
at: '20:06:10'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
@@ -189,7 +214,7 @@
|
|||||||
at: '20:06:20'
|
at: '20:06:20'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.arbejdsdag
|
entity_id: binary_sensor.arbejdsdagimorgen
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
|
|||||||
Reference in New Issue
Block a user