Trigger exposure and its value

Hi,

I have scenes triggered by a lot of device-type triggers and I needed to know which is the trigger for conditions.

So, I asked Claude for a simple system to determine it.

Ex:

My triggers:

My test:

And while I’m at it, I asked to retrieve the value directly without having to retrieve it manually since it’s the one that causes a change. It seems logical to me that it should be automatically retrieved.

PS: Ignore the « Device Name ».

I think it would be a good idea to add something in that spirit in the core because from what I understand, external integrations can’t do it.

If people want to test, it’s added with my other mods (like the graphset) on Package gladys · GitHub

Have a nice day