Adjust night routines

This commit is contained in:
2021-05-20 10:48:31 +03:00
parent e0fe119547
commit 8bcde443fe
4 changed files with 25 additions and 6 deletions
@@ -97,9 +97,14 @@ automation:
entity_id: binary_sensor.bedroom_door
to: "on"
condition:
condition: sun
after: sunset
after_offset: "-02:00:00"
condition: and
conditions:
- condition: sun
after: sunset
after_offset: "-02:00:00"
- condition: state
entity_id: input_select.house_mode
state: 'day'
action:
- service: light.turn_on
entity_id: light.master_bedroom_main