From aedd83aa6de75945922260ace24e08bfd5ea100e Mon Sep 17 00:00:00 2001 From: Bjarne Riis Date: Mon, 18 Sep 2023 06:12:54 +0000 Subject: [PATCH] Cleaned up code --- custom_components/weatherflow_forecast/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom_components/weatherflow_forecast/__init__.py b/custom_components/weatherflow_forecast/__init__.py index 661a132..541e89a 100644 --- a/custom_components/weatherflow_forecast/__init__.py +++ b/custom_components/weatherflow_forecast/__init__.py @@ -1,7 +1,6 @@ """WeatherFlow Forecast Platform.""" from __future__ import annotations -from collections.abc import Callable from datetime import timedelta import logging from random import randrange @@ -16,12 +15,11 @@ ) from homeassistant.config_entries import ConfigEntry -from homeassistant.const import CONF_ID, EVENT_CORE_CONFIG_UPDATE, Platform +from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed -from homeassistant.util import dt as dt_util from .const import ( DOMAIN,