Multiple trigger and Send Telegram message but

good morning,
I have window sensors and I have created an automation to warn me via a telegram message when a window is opened.
So I have lots of triggers and only one action, but I don’t know how to know which one triggered the message.
I didn’t want to make as many automations as I have windows…
so how do you send the name of the window that triggered the alert in the message?

Templating with the Trigger variable.

If you need help with implementation, please post the YAML configuration of your automation.

1 Like