Find which trigger fired

I need to read(act on) what trigger actually fired a rule. It would make it possible when using multiple triggers to have a static automation using modes with random delays, while the same automation, when triggered by motion could be instant.

You could use the value of %device% in a conditional action.


So the %device% in this statement is in fact the device that triggered the action?

Yes. I had to try it myself to prove it, but I was very pleased when I found that to be the case :slight_smile:

1 Like

Great! Thans a bunch! It'll help me much! :+1: