I have a bunch of Shelly Plug-S devices, measuring consumption of various devices.
One of them is drifting on and off the WiFi network. (It’s in the furthest corner, the signal strength is just too weak.) However, even this weak signal is perfectly sufficient to get a valid reading from time to time (ie. several times within an hour.)
However, when I look at the sensor at any of the dashboards, all I ever see is “unavailable”. (Because the last reading is from 10 minutes ago, and then it went offline again.)
But this is consumption data; I’m not interested in real-time updates; I just need to see the last data. So what I would like to do is to ignore the “unavailable” status, and just display the last valid data.
Can I configure this on the sensor entity somehow? Or on the sensor card somehow?
Or should I maybe create another sensor that “copies” the actual sensor value (whenever there is valid data), and use that on the dashboard instead? How do I set up such a made-up sensor?
Thank you for your help.