Skip to content

Commit

Permalink
removed ha.core Config
Browse files Browse the repository at this point in the history
  • Loading branch information
marq24 committed Oct 31, 2024
1 parent 95b024f commit 6f47a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions custom_components/waterkotte_heatpump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
from typing import List, Collection, Sequence, Any, Tuple
from homeassistant.const import CONF_ID, CONF_HOST, CONF_USERNAME, CONF_PASSWORD
from homeassistant.config_entries import ConfigEntry, ConfigEntryState
from homeassistant.core import Config, SupportsResponse, Event
from homeassistant.core import HomeAssistant
from homeassistant.core import HomeAssistant, Event, SupportsResponse
from homeassistant.exceptions import ConfigEntryNotReady
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.entity import Entity, EntityDescription
from homeassistant.helpers.typing import UNDEFINED, UndefinedType
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from homeassistant.helpers.update_coordinator import UpdateFailed
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
from homeassistant.helpers import config_validation as config_val, entity_registry as entity_reg

from custom_components.waterkotte_heatpump.pywaterkotte_ha import WaterkotteClient
Expand Down Expand Up @@ -54,7 +52,7 @@
CONFIG_SCHEMA = config_val.removed(DOMAIN, raise_if_present=False)


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

Expand Down
2 changes: 1 addition & 1 deletion custom_components/waterkotte_heatpump/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/marq24/ha-waterkotte/issues",
"requirements": [],
"version": "2024.10.1"
"version": "2024.10.2"
}

0 comments on commit 6f47a7a

Please sign in to comment.