Skip to content

Commit a188ce0

Browse files
authored
Merge pull request #62 from jaredhobbs/fix-config-flow
feat: update config flow for HA 2025.12+
2 parents 4ce89c6 + 3bdb5b4 commit a188ce0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

custom_components/sensus_analytics/config_flow.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,14 @@ async def _test_credentials(self, user_input) -> bool:
8282

8383
@staticmethod
8484
@callback
85-
def async_get_options_flow(config_entry):
85+
def async_get_options_flow(_config_entry):
8686
"""Get the options flow for this handler."""
87-
return SensusAnalyticsOptionsFlow(config_entry)
87+
return SensusAnalyticsOptionsFlow()
8888

8989

9090
class SensusAnalyticsOptionsFlow(config_entries.OptionsFlow):
9191
"""Handle Sensus Analytics options."""
9292

93-
def __init__(self, config_entry):
94-
"""Initialize SensusAnalytics options flow."""
95-
self.config_entry = config_entry
96-
9793
async def async_step_init(self, user_input=None) -> FlowResult:
9894
"""Manage the options."""
9995
if user_input is not None:

0 commit comments

Comments
 (0)