Node that recognize a new state of a sensor

Hi guys!

I am a firefighter and I added a custom intergration which shows the latest incident in my HA.
This sensor gets updated from a third party site the moment the incident happens.

I want to use this to light up my room when an incident takes place in the middle of the night.
Is there a node that recognize a switch in the state of the sensor without having to give a specific state, and how would I have to set that up?

The current situation is;
name of sensor = sensor.incidents
name of state is the name + location of the incident

I think you want trigger state node

And then just leave the condition empty?

yep. you can try your self using inject and debug nodes

Just a trigger state note does not seem to work unfortunately

switch node

image

1 Like

Works like a charm! exactly what I was looking for.

Thank you!