init home-assistant
This commit is contained in:
21
home-assistant/homeassistant/components/script/const.py
Normal file
21
home-assistant/homeassistant/components/script/const.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""Constants for the script integration."""
|
||||
|
||||
import logging
|
||||
|
||||
DOMAIN = "script"
|
||||
|
||||
ATTR_LAST_ACTION = "last_action"
|
||||
ATTR_LAST_TRIGGERED = "last_triggered"
|
||||
ATTR_VARIABLES = "variables"
|
||||
|
||||
CONF_ADVANCED = "advanced"
|
||||
CONF_EXAMPLE = "example"
|
||||
CONF_FIELDS = "fields"
|
||||
CONF_REQUIRED = "required"
|
||||
CONF_TRACE = "trace"
|
||||
|
||||
ENTITY_ID_FORMAT = DOMAIN + ".{}"
|
||||
|
||||
EVENT_SCRIPT_STARTED = "script_started"
|
||||
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
Reference in New Issue
Block a user