We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c885f95 commit cc8aa5eCopy full SHA for cc8aa5e
1 file changed
plugwise/smile.py
@@ -460,6 +460,7 @@ async def set_switch_state(
460
461
locator = f'appliance[@id="{appl_id}"]/{switch.actuator}/{switch.func_type}'
462
found = self._domain_objects.findall(locator)
463
+ switch_id: str | None = None
464
for item in found:
465
# multiple types of e.g. toggle_functionality present
466
if (sw_type := item.find("type")) is not None:
0 commit comments