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
+5 -1
View File
@@ -46,6 +46,10 @@ script:
- light.kitchen_secondary
- light.hallway_main
- light.hallway_entrance
- switch.titanium
- service: light.turn_on
entity_id:
- light.browser_kitchen
- light.browser_hallway
- switch.titanium
data:
brightness_pct: 1
+7 -2
View File
@@ -31,9 +31,14 @@ script:
- light.kitchen_secondary
- light.hallway_main
- light.hallway_entrance
- light.browser_kitchen
- light.browser_hallway
- media_player.nvidia_shield
- media_player.living_room_tv
- switch.titanium
- group.all_radiators
- service: light.turn_on
entity_id:
- light.browser_kitchen
- light.browser_hallway
data:
brightness_pct: 1
+5
View File
@@ -26,6 +26,11 @@ script:
- light.bed_led
- light.bedside
- service: cover.set_cover_position
entity_id: cover.living_room
data:
position: 80
- condition: state
entity_id: input_boolean.guest_mode
state: "off"