Import device automation constants from root (#78272)
parent
5f1979dbc3
commit
9b0602a8b6
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.device_automation.const import CONF_IS_OFF, CONF_IS_ON
|
||||
from homeassistant.components.device_automation import CONF_IS_OFF, CONF_IS_ON
|
||||
from homeassistant.const import (
|
||||
CONF_CONDITION,
|
||||
CONF_ENTITY_ID,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
"""Provides device triggers for binary sensors."""
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA
|
||||
from homeassistant.components.device_automation.const import (
|
||||
from homeassistant.components.device_automation import (
|
||||
CONF_TURNED_OFF,
|
||||
CONF_TURNED_ON,
|
||||
DEVICE_TRIGGER_BASE_SCHEMA,
|
||||
)
|
||||
from homeassistant.components.homeassistant.triggers import state as state_trigger
|
||||
from homeassistant.const import CONF_ENTITY_ID, CONF_FOR, CONF_TYPE
|
||||
|
|
Loading…
Reference in New Issue