Fix return

This commit is contained in:
Jesse Hills 2022-09-27 13:19:35 +13:00
parent 383f87d539
commit 6ae112f8f5
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -484,7 +484,7 @@ class APIClient:
and read_response.characteristic_uuid == characteristic
):
return bytearray(read_response.data)
return None
return bytearray()
async def bluetooth_gatt_write(
self, address: int, service: str, characteristic: str, data: bytes