We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada46e6 commit 00761fbCopy full SHA for 00761fb
plugwise/smile.py
@@ -399,7 +399,7 @@ async def set_switch_state(
399
return await self._set_groupswitch_member_state(members, state, switch)
400
401
locator = f'appliance[@id="{appl_id}"]/{switch.actuator}/{switch.func_type}'
402
- found: list[etree] = self._domain_objects.findall(locator)
+ found = self._domain_objects.findall(locator)
403
for item in found:
404
# multiple types of e.g. toggle_functionality present
405
if (sw_type := item.find("type")) is not None:
0 commit comments