From 5c4e47c127d3d8c0b1a9a609233f93cc2bceed68 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 31 Jul 2023 01:02:57 -0700 Subject: [PATCH] Use internal imports in Bluetooth update coordinator to avoid future circular imports (#97506) --- .../components/bluetooth/update_coordinator.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/bluetooth/update_coordinator.py b/homeassistant/components/bluetooth/update_coordinator.py index 0c41b58c63d..dd9e7ecfe5d 100644 --- a/homeassistant/components/bluetooth/update_coordinator.py +++ b/homeassistant/components/bluetooth/update_coordinator.py @@ -6,16 +6,20 @@ import logging from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback -from . import ( - BluetoothCallbackMatcher, - BluetoothChange, - BluetoothScanningMode, - BluetoothServiceInfoBleak, +from .api import ( async_address_present, async_last_service_info, async_register_callback, async_track_unavailable, ) +from .match import ( + BluetoothCallbackMatcher, +) +from .models import ( + BluetoothChange, + BluetoothScanningMode, + BluetoothServiceInfoBleak, +) class BasePassiveBluetoothCoordinator(ABC):