I've defined those two state ids in devices.xml, and I'm able to toggle them from true/false as expected with dev.updateStateOnServer("hvacHeaterIsOn", True)
But the heatIsOn never updates to match... I even set both of them to true just in case my tired eyes were messing up 'heater' or something...
- Code: Select all
>>> print indigo.devices["Main Thermostat"]
[...]
coolIsOn : False
[...]
heatIsOn : False
[...]
states : States : (dict)
[...]
hvacCoolerIsOn : true (bool)
[...]
hvacHeaterIsOn : true (bool)
[...]
That's always what I get though... The states can be toggled, but the main properties are always false.
I see that the hvacMode property is reflecting what is in the hvacOperationMode state... so something is working, but I'm not sure what the difference is / what trick I'm missing...