I was wondering if anyone had a good way check or create a sensor that checks if one of my sensors is online.
For some reason when my solar sensor (current power) is offline the whole sensor goes away rather than having a nil reading. I have searched a bit on the forums however cannot find one that is for this scenario. Most are checking if nil readings, rather than the actual sensor itself being missing.
Thanks for the reply @anon43302295 I am sure your solution would have worked but was a little too much for me to follow.
@hmoffatt I ended up doing it a different way, I guess it might to be the prettiest way… I just created a new sensor that senses the other sensor. So the sensor that keeps going missing for me is sensor.power_ac_fronius_inverter_1_http_192_168_1_85