Hi…
I’ve a scenario where I want to trigger an automation if a input_text wasn’t equal to a value in a given time range.
Example:
input_text_icao24 store a 6 digit number for each plane who passes my house.
Some times it’s a helicopter, and it usually circulates over a given radius.
If a aircraft passes closer than the helicopter it updated the input_text with the aircraft icao24 number.
But then after a while the aircraft is outside the given radius and the helicopter is the nearest aircraft again. This triggers my automation to send me a push. This is not optimal.
I want to check if the input_text history contains a number equal to icao24 in a given time range, let’s say 30 min.
How would you do a check for this in a automation?
History of input_text_aircraft_iaco24: