mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13:40 +00:00
refactor(config_flow): rename TibberPricesFlowHandler to TibberPricesConfigFlowHandler
Renamed main config flow handler class for clarity: - TibberPricesFlowHandler → TibberPricesConfigFlowHandler Updated imports in: - config_flow.py (import alias) - config_flow_handlers/__init__.py (exports) Reason: More explicit name distinguishes from OptionsFlowHandler and SubentryFlowHandler. Follows naming convention of other flow handlers. Impact: No functional changes, improved code readability.
This commit is contained in:
parent
6338f51527
commit
9ae618fff9
2 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ from .config_flow_handlers.schemas import (
|
||||||
from .config_flow_handlers.subentry_flow import (
|
from .config_flow_handlers.subentry_flow import (
|
||||||
TibberPricesSubentryFlowHandler as SubentryFlowHandler,
|
TibberPricesSubentryFlowHandler as SubentryFlowHandler,
|
||||||
)
|
)
|
||||||
from .config_flow_handlers.user_flow import TibberPricesFlowHandler as ConfigFlow
|
from .config_flow_handlers.user_flow import TibberPricesConfigFlowHandler as ConfigFlow
|
||||||
from .config_flow_handlers.validators import (
|
from .config_flow_handlers.validators import (
|
||||||
TibberPricesCannotConnectError,
|
TibberPricesCannotConnectError,
|
||||||
TibberPricesInvalidAuthError,
|
TibberPricesInvalidAuthError,
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ from custom_components.tibber_prices.config_flow_handlers.subentry_flow import (
|
||||||
TibberPricesSubentryFlowHandler,
|
TibberPricesSubentryFlowHandler,
|
||||||
)
|
)
|
||||||
from custom_components.tibber_prices.config_flow_handlers.user_flow import (
|
from custom_components.tibber_prices.config_flow_handlers.user_flow import (
|
||||||
TibberPricesFlowHandler,
|
TibberPricesConfigFlowHandler,
|
||||||
)
|
)
|
||||||
from custom_components.tibber_prices.config_flow_handlers.validators import (
|
from custom_components.tibber_prices.config_flow_handlers.validators import (
|
||||||
TibberPricesCannotConnectError,
|
TibberPricesCannotConnectError,
|
||||||
|
|
@ -49,7 +49,7 @@ from custom_components.tibber_prices.config_flow_handlers.validators import (
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"TibberPricesCannotConnectError",
|
"TibberPricesCannotConnectError",
|
||||||
"TibberPricesFlowHandler",
|
"TibberPricesConfigFlowHandler",
|
||||||
"TibberPricesInvalidAuthError",
|
"TibberPricesInvalidAuthError",
|
||||||
"TibberPricesOptionsFlowHandler",
|
"TibberPricesOptionsFlowHandler",
|
||||||
"TibberPricesSubentryFlowHandler",
|
"TibberPricesSubentryFlowHandler",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue