diff --git a/custom_components/yeelight_bt/config_flow.py b/custom_components/yeelight_bt/config_flow.py index f5b841d..7d6f555 100644 --- a/custom_components/yeelight_bt/config_flow.py +++ b/custom_components/yeelight_bt/config_flow.py @@ -10,8 +10,8 @@ BluetoothServiceInfoBleak, async_get_scanner, ) -from homeassistant.components.bluetooth.models import BluetoothScanningMode -from homeassistant.components.bluetooth.scanner import create_bleak_scanner +from homeassistant.components.bluetooth import BluetoothScanningMode +from habluetooth.scanner import create_bleak_scanner from homeassistant.const import CONF_MAC, CONF_NAME from homeassistant.data_entry_flow import FlowResult from homeassistant.helpers import device_registry as dr