Use TextSelectorType.EMAIL in SMTP integration (#176212)

This commit is contained in:
Manu
2026-07-10 20:41:07 +02:00
committed by GitHub
parent c5d86d3eac
commit 00b6cd85c3
+2 -2
View File
@@ -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",
),
),