Hello all,
I am trying to get a low-battery warning for my various Insteon Leak sensors, which talk to HA through MQTT. In addition to wet/dry, they each connect daily for a ‘heartbeat’. This shows up in HA as a timestamp entity. I pulled one battery out and sure enough, the timestamp of that sensor’s heartbeat still shows the last day it was successful. So, I need an automation that notifies me when any of those heartbeat sensors’ entities states gets to be more than 2 days ago. But it’s not formatted nicely, so I am stuck.
Right now, the State of the Entity i’m playing with says this “2022-04-22T22:48:32+00:00”.
Can anyone help me make an automation that constantly monitors those entities and fires whenever that timestamp strays further than 2 days from current time?
1 post - 1 participant