mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-24 12:25:20 +01:00
Make a list
This commit is contained in:
parent
a3a9f53cac
commit
65f77279d5
@ -545,7 +545,7 @@ class APIClient:
|
||||
req.address = address
|
||||
req.handle = characteristic_handle
|
||||
req.response = response
|
||||
req.data.extend(data)
|
||||
req.data.extend(list(data))
|
||||
|
||||
assert self._connection is not None
|
||||
await self._connection.send_message(req)
|
||||
@ -593,7 +593,7 @@ class APIClient:
|
||||
req = BluetoothGATTWriteDescriptorRequest()
|
||||
req.address = address
|
||||
req.handle = handle
|
||||
req.data.extend(data)
|
||||
req.data.extend(list(data))
|
||||
|
||||
assert self._connection is not None
|
||||
await self._connection.send_message(req)
|
||||
|
Loading…
Reference in New Issue
Block a user