I am building a door sensor using a battery-powered ESP8266.
I have successfully described the thing with two properties; OpenProperty and VoltageProperty.
Is it possible for the VoltageProperty to accept decimals/float?
I read that the WoT Capability Schemas for VoltageProperty is type - number/integer.
Is number/integer the same format?
I am trying to update the VoltageProperty with a float and getting a compile error:
no match for ‘operator=’ (operand types are ‘ThingPropertyValue’ and ‘float’)