Add missing typing to Vodafone Station (#140562)

This commit is contained in:
Simone Chemelli 2025-03-14 08:28:56 +01:00 committed by GitHub
parent 9f801e7785
commit 6f926d0a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,16 +12,12 @@ from homeassistant.components.device_tracker import (
CONF_CONSIDER_HOME,
DEFAULT_CONSIDER_HOME,
)
from homeassistant.config_entries import (
ConfigEntry,
ConfigFlow,
ConfigFlowResult,
OptionsFlow,
)
from homeassistant.config_entries import ConfigFlow, ConfigFlowResult, OptionsFlow
from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME
from homeassistant.core import HomeAssistant, callback
from .const import _LOGGER, DEFAULT_HOST, DEFAULT_USERNAME, DOMAIN
from .coordinator import VodafoneConfigEntry
def user_form_schema(user_input: dict[str, Any] | None) -> vol.Schema:
@ -63,7 +59,7 @@ class VodafoneStationConfigFlow(ConfigFlow, domain=DOMAIN):
@staticmethod
@callback
def async_get_options_flow(
config_entry: ConfigEntry,
config_entry: VodafoneConfigEntry,
) -> VodafoneStationOptionsFlowHandler:
"""Get the options flow for this handler."""
return VodafoneStationOptionsFlowHandler()