add refresh flag to getdata funcions

This commit is contained in:
Matt Walsh 2025-04-02 11:10:58 -05:00
commit 23cc1a1f7a
14 changed files with 34 additions and 18 deletions

View file

@ -27,7 +27,7 @@ class Hourly extends WeatherDisplay {
this.timing.delay.push(150);
}
async getData(weatherParameters) {
async getData(weatherParameters, refresh) {
// super checks for enabled
const superResponse = super.getData(weatherParameters);
let forecast;