From 792e58d8b1c289a801f88dcda0fb9ec2c3ce6363 Mon Sep 17 00:00:00 2001 From: Matthias Alphart Date: Thu, 12 Sep 2024 13:59:24 +0200 Subject: [PATCH] Parse nested channels (#460) --- xknxproject/loader/project_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xknxproject/loader/project_loader.py b/xknxproject/loader/project_loader.py index 4caebd4..5935543 100644 --- a/xknxproject/loader/project_loader.py +++ b/xknxproject/loader/project_loader.py @@ -264,7 +264,7 @@ def _create_device( name=channel_node_elem.get("Text", ""), ) for channel_node_elem in device_element.findall( - "{*}GroupObjectTree/{*}Nodes/{*}Node[@Type='Channel']" + "{*}GroupObjectTree//{*}Nodes/{*}Node[@Type='Channel']" ) ] return DeviceInstance(