mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
action:
|
||||
# This Group is defined in the groups directory.
|
||||
- service: group.set
|
||||
data_template:
|
||||
data:
|
||||
object_id: "arriving"
|
||||
add_entities: >-
|
||||
{{ trigger.to_state.entity_id }}
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
- delay: '00:01:00'
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
# {% set person = state_attr(trigger.entity_id, "friendly_name")%} This is another way to do it.
|
||||
# {% set person = trigger.entity_id.split('.')[1]|replace('_', ' ')%}
|
||||
personarriving: >
|
||||
@@ -81,7 +81,7 @@
|
||||
call_window_check: 1
|
||||
|
||||
- service: group.set
|
||||
data_template:
|
||||
data:
|
||||
object_id: "arriving"
|
||||
entities: []
|
||||
|
||||
|
Reference in New Issue
Block a user