diff --git a/automation/Speech/announcements.yaml b/automation/Speech/announcements.yaml index a64f5a3f..c8c29ecc 100755 --- a/automation/Speech/announcements.yaml +++ b/automation/Speech/announcements.yaml @@ -27,4 +27,4 @@ action: - service: script.Voice_notify data_template: - value1: "{{ trigger.entity_id.split('.')[1]|replace('_', ' ')|replace('garadget large', 'The large garage ')|replace('garadget small', 'The small garage ') }} is {{ (trigger.to_state.state)|replace('_', ' ') }}." \ No newline at end of file + value1: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ')|replace('garadget large', ' large garage ')|replace('garadget small', ' small garage ') }} is {{ (trigger.to_state.state)|replace('_', ' ') }}." \ No newline at end of file