You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I cannot open pull request but I think it could be useful to have dynamic strings instead of hard coded names in "DSS VOICE Benvenuto userX" automations .
When using person as dss_dispositivi_user1 (for example) you can use the following message code:
- service: input_boolean.turn_off
entity_id: input_boolean.dss_voice_user1_appena_entrato
- service: script.dss_voice_riproduci_messaggio
data_template:
message: >-
{% set user = state_attr('group.dss_dispositivi_user1', 'entity_id')[0] %}
{% set nome = state_attr(user, 'friendly_name') %}
{{ [
"Bentornato "+ nome+"... " ,
"Ciao "+ nome +"... "
] | random }}
The text was updated successfully, but these errors were encountered:
Hi,
I cannot open pull request but I think it could be useful to have dynamic strings instead of hard coded names in "DSS VOICE Benvenuto userX" automations .
When using person as dss_dispositivi_user1 (for example) you can use the following message code:
The text was updated successfully, but these errors were encountered: