App for empty battery or malfunctioning devices

I would also suggest to just try using tags. It’s easy and it means you don’t have to make a flow for every device:

Battery level low:

Temperature devices not reporting

You can also remove the condition and receive a notification for every device that’s not working, I only needed the temperature sensors.