If we have guests, let there be light!

This commit is contained in:
CCOSTAN
2016-10-18 01:09:31 +00:00
parent 6293c7a50b
commit 7c66f96cc6
6 changed files with 35 additions and 30 deletions

View File

@@ -12,11 +12,13 @@
state: home
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: time
before: '23:45'
condition: and
conditions:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: time
before: '23:45'
action:
service: light.turn_on