mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
Remove unused variables in SMA (#161989)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user