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