Template selector

This commit is contained in:
G Johansson
2025-08-08 22:13:24 +00:00
parent eb8c6f2f09
commit 3a92ecaba4

View File

@@ -49,7 +49,7 @@ OPTIONS_SCHEMA: vol.Schema = vol.Schema(
): selector.TextSelector(), ): selector.TextSelector(),
vol.Required( vol.Required(
CONF_QUERY, CONF_QUERY,
): selector.TextSelector(selector.TextSelectorConfig(multiline=True)), ): selector.TemplateSelector(),
vol.Optional( vol.Optional(
CONF_UNIT_OF_MEASUREMENT, CONF_UNIT_OF_MEASUREMENT,
): selector.TextSelector(), ): selector.TextSelector(),