From 8986a5f99ff74412c2f5560491e483a7e8489b04 Mon Sep 17 00:00:00 2001 From: samson0v Date: Fri, 22 Mar 2024 11:58:21 +0200 Subject: [PATCH] Fixed OPC-UA connector type resolving --- thingsboard_gateway/gateway/tb_gateway_service.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/thingsboard_gateway/gateway/tb_gateway_service.py b/thingsboard_gateway/gateway/tb_gateway_service.py index da3440385..a03374139 100644 --- a/thingsboard_gateway/gateway/tb_gateway_service.py +++ b/thingsboard_gateway/gateway/tb_gateway_service.py @@ -762,6 +762,11 @@ def _load_connectors(self, config=None): try: connector_persistent_key = None connector_type = connector["type"].lower() if connector.get("type") is not None else None + + # can be removed in future releases + if connector_type == 'opcua': + connector_type = 'opcua_asyncio' + if connector_type is None: log.error("Connector type is not defined!") continue