Skip to content

Commit

Permalink
Merge pull request #1429 from tjorim/patch-1
Browse files Browse the repository at this point in the history
Fix Config import
  • Loading branch information
KartoffelToby authored Nov 3, 2024
2 parents ec92c34 + 98f12da commit 3bfb299
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/better_thermostat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import logging
from asyncio import Lock
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, Config
from homeassistant.core import HomeAssistant
from homeassistant.config_entries import ConfigEntry
from homeassistant.helpers.typing import ConfigType
import voluptuous as vol

from .utils.const import (
Expand All @@ -24,7 +25,7 @@
config_entry_update_listener_lock = Lock()


async def async_setup(hass: HomeAssistant, config: Config):
async def async_setup(hass: HomeAssistant, config: ConfigType):
"""Set up this integration using YAML is not supported."""
hass.data[DOMAIN] = {}
return True
Expand Down

0 comments on commit 3bfb299

Please sign in to comment.