mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00: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:
parent
eeb88f5e07
commit
5bcff82148
@ -47,12 +47,7 @@ class BasePassiveBluetoothCoordinator(ABC):
|
|||||||
def async_start(self) -> CALLBACK_TYPE:
|
def async_start(self) -> CALLBACK_TYPE:
|
||||||
"""Start the data updater."""
|
"""Start the data updater."""
|
||||||
self._async_start()
|
self._async_start()
|
||||||
|
return self._async_stop
|
||||||
@callback
|
|
||||||
def _async_cancel() -> None:
|
|
||||||
self._async_stop()
|
|
||||||
|
|
||||||
return _async_cancel
|
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user