From f7b26e9b0693cdd471cc67bc42bb376fa6ce02cb Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 3 Jan 2022 11:59:50 +0100 Subject: [PATCH] Fix relative import issue in device_automation (#63274) Co-authored-by: epenet --- homeassistant/components/device_automation/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/device_automation/entity.py b/homeassistant/components/device_automation/entity.py index 5a9d5a0a324..b27a8c67561 100644 --- a/homeassistant/components/device_automation/entity.py +++ b/homeassistant/components/device_automation/entity.py @@ -9,7 +9,6 @@ from homeassistant.components.automation import ( AutomationActionType, AutomationTriggerInfo, ) -from homeassistant.components.device_automation.const import CONF_CHANGED_STATES 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.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 . import DEVICE_TRIGGER_BASE_SCHEMA +from .const import CONF_CHANGED_STATES # mypy: allow-untyped-calls, allow-untyped-defs