mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-28 13:05:12 +01:00
Fix return
This commit is contained in:
parent
383f87d539
commit
6ae112f8f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user