Correct ci failed tests

This commit is contained in:
Todd Ingarfield 2015-10-09 11:34:14 -05:00
parent fc1cf49fd3
commit 0cf909cce9

View file

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