This one has stumped me. I have a sensor (in my car) that is reporting an incrementing number every second via an ESPHome device. When I drive off, the sensor eventually becomes “unavailable”, however before that happens the sensor shows the same number for a few seconds.
I’d like to trigger an automation when the sensor reports the same number for 5 seconds or it times out to “unavailable”.