This commit is contained in:
2022-01-19 07:17:26 +01:00
parent 93dca5e8b4
commit 3be704e23c
18 changed files with 831 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
######################################################################
## Weekday Morning Routines for the Wife and Kiddos.
######################################################################
- alias: 'Godmorgen start igen'
trigger:
platform: sun
event: sunset
action:
- service: input_boolean.turn_off
data:
entity_id: input_boolean.first_run
- alias: 'Godmorgen'
trigger:
platform: state
entity_id: binary_sensor.stue_motion_sensor
to: 'on'
condition:
- condition: time
after: '06:00:00'
before: '10:00:00'
- condition: state
entity_id: input_boolean.first_run
state: 'off'
action:
# - service: scene.turn_on
# entity_id: scene.34900
- service: input_boolean.turn_on
data:
entity_id: input_boolean.first_run
- service: script.monthly_color_scene
- alias: 'Godmorgen Children arbejdsdag'
trigger:
platform: time
at: '06:00:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
state: 'on'
action:
- service: script.andreas_color_scene
- service: script.daniel_color_scene
- alias: 'Godmorgen Children ikke arbejdsdag'
trigger:
platform: time
at: '08:00:00'
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
state: 'off'
action:
- service: script.andreas_color_scene
- service: script.daniel_color_scene