diff --git a/custom_components/irrigation_unlimited/__init__.py b/custom_components/irrigation_unlimited/__init__.py index dd4276b..d031c08 100644 --- a/custom_components/irrigation_unlimited/__init__.py +++ b/custom_components/irrigation_unlimited/__init__.py @@ -4,10 +4,12 @@ For more details about this integration, please refer to https://github.com/rgc99/irrigation_unlimited """ + import logging import voluptuous as vol from homeassistant.helpers.entity_component import EntityComponent -from homeassistant.core import Config, HomeAssistant +from homeassistant.core import HomeAssistant +from homeassistant.core_config import Config from homeassistant.helpers.discovery import async_load_platform from .irrigation_unlimited import IUCoordinator diff --git a/requirements.txt b/requirements.txt index 8877908..8dea2f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -homeassistant==2024.9.1 +homeassistant==2024.11.2 diff --git a/requirements_test.txt b/requirements_test.txt index fef893a..4653ed2 100755 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,4 +1,4 @@ -pytest-homeassistant-custom-component==0.13.162 +pytest-homeassistant-custom-component==0.13.183 aiohttp_cors crontab pytest-asyncio diff --git a/tests/iu_test_support.py b/tests/iu_test_support.py index cab37bf..674191c 100644 --- a/tests/iu_test_support.py +++ b/tests/iu_test_support.py @@ -7,10 +7,10 @@ from datetime import datetime, timedelta, timezone from homeassistant.const import SERVICE_RELOAD import homeassistant.core as ha -from homeassistant.config import ( - load_yaml_config_file, +from homeassistant.core_config import ( async_process_ha_core_config, ) +from homeassistant.config import load_yaml_config_file from homeassistant.setup import async_setup_component from homeassistant.helpers.recorder import ( async_initialize_recorder,