From f5fb65059aab75a34a7150ce6cd56a50c8050dfb Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 4 Feb 2017 16:25:58 +0000 Subject: [PATCH] Fixed some minor issues. User Error. --- automation/announcements.yaml | 3 +-- automation/startup_notification.yaml | 4 ---- script/voice_notify.yaml | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/automation/announcements.yaml b/automation/announcements.yaml index 0a01b882..efe3dcf7 100755 --- a/automation/announcements.yaml +++ b/automation/announcements.yaml @@ -38,5 +38,4 @@ action: - service: script.Voice_notify data_template: - message: "Attention. {{ trigger.entity_id.split('.')[1].lower().title() }} is now {{ trigger.to_state.state }}" - cache: true \ No newline at end of file + value1: "Attention. {{ trigger.entity_id.split('.')[1].lower().title() }} is now {{ trigger.to_state.state }}" \ No newline at end of file diff --git a/automation/startup_notification.yaml b/automation/startup_notification.yaml index 2a7c2bf0..a03cf06e 100755 --- a/automation/startup_notification.yaml +++ b/automation/startup_notification.yaml @@ -13,10 +13,6 @@ value1: 'Startup: Home Assistant is Up and Running!' value2: '' value3: '' - - - service: script.Voice_notify - data: - value1: 'Home Assistant is now online and running.' - service: light.turn_off entity_id: group.hallway_lights diff --git a/script/voice_notify.yaml b/script/voice_notify.yaml index eb4dabf6..4418fe78 100755 --- a/script/voice_notify.yaml +++ b/script/voice_notify.yaml @@ -24,7 +24,7 @@ voice_notify: - condition: or conditions: - condition: time - after: '08:00:00' + after: '09:00:00' before: '21:00:00' - condition: state entity_id: input_boolean.alert_mode