From f2a2c8b2179261851a658b289f7553039894dd21 Mon Sep 17 00:00:00 2001 From: hawky358 Date: Sun, 10 Nov 2024 16:03:55 +0200 Subject: [PATCH] Fix deprecated alias config --- custom_components/eskom_loadshedding/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/eskom_loadshedding/__init__.py b/custom_components/eskom_loadshedding/__init__.py index 28392b4..49d7818 100644 --- a/custom_components/eskom_loadshedding/__init__.py +++ b/custom_components/eskom_loadshedding/__init__.py @@ -9,7 +9,8 @@ import logging from homeassistant.config_entries import ConfigEntry -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.aiohttp_client import async_get_clientsession from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed