From b757312fe0b46177382b0093b73d5a492841e3a2 Mon Sep 17 00:00:00 2001 From: Erwin Douna Date: Sat, 31 Jan 2026 20:40:28 +0100 Subject: [PATCH] Remove unused variables in SMA (#161989) --- homeassistant/components/sma/config_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/sma/config_flow.py b/homeassistant/components/sma/config_flow.py index 9e9656eb4b9..b5d23d9e944 100644 --- a/homeassistant/components/sma/config_flow.py +++ b/homeassistant/components/sma/config_flow.py @@ -202,7 +202,7 @@ class SmaConfigFlow(ConfigFlow, domain=DOMAIN): errors: dict[str, str] = {} if user_input is not None: reauth_entry = self._get_reauth_entry() - errors, _device_info = await self._handle_user_input( + errors, _ = await self._handle_user_input( user_input={ **reauth_entry.data, CONF_PASSWORD: user_input[CONF_PASSWORD], @@ -275,7 +275,7 @@ class SmaConfigFlow(ConfigFlow, domain=DOMAIN): """Confirm discovery.""" errors: dict[str, str] = {} if user_input is not None: - errors, _device_info = await self._handle_user_input( + errors, _ = await self._handle_user_input( user_input=user_input, discovery=True )