I am using mysql persistence, and the values are updated in the database correctly. However, when looking at the chart, it seems it always shows the current value, rather than the history.
It’s not like the chart is showing the current value always, it’s just that it is showing the last known value for the last 6 hours. I didn’t notice it, because I just started collecting persistent data of that temperature, so I only had a few samples to display. And the 6 hours of constant value made it look like it was “stuck”.
And the reason for this was that I had the timezone configured as “UTC” in my mysql service definition (/etc/openhab2/services/mysql.cfg).