Skip to content

Commit

Permalink
Merge pull request #80 from tjorim/patch-1
Browse files Browse the repository at this point in the history
Fix Config import to use ConfigType instead
  • Loading branch information
njobrien1006 authored Dec 6, 2024
2 parents 0c3ebad + 04b6e12 commit 30e57da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/traeger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (EVENT_HOMEASSISTANT_STOP)
from homeassistant.core import Config, Event, HomeAssistant
from homeassistant.core import Event, HomeAssistant
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.typing import ConfigType

from .const import (CONF_PASSWORD, CONF_USERNAME, DOMAIN, PLATFORMS,
STARTUP_MESSAGE)
Expand All @@ -22,7 +23,7 @@
_LOGGER: logging.Logger = logging.getLogger(__package__)


async def async_setup(hass: HomeAssistant, config: Config): # pylint: disable=unused-argument
async def async_setup(hass: HomeAssistant, config: ConfigType): # pylint: disable=unused-argument
"""Set up this integration using YAML is not supported."""
return True

Expand Down

0 comments on commit 30e57da

Please sign in to comment.