Skip to content

Commit a73dc51

Browse files
committed
Extend polling interval to 120 seconds to try to address apparent API rate limit issue #46.
1 parent 9840a24 commit a73dc51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/spacex/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
2828

2929
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
3030
"""Set up SpaceX from a config entry."""
31-
polling_interval = 25
31+
polling_interval = 120
3232
api = SpaceX()
3333

3434
try:

0 commit comments

Comments
 (0)