diff --git a/custom_components/weishaupt_modbus/entities.py b/custom_components/weishaupt_modbus/entities.py index 6ee3c9e..f55940d 100644 --- a/custom_components/weishaupt_modbus/entities.py +++ b/custom_components/weishaupt_modbus/entities.py @@ -336,7 +336,7 @@ async def set_translate_val(self, value): await self._modbus_api.connect() mbo = ModbusObject(self._modbus_api, self._modbus_item) await mbo.setvalue(val) - await self._modbus_api.close() + self._modbus_api.close() def my_device_info(self) -> DeviceInfo: """function helper to build the device info"""