From 8a21b322fda4fa2db96b41a83cc560d63844257e Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Mon, 24 Oct 2022 11:51:25 +0200 Subject: [PATCH] :sparkles: Update LGHorizon to v0.0.4 --- custom_components/lghorizon/manifest.json | 2 +- custom_components/lghorizon/sensor.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/lghorizon/manifest.json b/custom_components/lghorizon/manifest.json index db278a0..b735b9b 100644 --- a/custom_components/lghorizon/manifest.json +++ b/custom_components/lghorizon/manifest.json @@ -10,6 +10,6 @@ "version": "0.1.1", "config_flow": true, "requirements": [ - "lghorizon==0.4.3" + "lghorizon==0.4.4" ] } \ No newline at end of file diff --git a/custom_components/lghorizon/sensor.py b/custom_components/lghorizon/sensor.py index 3857841..f8e3a9c 100644 --- a/custom_components/lghorizon/sensor.py +++ b/custom_components/lghorizon/sensor.py @@ -8,6 +8,8 @@ API, DOMAIN, ) +from datetime import timedelta +SCAN_INTERVAL = timedelta(hours=1) from lghorizon import LGHorizonApi