Use internal imports in Bluetooth update coordinator to avoid future circular imports (#97506)
This commit is contained in:
parent
28bebf338f
commit
5c4e47c127
1 changed files with 9 additions and 5 deletions
|
@ -6,16 +6,20 @@ import logging
|
||||||
|
|
||||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback
|
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback
|
||||||
|
|
||||||
from . import (
|
from .api import (
|
||||||
BluetoothCallbackMatcher,
|
|
||||||
BluetoothChange,
|
|
||||||
BluetoothScanningMode,
|
|
||||||
BluetoothServiceInfoBleak,
|
|
||||||
async_address_present,
|
async_address_present,
|
||||||
async_last_service_info,
|
async_last_service_info,
|
||||||
async_register_callback,
|
async_register_callback,
|
||||||
async_track_unavailable,
|
async_track_unavailable,
|
||||||
)
|
)
|
||||||
|
from .match import (
|
||||||
|
BluetoothCallbackMatcher,
|
||||||
|
)
|
||||||
|
from .models import (
|
||||||
|
BluetoothChange,
|
||||||
|
BluetoothScanningMode,
|
||||||
|
BluetoothServiceInfoBleak,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class BasePassiveBluetoothCoordinator(ABC):
|
class BasePassiveBluetoothCoordinator(ABC):
|
||||||
|
|
Loading…
Add table
Reference in a new issue