We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9e058 commit d06fc9dCopy full SHA for d06fc9d
1 file changed
plugwise_usb/__init__.py
@@ -190,7 +190,7 @@ def accept_join_request(self) -> bool | None:
190
return None
191
return self._network.accept_join_request
192
193
- async def set_accept_join_request(self, state: bool) -> None:
+ async def set_accept_join_request(self, state: bool) -> bool:
194
"""Configure join request setting."""
195
if not self._controller.is_connected:
196
raise StickError(
@@ -210,6 +210,7 @@ async def set_accept_join_request(self, state: bool) -> None:
210
await self._network.allow_join_requests(state)
211
except (MessageError, NodeError) as exc:
212
raise NodeError(f"Failed setting accept joining: {exc}") from exc
213
+ return True
214
215
async def clear_cache(self) -> None:
216
"""Clear current cache."""
0 commit comments