Sleep tweaks for E's bedroom

This commit is contained in:
2024-02-18 11:31:05 -05:00
parent afc5560834
commit 17c1f71794

View File

@ -181,7 +181,7 @@ automation:
entity_id: input_boolean.emma_has_napped entity_id: input_boolean.emma_has_napped
state: 'off' state: 'off'
- condition: time - condition: time
after: "15:30:00" after: "17:00:00"
before: "01:00:00" before: "01:00:00"
then: then:
- service: input_datetime.set_datetime - service: input_datetime.set_datetime
@ -1135,7 +1135,9 @@ script:
{{ current_time('time',24) }} {{ current_time('time',24) }}
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.adaptive_lighting_emma_bedroom entity_id:
- switch.adaptive_lighting_emma_bedroom
- switch.emma_bedroom_motion_lighting
- delay: - delay:
seconds: 1 seconds: 1
- service: light.turn_on - service: light.turn_on
@ -1201,6 +1203,9 @@ script:
data: data:
manual_control: false manual_control: false
entity_id: switch.adaptive_lighting_emma_bedroom entity_id: switch.adaptive_lighting_emma_bedroom
- service: switch.turn_on
target:
entity_id: switch.emma_bedroom_motion_lighting
# Climate/White Noise # Climate/White Noise
- service: input_boolean.turn_off - service: input_boolean.turn_off
target: target: