Adapt template sensors to use the same plural trigger/condition/action definitions as automations (#127875)

* 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>
This commit is contained in:
chammp
2025-04-29 11:52:58 +02:00
committed by GitHub
parent f2838e493b
commit 8ff4d5dcbf
14 changed files with 162 additions and 61 deletions

View File

@@ -115,6 +115,7 @@ SUN_EVENT_SUNRISE: Final = "sunrise"
CONF_ABOVE: Final = "above"
CONF_ACCESS_TOKEN: Final = "access_token"
CONF_ACTION: Final = "action"
CONF_ACTIONS: Final = "actions"
CONF_ADDRESS: Final = "address"
CONF_AFTER: Final = "after"
CONF_ALIAS: Final = "alias"