Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Only update the weather when enough time has passed #10

Open
OmnesPotens opened this issue Mar 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@OmnesPotens
Copy link

Current Behabior
SmallWeather updates the weather upon any datetime change (even if its only a few seconds).

Desired Behavior
SmallWeather should only update the weather when at least an hour has passed. Ideally this would be a new configurable setting in the SmallWeather settings configuration.

The new setting would be something like "Minimum Weather Diff" which could be set to a number of seconds/minutes/hours/days/weeks/months/years. If SimpleCalendar.DateTimeChange.diff is not >= Minimum Weather Diff setting, then SmallWeather should not query the getWeather API and it should not attempt to update the weather.

Screenshots
image

@OmnesPotens OmnesPotens added the enhancement New feature or request label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant