Skip to content

Commit

Permalink
Fix depricated use config_entry (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeerMaximum authored Jan 4, 2025
1 parent 0bc72c8 commit 591ba0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/ta_coe/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):

def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
"""Initialize options flow."""
self.config_entry = config_entry
self.data = dict(self.config_entry.data)
self.data = dict(config_entry.data)

async def async_step_init(
self, user_input: dict[str, Any] | None = None
Expand Down

0 comments on commit 591ba0f

Please sign in to comment.