More AI updates #1368

This commit is contained in:
CCOSTAN
2024-06-03 19:15:01 +00:00
parent 12104c2e83
commit 83e455add2
6 changed files with 14 additions and 8 deletions

View File

@@ -36,8 +36,6 @@
- delay: '00:01:00'
- service: script.speech_engine
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: >
{% set person = expand('group.arriving')|map(attribute='name')|join(' and ') %}
{% set peoplecount = expand('group.arriving') | count %}