From 1f82bb033df7a7c6b7611e1a0bdb464a544f5355 Mon Sep 17 00:00:00 2001 From: Cameron Bulock Date: Tue, 28 Nov 2017 04:39:30 -0500 Subject: [PATCH] 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 --- homeassistant/components/climate/ecobee.py | 4 ++++ homeassistant/components/ecobee.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/climate/ecobee.py b/homeassistant/components/climate/ecobee.py index d6d92432730..100312f643e 100644 --- a/homeassistant/components/climate/ecobee.py +++ b/homeassistant/components/climate/ecobee.py @@ -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) diff --git a/homeassistant/components/ecobee.py b/homeassistant/components/ecobee.py index 31cf31dac1e..d69770e3a5e 100644 --- a/homeassistant/components/ecobee.py +++ b/homeassistant/components/ecobee.py @@ -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__) diff --git a/requirements_all.txt b/requirements_all.txt index 76f84ea9ebe..3c22494199f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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