Adjust additional esphome bluetooth debug messages for unique id change (#83955)
parent
961c8cc167
commit
5a970e0a2b
|
@ -33,7 +33,8 @@ def _async_can_connect_factory(
|
|||
"""Check if a given source can make another connection."""
|
||||
can_connect = bool(entry_data.available and entry_data.ble_connections_free)
|
||||
_LOGGER.debug(
|
||||
"%s: Checking can connect, available=%s, ble_connections_free=%s result=%s",
|
||||
"%s [%s]: Checking can connect, available=%s, ble_connections_free=%s result=%s",
|
||||
entry_data.name,
|
||||
source,
|
||||
entry_data.available,
|
||||
entry_data.ble_connections_free,
|
||||
|
@ -58,7 +59,8 @@ async def async_connect_scanner(
|
|||
version = entry_data.device_info.bluetooth_proxy_version
|
||||
connectable = version >= 2
|
||||
_LOGGER.debug(
|
||||
"%s: Connecting scanner version=%s, connectable=%s",
|
||||
"%s [%s]: Connecting scanner version=%s, connectable=%s",
|
||||
entry.title,
|
||||
source,
|
||||
version,
|
||||
connectable,
|
||||
|
|
|
@ -102,8 +102,9 @@ class RuntimeEntryData:
|
|||
def async_update_ble_connection_limits(self, free: int, limit: int) -> None:
|
||||
"""Update the BLE connection limits."""
|
||||
_LOGGER.debug(
|
||||
"%s: BLE connection limits: used=%s free=%s limit=%s",
|
||||
"%s [%s]: BLE connection limits: used=%s free=%s limit=%s",
|
||||
self.name,
|
||||
self.device_info.mac_address if self.device_info else "unknown",
|
||||
limit - free,
|
||||
free,
|
||||
limit,
|
||||
|
|
Loading…
Reference in New Issue