mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Fix relative import issue in device_automation (#63274)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
d26275011a
commit
f7b26e9b06
@ -9,7 +9,6 @@ from homeassistant.components.automation import (
|
|||||||
AutomationActionType,
|
AutomationActionType,
|
||||||
AutomationTriggerInfo,
|
AutomationTriggerInfo,
|
||||||
)
|
)
|
||||||
from homeassistant.components.device_automation.const import CONF_CHANGED_STATES
|
|
||||||
from homeassistant.components.homeassistant.triggers import state as state_trigger
|
from homeassistant.components.homeassistant.triggers import state as state_trigger
|
||||||
from homeassistant.const import CONF_ENTITY_ID, CONF_FOR, CONF_PLATFORM, CONF_TYPE
|
from homeassistant.const import CONF_ENTITY_ID, CONF_FOR, CONF_PLATFORM, CONF_TYPE
|
||||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant
|
from homeassistant.core import CALLBACK_TYPE, HomeAssistant
|
||||||
@ -18,6 +17,7 @@ from homeassistant.helpers.entity_registry import async_entries_for_device
|
|||||||
from homeassistant.helpers.typing import ConfigType
|
from homeassistant.helpers.typing import ConfigType
|
||||||
|
|
||||||
from . import DEVICE_TRIGGER_BASE_SCHEMA
|
from . import DEVICE_TRIGGER_BASE_SCHEMA
|
||||||
|
from .const import CONF_CHANGED_STATES
|
||||||
|
|
||||||
# mypy: allow-untyped-calls, allow-untyped-defs
|
# mypy: allow-untyped-calls, allow-untyped-defs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user