Handle Bluetooth connection drops in more places
This commit is contained in:
parent
9b300609aa
commit
3b82f3c279
|
@ -702,8 +702,8 @@ class APIClient:
|
|||
timeout,
|
||||
)
|
||||
if (
|
||||
type(response)
|
||||
is BluetoothDeviceConnectionResponse # pylint: disable=unidiomatic-typecheck
|
||||
type(response) # pylint: disable=unidiomatic-typecheck
|
||||
is BluetoothDeviceConnectionResponse
|
||||
):
|
||||
self._raise_for_ble_connection_change(address, response, msg_types)
|
||||
return response
|
||||
|
|
Loading…
Reference in New Issue