mirror of
https://github.com/home-assistant/core.git
synced 2025-09-03 03:41:40 +02:00
Type consts
This commit is contained in:
@@ -31,11 +31,11 @@ from homeassistant.helpers.typing import ConfigType
|
|||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
|
|
||||||
ATTR_BEHAVIOR: Final = "behavior"
|
ATTR_BEHAVIOR: Final = "behavior"
|
||||||
BEHAVIOR_FIRST = "first"
|
BEHAVIOR_FIRST: Final = "first"
|
||||||
BEHAVIOR_LAST = "last"
|
BEHAVIOR_LAST: Final = "last"
|
||||||
BEHAVIOR_ANY = "any"
|
BEHAVIOR_ANY: Final = "any"
|
||||||
|
|
||||||
STATE_PLATFORM_TYPE = "state"
|
STATE_PLATFORM_TYPE: Final = "state"
|
||||||
STATE_TRIGGER_SCHEMA = vol.All(
|
STATE_TRIGGER_SCHEMA = vol.All(
|
||||||
cv.TRIGGER_BASE_SCHEMA.extend(
|
cv.TRIGGER_BASE_SCHEMA.extend(
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user