Add RSSI to the bluetooth debug log (#77860)

This commit is contained in:
J. Nick Koston 2022-09-06 02:54:52 -05:00 committed by GitHub
parent 72f9e5f6ec
commit 0e369d5b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,12 +327,13 @@ class BluetoothManager:
matched_domains = self._integration_matcher.match_domains(service_info) matched_domains = self._integration_matcher.match_domains(service_info)
_LOGGER.debug( _LOGGER.debug(
"%s: %s %s connectable: %s match: %s", "%s: %s %s connectable: %s match: %s rssi: %s",
source, source,
address, address,
advertisement_data, advertisement_data,
connectable, connectable,
matched_domains, matched_domains,
device.rssi,
) )
for match in self._callback_index.match_callbacks(service_info): for match in self._callback_index.match_callbacks(service_info):