So according to the documentation I can find, the states of Switches and Contacts are supposed to be converted from ON/OFF and OPEN/CLOSED to 1/0. Something isn’t working right with this. I initially noticed problems when I tried to use changedSince and ‘true’ was always returned for a Contact Item. I got curious and included a Switch Item in my influxdb.persist file and sure enough it has the same problem. Here is some debugging logs
2017-08-11 11:55:01.297 [INFO ] [ipt.Testing changedsince/influxdb...] - Garage Door Contact changed since 5 minutes ago: true
2017-08-11 11:55:01.646 [INFO ] [ipt.Testing changedSince/influxdb...] - Garage Door last state is: org.openhab.core.persistence.internal.QueryablePersistenceServiceDelegate$1@16ed454
2017-08-11 11:55:01.816 [INFO ] [ipt.Testing changedsince/influxdb...] - Partition 1 Arm Mode changed since 5 minutes ago: false
2017-08-11 11:55:02.067 [INFO ] [ipt.Testing changedsince/influxdb...] - Chair Lamp changed since 5 minutes ago: false
2017-08-11 11:55:02.321 [INFO ] [ipt.Testing changedsince/influxdb...] - Motion Disable Switch changed since 5 minutes ago: true
2017-08-11 11:55:02.353 [INFO ] [ipt.Testing changedSince/influxdb...] - Motion Disable Switch last state is: org.openhab.core.persistence.internal.QueryablePersistenceServiceDelegate$1@1a92609
Using OH2 2.1 Stable and InfluxDB v1.0 on Openhabian