nkgilley / python-ecobee-api

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

Hold hours fix #63

Closed bjpetit closed 3 years ago

bjpetit commented 3 years ago

If holdType is holdHours, setting the fan mode will fail as the Ecobee API requires the holdHours arg to be passed in too. This was causing an error to be returned when setting the fan mode. Modeled change after set_hold_temp. Also cleaned up an equality check which was throwing warnings.