From ee59dcc8ce7d123eced85981ef642a54a1037a5d Mon Sep 17 00:00:00 2001 From: Gogo Date: Mon, 9 May 2022 21:57:55 +0200 Subject: [PATCH] Remove EVENT_TIME_CHANGED const --- custom_components/ha_strava/__init__.py | 1 - custom_components/ha_strava/camera.py | 1 - 2 files changed, 2 deletions(-) diff --git a/custom_components/ha_strava/__init__.py b/custom_components/ha_strava/__init__.py index 3d605b2..7b7af8c 100644 --- a/custom_components/ha_strava/__init__.py +++ b/custom_components/ha_strava/__init__.py @@ -25,7 +25,6 @@ EVENT_COMPONENT_LOADED, EVENT_CORE_CONFIG_UPDATE, EVENT_HOMEASSISTANT_START, - EVENT_TIME_CHANGED, ) from homeassistant.helpers import ( aiohttp_client, diff --git a/custom_components/ha_strava/camera.py b/custom_components/ha_strava/camera.py index 368ecc0..7885786 100644 --- a/custom_components/ha_strava/camera.py +++ b/custom_components/ha_strava/camera.py @@ -17,7 +17,6 @@ CONFIG_URL_DUMP_FILENAME, ) from hashlib import md5 -from homeassistant.const import EVENT_TIME_CHANGED _LOGGER = logging.getLogger(__name__)