added an Alert mode to keep the monthly scene from kicking in and keeping the house lights white.

This commit is contained in:
CCOSTAN
2017-02-03 01:59:29 +00:00
parent d3119251db
commit 0b3f018992
5 changed files with 22 additions and 9 deletions

View File

@@ -15,8 +15,15 @@ front_house_motion:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- service: input_boolean.turn_on
data:
entity_id: input_boolean.alert_mode
- service: scene.turn_on
entity_id: scene.front_full_brightness
- service: input_boolean.turn_off
data:
entity_id: input_boolean.alert_mode
- delay: '00:{{ (range(5, 20)|random|int) }}:00'
- service: light.turn_off
entity_id: group.outdoor_front_lights

View File

@@ -11,6 +11,9 @@ monthly_front_house_scene:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: input_boolean.alert_mode
state: 'off'
- service: logbook.log
data_template: