Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e6c7c3b

Browse files
Merge pull request #702 from LucidityCrash/config_entry_fix
Attempt to fix config_entry warning
2 parents 6db0d8f + b0bb6b6 commit e6c7c3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎custom_components/pyscript/config_flow.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
class PyscriptOptionsConfigFlow(config_entries.OptionsFlow):
2525
"""Handle a pyscript options flow."""
2626

27-
def __init__(self, config_entry: ConfigEntry) -> None:
27+
def __init__(self) -> None:
2828
"""Initialize pyscript options flow."""
29-
self._config_entry=config_entry
29+
self._conf_app_id: str|None=None
3030
self._show_form = False
3131

3232
async def async_step_init(self, user_input: Dict[str, Any] = None) -> Dict[str, Any]:
@@ -88,7 +88,7 @@ class PyscriptConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
8888
@callback
8989
def async_get_options_flow(config_entry: ConfigEntry) -> PyscriptOptionsConfigFlow:
9090
"""Get the options flow for this handler."""
91-
return PyscriptOptionsConfigFlow(config_entry)
91+
return PyscriptOptionsConfigFlow()
9292

9393
async def async_step_user(self, user_input: Dict[str, Any] = None) -> Dict[str, Any]:
9494
"""Handle a flow initialized by the user."""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /