openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[influxDb] "Don't Include Item State" graph switch not respect when using InfluxDB persistance service, #17775

Open lo92fr opened 1 day ago

lo92fr commented 1 day ago

Expected Behavior

When you create a graph which render a time series, you have a choice on the timeseries options to include or not the current item state. This switch is correctly handle when unsing "InMemory" persistence. But it seems that is doesn't work correctly with "InfluxDB persistence" has the last value in the graph is duplicate twice.

What should happen :

image

Current Behavior

What we have with influxDB: image

Toggle the "Don't Include Item State" with influxdb timeseries don't seems to have any effect.

The data inside influxDB seems ok.

image

Perhaps related to issue #17028 about "Querying persistence services with date filter "

Laurent.