The code to set heat and cool set points does not currently work with plugin-defined scales other than Fahrenheit.
In `plugin.py`, see the following lines:
- Code: Select all
if newSetpoint < 40.0:
newSetpoint = 40.0 # Arbitrary -- set to whatever hardware minimum setpoint value is.
elif newSetpoint > 95.0:
newSetpoint = 95.0 # Arbitrary -- set to whatever hardware maximum setpoint value is.
which enforce a range of 40-95, which is only relevant to °F. The result was that anytime I tried to change the heat set point, I ended up with the Ecobee hardware-defined minimum of 7°C because 40°F is about 4°C.
I modified the code to work with setting set points in other scales as well. There's a
pull request up on Github that fixes it. At least for °C. I haven't tested with F because all my hardware is in celsius and I didn't want to change it.