Fix I/O in event loop by Arlo alarm control panel (#9738)

This commit is contained in:
Paulus Schoutsen
2017-10-08 00:26:16 -07:00
committed by Fabian Affolter
parent c1f156fd2b
commit 9eff9fa703

View File

@@ -68,8 +68,7 @@ class ArloBaseStation(AlarmControlPanel):
"""Return the state of the device.""" """Return the state of the device."""
return self._state return self._state
@asyncio.coroutine def update(self):
def async_update(self):
"""Update the state of the device.""" """Update the state of the device."""
# PyArlo sometimes returns None for mode. So retry 3 times before # PyArlo sometimes returns None for mode. So retry 3 times before
# returning None. # returning None.