nkgilley / python-ecobee-api

Python API for controlling Ecobee Thermostats
MIT License
44 stars 40 forks source link

add a method to set aux heat cutover setting #73

Closed djk121 closed 2 years ago

djk121 commented 2 years ago

Add the ability to change the outdoor temperature threshold which determines whether the ecobee calls for heat from the main heating source or the aux heating source. Tested with local changes:

>>> e.get_thermostats()
True
>>> e.thermostats[0]['settings']['compressorProtectionMinTemp']
400
>>> e.set_aux_cutover_threshold(0, 45)
>>> e.get_thermostats()
True
>>> e.thermostats[0]['settings']['compressorProtectionMinTemp']
450