From a194585c63591be23579f253a26bdf964766aff4 Mon Sep 17 00:00:00 2001 From: unl0ck Date: Thu, 26 Dec 2024 23:14:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20removed=20empty=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GridboxConnectorAddon-edge/GridboxConnector/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py index 9e948c9..274ad19 100644 --- a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py +++ b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py @@ -58,7 +58,6 @@ def historical_data_task(gridboxConnector:GridboxConnector, ha_viessmann_histori from datetime import datetime, timedelta, timezone now = datetime.now(timezone(timedelta(hours=1))) now = now.replace(hour=0, minute=0, second=0, microsecond=0) - today = now.isoformat() tomorrow = (now + timedelta(days=1)).isoformat() measurement = gridboxConnector.retrieve_historical_data(today, tomorrow)