Skip to content

Commit

Permalink
Fix ConfigEntry in coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelprete committed Jul 6, 2024
1 parent 3a7230c commit 0977572
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/4noks_elios4you/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import logging
from datetime import datetime, timedelta

from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed

from . import Elios4YouConfigEntry
from .api import Elios4YouAPI
from .const import (
CONF_HOST,
Expand All @@ -27,9 +27,9 @@
class Elios4YouCoordinator(DataUpdateCoordinator):
"""Class to manage fetching data from the API."""

config_entry: Elios4YouConfigEntry
config_entry: ConfigEntry

def __init__(self, hass: HomeAssistant, config_entry: Elios4YouConfigEntry) -> None:
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None:
"""Initialize data update coordinator."""

# get scan_interval from user config
Expand Down

0 comments on commit 0977572

Please sign in to comment.