diff --git a/homeassistant/components/sql/config_flow.py b/homeassistant/components/sql/config_flow.py index cfa47dfe6cc..bf23567683b 100644 --- a/homeassistant/components/sql/config_flow.py +++ b/homeassistant/components/sql/config_flow.py @@ -49,7 +49,7 @@ OPTIONS_SCHEMA: vol.Schema = vol.Schema( ): selector.TextSelector(), vol.Required( CONF_QUERY, - ): selector.TextSelector(selector.TextSelectorConfig(multiline=True)), + ): selector.TemplateSelector(), vol.Optional( CONF_UNIT_OF_MEASUREMENT, ): selector.TextSelector(),