diff --git a/BAC0/core/devices/AsyncDevice.py b/BAC0/core/devices/AsyncDevice.py index 4bc6c757..4902005b 100644 --- a/BAC0/core/devices/AsyncDevice.py +++ b/BAC0/core/devices/AsyncDevice.py @@ -9,6 +9,7 @@ """ import os.path +import asyncio # --- standard Python modules --- from collections import namedtuple @@ -626,7 +627,7 @@ def __setitem__(self, point_name, value): device['point_name'] = value """ try: - self._findPoint(point_name)._set(value) + asyncio.create_task(self._findPoint(point_name)._set(value)) except WritePropertyException as ve: self._log.error("{}".format(ve))