From 0cf909cce9ba47f34297e87ae800f49b7ea4e18a Mon Sep 17 00:00:00 2001 From: Todd Ingarfield Date: Fri, 9 Oct 2015 11:34:14 -0500 Subject: [PATCH] Correct ci failed tests --- homeassistant/components/thermostat/radiotherm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/thermostat/radiotherm.py b/homeassistant/components/thermostat/radiotherm.py index 8936ab15292..dcdb70840d4 100644 --- a/homeassistant/components/thermostat/radiotherm.py +++ b/homeassistant/components/thermostat/radiotherm.py @@ -33,8 +33,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None): try: tstat = radiotherm.get_thermostat(host) - except URLError as err: - logger.Exception( + except URLError: + logger.exception( "Unable to connect to Radio Thermostat") return @@ -103,7 +103,7 @@ class RadioThermostat(ThermostatDevice): if self.operation == STATE_COOL: self.device.t_cool = temperature elif self.operation == STATE_HEAT: - self.device.t_heat + self.device.t_heat = temperature def set_name(self, name): """ Set thermostat name """