From 3b981f8ed1627b9751f6dbf563c2b49213f45c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Thu, 4 Jul 2024 08:59:03 -0600 Subject: [PATCH] Update integrationSplynx.py --- src/integrationSplynx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrationSplynx.py b/src/integrationSplynx.py index 3532bd0d..550267b2 100644 --- a/src/integrationSplynx.py +++ b/src/integrationSplynx.py @@ -19,7 +19,7 @@ def spylnxRequest(target, headers): # Sends a REST GET request to Spylnx and returns the # result in JSON url = splynx_api_url + "/api/2.0/" + target - r = requests.get(url, headers=headers, timeout=10) + r = requests.get(url, headers=headers, timeout=120) return r.json() def getTariffs(headers):