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