I created an item with type=Switch, updated the influxdb persistence file accordingly for logging.
The status for the item is displayed in the dashboard with OFF/ON and can be changed with a simple sitemap switch.
The values are correct written in the influxdb database as 0 and 1 values (0=OFF,1=ON). Checked with influx program.
When looking at the item in openHAB dashboard, via the Analyze button the graph is empty without vertical axis. Timing axis is available.
The chart in the sitemap shows a constant line on 0.
Kind regards, Hans