So your trend sensor is on when the average sensor gradient is at or above 0 %RH per second over a sample of 2 state changes. So it should be on whenever your average is increasing in value. Which it mostly appears to be doing.
Your average sensor might have more significant digits in its state than the 2 displayed in your graph, which is causing the changes when the average appears to be flat on the graph.
You can check the full precision of your sensor by pasting this into the Settings → Developer Tools → Template editor
Yeah I agree that’s what it generally does I just don’t know why it oscillates off and on when the sampled sensor flat lines.
I checked the actual sensor value in dev tools and the template editor and it has only 2 digits of precision as displayed in the graph.
unless the graph precision is hiding the actual fluctuations of the sensor even tho it’s only 2 digits of precision? It’s hard to know if that’s the case if the only way to see the history of the sensor is the very graph that’s hiding the actual changes.
I guess I’ll need to play around more with the sampling rates/etc and see if I can get it closer to reality.
it ordinarily wouldn’t be a big deal but I use the trend sensor to let me know when the humidifier is empty so I don’t run it dry for too long. The little fluctuations are messing with my automation since during normal operation the humidity changes consistently over time so I use a 15 minute window that if the humidity is decreasing and the humidifier is on then it’s likely empty. The 15 minute delay is necessary because it takes around 10+/- minutes for the humidity to start increasing again once the humidifier switches on.