mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-09 00:55:34 +00:00
Update announcements.yaml
This commit is contained in:
parent
14b278c9d3
commit
71a6ecc280
@ -21,7 +21,7 @@
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
personarriving: >
|
||||
{% set person = trigger.entity_id.split('.')[1]|replace('_', ' ')%}
|
||||
{% set person = state_attr(trigger.entity_id, "friendly_name")%}
|
||||
{%- macro greeting_sentence(person) -%}
|
||||
{{ [
|
||||
"Welcome back home " ~ person,
|
||||
|
Loading…
x
Reference in New Issue
Block a user