set weather api call interval to sensible 900 secs

This commit is contained in:
simon 2021-02-18 17:53:09 +07:00
parent 9b3c0b06c5
commit c28b7b1891
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ USER_DATA[config['authUsername']] = config['authPassword']
scheduler = BackgroundScheduler()
scheduler.start()
scheduler.add_job(
weather.handle_weather, args=[config], trigger="interval", name='weather_api', seconds=300
weather.handle_weather, args=[config], trigger="interval", name='weather_api', seconds=900
)