Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107511

How to find out, who triggered a script?

$
0
0

Hi there,
so I came at the point, where I would like to make an announcement in my house. So the idea is, that you press a button on the dashboard, type in the announcement and then all speakers in the house speak this announcement. This is actually working pretty easily via scripts and fields.

Now, I also would like to play the announcement using the TTS message on the phones of my family members. But the person, who triggered the announcement, does not need to hear this again. So I need to find out in my script, who actually triggered the announcement / the script. I looked into Trigger Variables already, but the trigger is not defined in a script.

Any ideas, how I can solve this?

Thank you so much,

Tobias

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107511

Trending Articles