Skip to content

Commit 52b86e0

Browse files
committed
Fix typos, return type
1 parent b362875 commit 52b86e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugwise_usb/network/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def registry(self) -> list[str]:
157157

158158
# endregion
159159

160-
aync def pair_plus_device(self, mac: str) -> bool:
160+
async def pair_plus_device(self, mac: str) -> None:
161161
"""Register node to Plugwise network.
162162
163163
According to https://roheve.wordpress.com/author/roheve/page/2/
@@ -190,7 +190,7 @@ def registry(self) -> list[str]:
190190

191191
try:
192192
request = CirclePlusConnectRequest(self._controller.send, bytes(mac, UTF8))
193-
response = await request.send())
193+
response = await request.send()
194194
except MessageError as exc:
195195
raise NodeError(f"Pairing failed: {exc}")
196196
if response is None:

0 commit comments

Comments
 (0)