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 dca4530 commit c4fd52bCopy full SHA for c4fd52b
plugwise/smile.py
@@ -424,7 +424,7 @@ async def set_switch_state(
424
)
425
# Don't bother switching a relay when the corresponding lock-state is true
426
if self._domain_objects.find(locator).text == "true":
427
- raise PlugwiseError("Plugwise: the locked Relay was not switched.")
+ return
428
429
await self.call_request(uri, method="put", data=data)
430
0 commit comments