From 67d8acf9cc183c6bffc060a20e0117b551f124e0 Mon Sep 17 00:00:00 2001 From: SchiZzA Date: Sun, 16 Nov 2025 13:13:41 +0100 Subject: [PATCH] Add constants for `pocasimeteo_cz` const `POCASI_CZ_URL` added to constants. cont `POCASI_CZ_SEDN_INTERVAL` and POCASI_CZ_SEND_MINIMUM are added to contants. --- custom_components/sws12500/const.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/sws12500/const.py b/custom_components/sws12500/const.py index 8ff1897..bb1e78c 100644 --- a/custom_components/sws12500/const.py +++ b/custom_components/sws12500/const.py @@ -9,6 +9,10 @@ WSLINK_URL = "/data/upload.php" WINDY_URL = "https://stations.windy.com/pws/update/" DATABASE_PATH = "/config/home-assistant_v2.db" +POCASI_CZ_URL: Final = "http://ms.pocasimeteo.cz" +POCASI_CZ_SEND_INTERVAL = 30 # default time to resend data +POCASTI_CZ_SEND_MINIMUM: Final = 12 # minimal time to resend data + ICON = "mdi:weather" API_KEY = "API_KEY"