mirror of
https://github.com/home-assistant/core.git
synced 2025-08-31 10:21:30 +02:00
Template selector
This commit is contained in:
@@ -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(),
|
||||||
|
Reference in New Issue
Block a user