This commit is contained in:
atse 2024-08-22 17:57:39 +08:00
parent f887413d82
commit 3fb450d2ca

View File

@ -36,7 +36,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
while True:
if self._update_params_task.done():
try:
_ = self._update_params_task.result()
self._update_params_task.result()
except asyncio.TimeoutError:
logging.error(
"Encountered an error while polling for information from Thermostat.",