Skip to content

Commit

Permalink
Fix #857: HA deprecation log "flow config_entry explicitly"
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Feb 11, 2025
1 parent cff047b commit 3751426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion custom_components/tapo_control/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,8 +869,11 @@ async def async_step_auth(self, user_input=None):


class TapoOptionsFlowHandler(OptionsFlow):
@property
def config_entry(self):
return self.hass.config_entries.async_get_entry(self.handler)

def __init__(self, config_entry):
self.config_entry = config_entry
self.options = dict(config_entry.options)

# todo rewrite strings into variables
Expand Down
2 changes: 1 addition & 1 deletion custom_components/tapo_control/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"codeowners": [
"@JurajNyiri"
],
"version": "6.0.11",
"version": "6.0.12",
"requirements": [
"pytapo==3.3.38"
],
Expand Down

0 comments on commit 3751426

Please sign in to comment.