mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Use TextSelectorType.EMAIL in SMTP integration (#176212)
This commit is contained in:
@@ -69,7 +69,7 @@ STEP_USER_DATA_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Required(CONF_SENDER): TextSelector(
|
||||
TextSelectorConfig(
|
||||
type=TextSelectorType.TEXT,
|
||||
type=TextSelectorType.EMAIL,
|
||||
autocomplete="email",
|
||||
),
|
||||
),
|
||||
@@ -352,7 +352,7 @@ class RecipientSubentryFlowHandler(ConfigSubentryFlow):
|
||||
vol.Optional(CONF_NAME): cv.string,
|
||||
vol.Required(CONF_RECIPIENT): TextSelector(
|
||||
TextSelectorConfig(
|
||||
type=TextSelectorType.TEXT,
|
||||
type=TextSelectorType.EMAIL,
|
||||
autocomplete="email",
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user