mirror of
https://github.com/home-assistant/core.git
synced 2025-08-08 07:05:07 +02:00
split
This commit is contained in:
@@ -62,9 +62,10 @@ class HomeAssistantBluetoothManager(BluetoothManager):
|
||||
self._callback_index = BluetoothCallbackMatcherIndex()
|
||||
self._cancel_logging_listener: CALLBACK_TYPE | None = None
|
||||
super().__init__(bluetooth_adapters, slot_manager)
|
||||
self._async_logging_changed()
|
||||
|
||||
@hass_callback
|
||||
def _async_logging_changed(self, event: Event) -> None:
|
||||
def _async_logging_changed(self, event: Event | None = None) -> None:
|
||||
"""Handle logging change."""
|
||||
self._debug = _LOGGER.isEnabledFor(logging.DEBUG)
|
||||
|
||||
|
Reference in New Issue
Block a user