From 4b85d0cad0998035cec9442f7c188af9ca3cd906 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Mon, 13 Feb 2017 20:44:46 +0000 Subject: [PATCH] Adding in some proper grammar. --- automation/Speech/announcements.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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