I set up a change sensor to use with my rain gauge years ago. The rain gauge is cumulative until it randomly resets so the change sensor was the best thing I could come up with.
Recently I broke it by trying to figure out a way to filter out the resets to 0 which caused big negative swings in the change sensor. I couldn’t figure it out myself, I used a LLM to help, still couldn’t get it to work so I reverted to my original config, but the change sensor never started working again.
I have that for hourly, daily, weekly, monthly etc, but I am also feeding into Influx/Grafana dashboard with a bunch of other stuff which just sums the results of the change sensor.
I thought the force_update: true in the sensor would grab the value reported from mqtt every time and the change sensor would just report a 0 if there was no change.
I swear that is the behavior of the past.
Looking at grafana, the change used to report zero or at least something grafana could sum. Then once the change sensor went unavailable, the data source was no longer valid.