Skip to content

Commit

Permalink
Do not set config_entry in option flow if HA > 24.11.99 (#4181)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 5, 2024
1 parent 91cf950 commit 8bb3d25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/hacs/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ class HacsOptionsFlowHandler(OptionsFlow):

def __init__(self, config_entry):
"""Initialize HACS options flow."""
self.config_entry = config_entry
if AwesomeVersion(HAVERSION) < "2024.11.99":
self.config_entry = config_entry

async def async_step_init(self, _user_input=None):
"""Manage the options."""
Expand Down

0 comments on commit 8bb3d25

Please sign in to comment.