mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Call disconnected callbacks from BT ESPHome client (#102084)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
ce7573c3ad
commit
c60cc11505
@ -392,8 +392,8 @@ class ESPHomeClient(BaseBleakClient):
|
||||
return await self._disconnect()
|
||||
|
||||
async def _disconnect(self) -> bool:
|
||||
self._async_disconnected_cleanup()
|
||||
await self._client.bluetooth_device_disconnect(self._address_as_int)
|
||||
self._async_ble_device_disconnected()
|
||||
await self._wait_for_free_connection_slot(DISCONNECT_TIMEOUT)
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user