danielsmith-eu / home-assistant-themeparks-integration

A Home Assistant integration that shows Theme Park waiting times using the ThemeParks.wiki API
Apache License 2.0
16 stars 8 forks source link

Feature Request: Allow polling time to be modified (was: Update Time) #2

Open ichrispod opened 2 years ago

ichrispod commented 2 years ago

What is the default refresh time for wait times and do we have the ability to adjust?

IvanMazzoli commented 1 year ago

The update time for the waiting times seems to be 5 minute and hard-coded into the program, I don't think there is a way to change that other than clone the repo, change to the value of your liking and then load it into your HA

danielsmith-eu commented 1 year ago

@IvanMazzoli is right. The API updates every 5 minutes, so I chose the same time so that you have the most up-to-date data possible without over-requesting.

Modifying it to poll less often would be a good feature though, i'll change this to a feature request.