diff --git a/homeassistant/components/thermostat/honeywell.py b/homeassistant/components/thermostat/honeywell.py index 8411ba08fa3..f8c66cb5c5d 100644 --- a/homeassistant/components/thermostat/honeywell.py +++ b/homeassistant/components/thermostat/honeywell.py @@ -14,7 +14,7 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, TEMP_CELCIUS, TEMP_FAHRENHEIT) REQUIREMENTS = ['evohomeclient==0.2.4', - 'somecomfort==0.2.0'] + 'somecomfort==0.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 38467904f20..16151a6f0ad 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -235,7 +235,7 @@ sleekxmpp==1.3.1 snapcast==1.1.1 # homeassistant.components.thermostat.honeywell -somecomfort==0.2.0 +somecomfort==0.2.1 # homeassistant.components.sensor.speedtest speedtest-cli==0.3.4 diff --git a/tests/components/thermostat/test_honeywell.py b/tests/components/thermostat/test_honeywell.py index f27a318b8da..8e4605c739f 100644 --- a/tests/components/thermostat/test_honeywell.py +++ b/tests/components/thermostat/test_honeywell.py @@ -307,3 +307,13 @@ class TestHoneywellUS(unittest.TestCase): expected['fan'] = 'idle' self.device.fan_running = False self.assertEqual(expected, self.honeywell.device_state_attributes) + + def test_with_no_fan(self): + self.device.fan_running = False + self.device.fan_mode = None + expected = { + 'fan': 'idle', + 'fanmode': None, + 'system_mode': 'heat', + } + self.assertEqual(expected, self.honeywell.device_state_attributes)