Use bedtime mode instead of night mode for master bedroom sleep switch

Fix
This commit is contained in:
2023-07-19 13:53:13 -04:00
parent c39502b656
commit 5abb14ec14

View File

@ -99,6 +99,10 @@ script:
- service: button.press
target:
entity_id: button.master_bedroom_day_mode
else:
- service: button.press
target:
entity_id: button.master_bedroom_night_mode
- service: switch.turn_off
target:
entity_id: switch.master_bedroom_echo_dot_do_not_disturb_switch
@ -171,7 +175,7 @@ script:
then:
- service: button.press
target:
entity_id: button.master_bedroom_night_mode
entity_id: button.master_bedroom_bedtime_mode
- wait_template: "{{ is_state('light.master_bedroom_lights','off') }}"
timeout:
minutes: 60