From a73dc51fc15583e1fab7e0bd6d100601daf07eb8 Mon Sep 17 00:00:00 2001 From: Tim Empringham Date: Fri, 9 Sep 2022 10:06:46 -0400 Subject: [PATCH] Extend polling interval to 120 seconds to try to address apparent API rate limit issue #46. --- custom_components/spacex/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/spacex/__init__.py b/custom_components/spacex/__init__.py index 3fc8430..b88040b 100644 --- a/custom_components/spacex/__init__.py +++ b/custom_components/spacex/__init__.py @@ -28,7 +28,7 @@ async def async_setup(hass: HomeAssistant, config: dict): async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): """Set up SpaceX from a config entry.""" - polling_interval = 25 + polling_interval = 120 api = SpaceX() try: