Needed some sunlight conditions for the good night routine.

This commit is contained in:
CCOSTAN
2017-02-19 21:04:05 +00:00
parent 676c554698
commit cd71193b87
2 changed files with 6 additions and 22 deletions

View File

@@ -12,19 +12,3 @@
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
# entity_id: light.office_lamp

View File

@@ -13,6 +13,9 @@
state: 'on'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
@@ -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, youll have a fresh mind and a happy heart. Good night."
] | random }}
- service: script.interior_off