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:
Cameron Bulock 2017-11-28 04:39:30 -05:00 committed by Pascal Vizeli
parent cadd797200
commit 1f82bb033d
3 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -16,7 +16,7 @@ from homeassistant.const import CONF_API_KEY
from homeassistant.util import Throttle
from homeassistant.util.json import save_json
REQUIREMENTS = ['python-ecobee-api==0.0.10']
REQUIREMENTS = ['python-ecobee-api==0.0.11']
_CONFIGURING = {}
_LOGGER = logging.getLogger(__name__)

View File

@ -809,7 +809,7 @@ python-clementine-remote==1.0.1
python-digitalocean==1.12
# homeassistant.components.ecobee
python-ecobee-api==0.0.10
python-ecobee-api==0.0.11
# homeassistant.components.climate.eq3btsmart
# python-eq3bt==0.1.6