Skip to content

Commit 1e2702b

Browse files
committed
Collect device_id from parent two levels up
1 parent 267daa6 commit 1e2702b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ def _get_appliances_with_offset_functionality(self) -> list[str]:
911911
"""Helper-function collecting all appliance that have offset_functionality."""
912912
therm_list: list[str] = []
913913
offset_appls = self._appliances.findall(
914-
'.//actuator_functionalities/offset_functionality[type="temperature_offset"]/offset/..'
914+
'.//actuator_functionalities/offset_functionality[type="temperature_offset"]/offset/../../..'
915915
)
916916
for item in offset_appls:
917917
therm_list.append(item.attrib["id"])

0 commit comments

Comments
 (0)