mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 02:34:57 -05:00
Remove useless inner function in the base Bluetooth coordinator (#103305)
Remove unless inner function in the base Bluetooth coordinator
This commit is contained in:
@@ -47,12 +47,7 @@ class BasePassiveBluetoothCoordinator(ABC):
|
||||
def async_start(self) -> CALLBACK_TYPE:
|
||||
"""Start the data updater."""
|
||||
self._async_start()
|
||||
|
||||
@callback
|
||||
def _async_cancel() -> None:
|
||||
self._async_stop()
|
||||
|
||||
return _async_cancel
|
||||
return self._async_stop
|
||||
|
||||
@callback
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user