Fix bluetooth write without response (#326)

This commit is contained in:
J. Nick Koston 2022-11-30 12:36:58 -10:00 committed by GitHub
parent 22cb721c46
commit 4f7a1faddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,6 +665,11 @@ class APIClient:
req.response = response
req.data = data
if not response:
assert self._connection is not None
await self._connection.send_message(req)
return
await self._send_bluetooth_message_await_response(
address,
handle,