Would anyone know the best way to check if an entities state has changed within a certain number of mins. I would like to be able to check at a point in a flow if a device trackers state has changed within the last 5 mins. I can see there is a history state node but im not too sure on how to use the information it might show?
current state node has this information in data.timeSinceChangedMs in milliseconds.
You can use a switch node to check for it. Simply adjust your timeframe.