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 self._state
@asyncio.coroutine
def async_update(self):
def update(self):
"""Update the state of the device."""
# PyArlo sometimes returns None for mode. So retry 3 times before
# returning None.