Fixed some minor issues. User Error.

This commit is contained in:
CCOSTAN
2017-02-04 16:25:58 +00:00
parent a2315cd043
commit f5fb65059a
3 changed files with 2 additions and 7 deletions

View File

@@ -38,5 +38,4 @@
action: action:
- service: script.Voice_notify - service: script.Voice_notify
data_template: data_template:
message: "Attention. {{ trigger.entity_id.split('.')[1].lower().title() }} is now {{ trigger.to_state.state }}" value1: "Attention. {{ trigger.entity_id.split('.')[1].lower().title() }} is now {{ trigger.to_state.state }}"
cache: true

View File

@@ -14,10 +14,6 @@
value2: '' value2: ''
value3: '' value3: ''
- service: script.Voice_notify
data:
value1: 'Home Assistant is now online and running.'
- service: light.turn_off - service: light.turn_off
entity_id: group.hallway_lights entity_id: group.hallway_lights

View File

@@ -24,7 +24,7 @@ voice_notify:
- condition: or - condition: or
conditions: conditions:
- condition: time - condition: time
after: '08:00:00' after: '09:00:00'
before: '21:00:00' before: '21:00:00'
- condition: state - condition: state
entity_id: input_boolean.alert_mode entity_id: input_boolean.alert_mode