Ecobee set humidity level (#10780)
* Add the ability to set humidity levels on ecobee thermostats * use the latest version of python-ecobee-api * Lint fixes
This commit is contained in:
1 parent
cadd797200
commit
1f82bb033d
3 files changed
+6
-2
No files matched your search
@@ -357,6 +357,10 @@ class Thermostat(ClimateDevice):
|
||||
_LOGGER.error(
|
||||
"Missing valid arguments for set_temperature in %s", kwargs)
|
||||
|
||||
def set_humidity(self, humidity):
|
||||
"""Set the humidity level."""
|
||||
self.data.ecobee.set_humidity(self.thermostat_index, humidity)
|
||||
|
||||
def set_operation_mode(self, operation_mode):
|
||||
"""Set HVAC mode (auto, auxHeatOnly, cool, heat, off)."""
|
||||
self.data.ecobee.set_hvac_mode(self.thermostat_index, operation_mode)
|
||||
|
||||
Reference in new issue
Block a user