1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-16 20:09:14 +00:00
chammp 8ff4d5dcbf
Adapt template sensors to use the same plural trigger/condition/action definitions as automations ()
* Add plurals to template entities

* Ruff

* Ruffy ruff

* Fix linters

* Fix bug introduced after merging dev

* Fix merge mistake

* Revert adding automation helper

* Revert "Fix bug introduced after merging dev"

This reverts commit 098d478f150a06546fb9ec3668865fa5d763c6b2.

* Fix blueprint validation

* Apply suggestions from code review

---------

Co-authored-by: Erik <erik@montnemery.com>
2025-04-29 11:52:58 +02:00

19 lines
385 B
Python

"""Constants for the automation integration."""
import logging
CONF_TRIGGER_VARIABLES = "trigger_variables"
DOMAIN = "automation"
CONF_HIDE_ENTITY = "hide_entity"
CONF_CONDITION_TYPE = "condition_type"
CONF_INITIAL_STATE = "initial_state"
CONF_BLUEPRINT = "blueprint"
CONF_INPUT = "input"
CONF_TRACE = "trace"
DEFAULT_INITIAL_STATE = True
LOGGER = logging.getLogger(__package__)