forked from M-Labs/thermostat
_
This commit is contained in:
parent
f887413d82
commit
3fb450d2ca
@ -36,7 +36,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
|
|||||||
while True:
|
while True:
|
||||||
if self._update_params_task.done():
|
if self._update_params_task.done():
|
||||||
try:
|
try:
|
||||||
_ = self._update_params_task.result()
|
self._update_params_task.result()
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
logging.error(
|
logging.error(
|
||||||
"Encountered an error while polling for information from Thermostat.",
|
"Encountered an error while polling for information from Thermostat.",
|
||||||
|
Loading…
Reference in New Issue
Block a user