Skip to content

Commit 57be69e

Browse files
committed
fix config_entries
1 parent 063d729 commit 57be69e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

custom_components/ble_monitor/config_flow.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import logging
44

55
import voluptuous as vol
6-
from homeassistant.config_entries import ConfigEntry, ConfigFlow, OptionsFlow
6+
from homeassistant.config_entries import (CONN_CLASS_LOCAL_PUSH, ConfigEntry,
7+
ConfigFlow, OptionsFlow)
78
from homeassistant.const import (CONF_DEVICES, CONF_DISCOVERY, CONF_MAC,
89
CONF_NAME, CONF_TEMPERATURE_UNIT,
910
UnitOfTemperature)
@@ -338,7 +339,7 @@ class BLEMonitorConfigFlow(BLEMonitorFlow, ConfigFlow, domain=DOMAIN):
338339
"""BLEMonitor config flow."""
339340

340341
VERSION = 5
341-
CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_PUSH
342+
CONNECTION_CLASS = CONN_CLASS_LOCAL_PUSH
342343

343344
@staticmethod
344345
@callback

0 commit comments

Comments
 (0)