Transition template types from string to platform keys (#149434)

This commit is contained in:
Petro31 2025-07-25 13:55:40 -04:00 committed by GitHub
parent 02eb1dd533
commit a069b59efc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {