diff --git a/custom_components/dwd/__init__.py b/custom_components/dwd/__init__.py index d1cc49a..295939e 100644 --- a/custom_components/dwd/__init__.py +++ b/custom_components/dwd/__init__.py @@ -13,7 +13,8 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform -from homeassistant.core import Config, HomeAssistant +from homeassistant.core import HomeAssistant +from homeassistant.core_config import Config from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession diff --git a/custom_components/dwd/manifest.json b/custom_components/dwd/manifest.json index 3f90d4f..f881897 100644 --- a/custom_components/dwd/manifest.json +++ b/custom_components/dwd/manifest.json @@ -11,5 +11,5 @@ "requirements": [ "defusedxml==0.7.1" ], - "version": "2024.9.0" + "version": "2024.11.0" } \ No newline at end of file diff --git a/custom_components/dwd/weather.py b/custom_components/dwd/weather.py index 1551652..04c3851 100644 --- a/custom_components/dwd/weather.py +++ b/custom_components/dwd/weather.py @@ -5,7 +5,7 @@ from datetime import UTC, date, datetime, time, timedelta from enum import Enum import logging -from typing import Any, Optional +from typing import Any from homeassistant.components.weather import ( ATTR_CONDITION_CLEAR_NIGHT, diff --git a/hacs.json b/hacs.json index 0ccaf30..400da32 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,5 @@ { "name": "Deutscher Wetterdienst (by hg1337)", - "homeassistant": "2024.4.0", + "homeassistant": "2024.11.0", "render_readme": true }