We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b362875 commit 52b86e0Copy full SHA for 52b86e0
1 file changed
plugwise_usb/network/__init__.py
@@ -157,7 +157,7 @@ def registry(self) -> list[str]:
157
158
# endregion
159
160
- aync def pair_plus_device(self, mac: str) -> bool:
+ async def pair_plus_device(self, mac: str) -> None:
161
"""Register node to Plugwise network.
162
163
According to https://roheve.wordpress.com/author/roheve/page/2/
@@ -190,7 +190,7 @@ def registry(self) -> list[str]:
190
191
try:
192
request = CirclePlusConnectRequest(self._controller.send, bytes(mac, UTF8))
193
- response = await request.send())
+ response = await request.send()
194
except MessageError as exc:
195
raise NodeError(f"Pairing failed: {exc}")
196
if response is None:
0 commit comments