@ -8,23 +8,7 @@
event_type: brooklyn_dash
- platform: event
event_type: simplehuman_dash
action:
- service: light.toggle
entity_id: light.office_lamp
# - alias: 'Toggle Office Light off if on'
# trigger:
# - platform: event
# event_type: brooklyn_dash
# condition:
# - condition: state
# entity_id: light.office_lamp
# state: 'on'
# action:
# - service: light.turn_off
@ -7,12 +7,15 @@
event_type: good_night
- platform: state
entity_id:
- binary_sensor.sleepnumber_carlo_carlo_is_in_bed
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
entity_id: input_boolean.guest_mode
state: 'off'
@ -22,7 +25,7 @@
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
- service: script.Voice_notify
data_template:
@ -38,6 +41,3 @@
"Stuff your worries in your pillow, wrap your troubles in your blanket and spread your anxieties on your sheets. When you wake up tomorrow, you may have dirty linen, but more importantly, you’ll have a fresh mind and a happy heart. Good night."
] | random }}
- service: script.interior_off
Powered by TurnKey Linux.