Skip to content

Commit 785f972

Browse files
author
niceboy
committed
Fix the compliable
1 parent 1729d05 commit 785f972

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

custom_components/aqara_gateway/config_flow.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self):
4444
@callback
4545
def async_get_options_flow(config_entry: ConfigEntry):
4646
""" get option flow """
47-
return OptionsFlowHandler(config_entry)
47+
return OptionsFlowHandler()
4848

4949
async def async_step_user(
5050
self,
@@ -251,10 +251,6 @@ class OptionsFlowHandler(OptionsFlow):
251251
_token = None
252252
_model = None
253253

254-
def __init__(self, config_entry):
255-
"""Initialize options flow."""
256-
self.config_entry = config_entry
257-
258254
async def async_step_init(self, user_input=None):
259255
"""Manage options."""
260256
if user_input is not None:

0 commit comments

Comments
 (0)