diff --git a/homeassistant/components/mysensors/switch.py b/homeassistant/components/mysensors/switch.py index 8f8c759c364..7c6602b7373 100644 --- a/homeassistant/components/mysensors/switch.py +++ b/homeassistant/components/mysensors/switch.py @@ -7,13 +7,13 @@ import voluptuous as vol from homeassistant.components import mysensors from homeassistant.components.switch import DOMAIN, SwitchEntity +from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_ENTITY_ID, STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant, ServiceCall import homeassistant.helpers.config_validation as cv +from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity_platform import AddEntitiesCallback -from ...config_entries import ConfigEntry -from ...helpers.dispatcher import async_dispatcher_connect from .const import ( DOMAIN as MYSENSORS_DOMAIN, MYSENSORS_DISCOVERY,