I have a sensor that is only online 2 hours per day. The sensor reports temperature and humidity. I have a switch that is going on/off for the state online/offline.
When the sensor is offline the temperatue stays at the same value. So in a graph it is a horizontal line. What i want is that the graph only shows the data from when the sensor is online.
I am thinking about setting the item to “undefined” or “uninitliased” state but i do not know how. Or does anyone have another idea?