Merge pull request #345 from dale3h/patch-1

Update template to use `name`
This commit is contained in:
Carlo Costanzo 2018-04-12 16:03:48 -04:00 committed by GitHub
commit 76d645a188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@
action:
- service: script.speech_engine
data_template:
DoorClosed: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}."
DoorClosed: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
call_garage_check: 1