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 561737c commit d5bdd3dCopy full SHA for d5bdd3d
plugwise_usb/__init__.py
@@ -204,9 +204,12 @@ async def set_accept_join_request(self, state: bool) -> None:
204
+ "without node discovery be activated. Call discover() first."
205
)
206
207
- if self._network.accept_join_request != state:
208
- self._network.accept_join_request = state
+ # Observation: joining is only temporarily possible after a HA (re)start or
+ # Integration reload, force the setting when used otherwise
209
+ try:
210
await self._network.allow_join_requests(state)
211
+ except (MessageError, NodeError) as exc:
212
+ raise NodeError(f"Failed setting accept joining: {exc}")
213
214
async def clear_cache(self) -> None:
215
"""Clear current cache."""
0 commit comments