From 7c0000039efbf6fb922841af0d8a19fcbb11dd8d Mon Sep 17 00:00:00 2001 From: Julian Pawlowski <75446+jpawlowski@users.noreply.github.com> Date: Wed, 26 Nov 2025 14:36:08 +0000 Subject: [PATCH] refactor(config_flow): disable subentry flow temporarily due to incomplete time-travel feature --- .../tibber_prices/config_flow_handlers/user_flow.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/custom_components/tibber_prices/config_flow_handlers/user_flow.py b/custom_components/tibber_prices/config_flow_handlers/user_flow.py index da1a4b2..972e837 100644 --- a/custom_components/tibber_prices/config_flow_handlers/user_flow.py +++ b/custom_components/tibber_prices/config_flow_handlers/user_flow.py @@ -15,9 +15,6 @@ from custom_components.tibber_prices.config_flow_handlers.schemas import ( get_select_home_schema, get_user_schema, ) -from custom_components.tibber_prices.config_flow_handlers.subentry_flow import ( - TibberPricesSubentryFlowHandler, -) from custom_components.tibber_prices.config_flow_handlers.validators import ( TibberPricesCannotConnectError, TibberPricesInvalidAuthError, @@ -66,7 +63,12 @@ class TibberPricesConfigFlowHandler(ConfigFlow, domain=DOMAIN): config_entry: ConfigEntry, # noqa: ARG003 ) -> dict[str, type[ConfigSubentryFlow]]: """Return subentries supported by this integration.""" - return {"home": TibberPricesSubentryFlowHandler} + # Temporarily disabled: Time-travel feature not yet fully implemented + # When enabled, this causes "Devices that don't belong to a sub-entry" warning + # because subentries don't have their own entities yet. + # See: https://github.com/home-assistant/core/issues/147570 + # Will be re-enabled when time-travel functionality is implemented + return {} @staticmethod @callback