Skip to content

Commit

Permalink
Update config_flow.py
Browse files Browse the repository at this point in the history
Ajout de forward compatibility.
  • Loading branch information
ic-dev21 authored Jan 8, 2025
1 parent 4347fad commit c29dede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/hilo/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ def __init__(self, config_entry: ConfigEntry) -> None:
"""Initialize"""
if AwesomeVersion(HAVERSION) < "2024.11.99":
self.config_entry = config_entry
else:
self._config_entry = config_entry

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

0 comments on commit c29dede

Please sign in to comment.