This command creates a thermostat with a resolution of 0.5.
Code: Select all
Domoticz.Device(Unit=self.get_first_available_unit(), DeviceID=device_id, Name=name + ' - Temperature', Type=242, Subtype=1).Create()

For me, this is a lot, the managed device only knows an integer value. And the value xy.5 appears on the interface, and it's confusing.
Is there a decimal resolution thermostat in the system? Maybe another subtype?