mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-09-27 04:22:46 +02:00
type
This commit is contained in:
parent
9d9754bd85
commit
abae92a009
@ -463,8 +463,8 @@ class APIClient:
|
||||
type(msg) # pylint: disable=unidiomatic-typecheck
|
||||
is BluetoothDeviceConnectionResponse
|
||||
):
|
||||
return msg.address == address
|
||||
return msg.address == address and msg.handle == handle
|
||||
return bool(msg.address == address)
|
||||
return bool(msg.address == address and msg.handle == handle)
|
||||
|
||||
async def _send_bluetooth_message_await_response(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user