From 7774a03a55e21b5c8743015dcd0dbb40af816482 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 6 Nov 2016 07:53:54 -0800 Subject: [PATCH] Move Honeywell I/O out of event loop (#4244) --- homeassistant/components/climate/honeywell.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/climate/honeywell.py b/homeassistant/components/climate/honeywell.py index 540a9a941d1..0d31cdd1387 100644 --- a/homeassistant/components/climate/honeywell.py +++ b/homeassistant/components/climate/honeywell.py @@ -223,7 +223,6 @@ class HoneywellUSThermostat(ClimateDevice): @property def current_temperature(self): """Return the current temperature.""" - self._device.refresh() return self._device.current_temperature @property @@ -274,3 +273,7 @@ class HoneywellUSThermostat(ClimateDevice): """Set the system mode (Cool, Heat, etc).""" if hasattr(self._device, ATTR_SYSTEM_MODE): self._device.system_mode = operation_mode + + def update(self): + """Update the state.""" + self._device.refresh()