Skip to content

Commit

Permalink
Fix coordinator config_entry parameter not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelprete committed Feb 3, 2024
1 parent 5a4d070 commit 49f5cea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/abb_powerone_pvi_sunspec/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
class HubDataUpdateCoordinator(DataUpdateCoordinator):
"""Class to manage fetching data from the API."""

config_entry: ConfigEntry

def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None:
"""Initialize data update coordinator."""
self.scan_interval = config_entry.options.get(
Expand Down

0 comments on commit 49f5cea

Please sign in to comment.