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 = [
|
||||
"alarm_control_panel",
|
||||
"binary_sensor",
|
||||
"button",
|
||||
"image",
|
||||
"number",
|
||||
"select",
|
||||
"sensor",
|
||||
"switch",
|
||||
Platform.ALARM_CONTROL_PANEL,
|
||||
Platform.BINARY_SENSOR,
|
||||
Platform.BUTTON,
|
||||
Platform.IMAGE,
|
||||
Platform.NUMBER,
|
||||
Platform.SELECT,
|
||||
Platform.SENSOR,
|
||||
Platform.SWITCH,
|
||||
]
|
||||
|
||||
CONFIG_FLOW = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user