From 064f20017baa064f2ebfa2dafc32ce741ecced0d Mon Sep 17 00:00:00 2001 From: Seb Ruiz Date: Wed, 18 May 2022 10:16:37 +1000 Subject: [PATCH] Fix binary_sensor platform loading. Fixes #131 --- custom_components/bhyve/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/bhyve/binary_sensor.py b/custom_components/bhyve/binary_sensor.py index 67d0d21..15b0b70 100644 --- a/custom_components/bhyve/binary_sensor.py +++ b/custom_components/bhyve/binary_sensor.py @@ -1,7 +1,6 @@ """Support for Orbit BHyve sensors.""" import logging -from homeassistant.components.bhyve.util import filter_configured_devices from homeassistant.components.binary_sensor import DEVICE_CLASS_MOISTURE from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant @@ -9,6 +8,7 @@ from . import BHyveDeviceEntity from .const import CONF_CLIENT, DEVICE_FLOOD, DOMAIN, EVENT_FS_ALARM +from .util import filter_configured_devices _LOGGER = logging.getLogger(__name__)