mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-09 00:55:34 +00:00
Update template to use name
This commit is contained in:
parent
a069bc204b
commit
1b746bf16c
@ -15,5 +15,5 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data_template:
|
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
|
call_garage_check: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user