Skip to content

Commit

Permalink
Add support for array element paths in the OPC-UA connector #1661, th…
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Jan 23, 2025
1 parent 2d54ff1 commit fc9d24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thingsboard_gateway/connectors/opcua/opcua_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ async def find_node_name_space_index(self, path):
async def _get_device_info_by_pattern(self, pattern, get_first=False):
result = []

search_result = re.search(r"\${([A-Za-z.:\\\d]+)}", pattern)
search_result = re.search(r"\${([A-Za-z.:\\\d\[\]]+)}", pattern)
if search_result:
try:
group = search_result.group(0)
Expand Down

0 comments on commit fc9d24f

Please sign in to comment.