From 5b39f80862d163177d03acdacde3b7086b056de7 Mon Sep 17 00:00:00 2001 From: balgerion <133121849+balgerion@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:39:28 +0200 Subject: [PATCH] Update config_flow.py --- custom_components/pstryk/config_flow.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/custom_components/pstryk/config_flow.py b/custom_components/pstryk/config_flow.py index c0f6905..c8e6585 100644 --- a/custom_components/pstryk/config_flow.py +++ b/custom_components/pstryk/config_flow.py @@ -192,16 +192,12 @@ class PstrykConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): @staticmethod def async_get_options_flow(config_entry): """Get the options flow for this handler.""" - return PstrykOptionsFlowHandler(config_entry) + return PstrykOptionsFlowHandler() class PstrykOptionsFlowHandler(config_entries.OptionsFlow): """Handle options flow for Pstryk Energy - single page view.""" - def __init__(self, config_entry): - """Initialize options flow.""" - super().__init__(config_entry) - async def async_step_init(self, user_input=None): """Manage the options - single page for quick configuration.""" errors = {}