Adding Alert mode override (for time)

This commit is contained in:
CCOSTAN
2017-02-04 02:16:34 +00:00
parent 5950e7f352
commit b956a37402

View File

@@ -21,10 +21,14 @@ voice_notify:
- condition: state - condition: state
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
state: 'on' state: 'on'
- condition: or
conditions:
- condition: time - condition: time
after: '08:00:00' after: '08:00:00'
before: '21:00:00' before: '21:00:00'
- condition: state
entity_id: input_boolean.alert_mode
state: 'on'
- condition: state - condition: state
entity_id: input_boolean.speech_notifications entity_id: input_boolean.speech_notifications
state: 'on' state: 'on'