mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Transition template types from string to platform keys (#149434)
This commit is contained in:
parent
02eb1dd533
commit
a069b59efc
@ -324,14 +324,14 @@ def validate_user_input(
|
|||||||
|
|
||||||
|
|
||||||
TEMPLATE_TYPES = [
|
TEMPLATE_TYPES = [
|
||||||
"alarm_control_panel",
|
Platform.ALARM_CONTROL_PANEL,
|
||||||
"binary_sensor",
|
Platform.BINARY_SENSOR,
|
||||||
"button",
|
Platform.BUTTON,
|
||||||
"image",
|
Platform.IMAGE,
|
||||||
"number",
|
Platform.NUMBER,
|
||||||
"select",
|
Platform.SELECT,
|
||||||
"sensor",
|
Platform.SENSOR,
|
||||||
"switch",
|
Platform.SWITCH,
|
||||||
]
|
]
|
||||||
|
|
||||||
CONFIG_FLOW = {
|
CONFIG_FLOW = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user