From 6acbbec839b40ddb32bb76be7e747130c727bbf7 Mon Sep 17 00:00:00 2001
From: Brandon Rothweiler <2292715+bdr99@users.noreply.github.com>
Date: Mon, 18 Dec 2023 01:10:14 -0500
Subject: [PATCH] Address late review comments for A. O. Smith reauth (#105941)

---
 homeassistant/components/aosmith/config_flow.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/homeassistant/components/aosmith/config_flow.py b/homeassistant/components/aosmith/config_flow.py
index 36a1c215d68..899b7382359 100644
--- a/homeassistant/components/aosmith/config_flow.py
+++ b/homeassistant/components/aosmith/config_flow.py
@@ -23,11 +23,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
 
     VERSION = 1
 
-    _reauth_email: str | None
-
-    def __init__(self):
-        """Start the config flow."""
-        self._reauth_email = None
+    _reauth_email: str | None = None
 
     async def _async_validate_credentials(
         self, email: str, password: str
@@ -70,7 +66,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
             step_id="user",
             data_schema=vol.Schema(
                 {
-                    vol.Required(CONF_EMAIL, default=self._reauth_email): str,
+                    vol.Required(CONF_EMAIL): str,
                     vol.Required(CONF_PASSWORD): str,
                 }
             ),
-- 
GitLab