add refresh flag to getdata funcions
This commit is contained in:
parent
b272aa298a
commit
23cc1a1f7a
14 changed files with 34 additions and 18 deletions
|
|
@ -18,7 +18,7 @@ class ExtendedForecast extends WeatherDisplay {
|
|||
this.timing.totalScreens = 2;
|
||||
}
|
||||
|
||||
async getData(_weatherParameters) {
|
||||
async getData(_weatherParameters, refresh) {
|
||||
if (!super.getData(_weatherParameters)) return;
|
||||
const weatherParameters = _weatherParameters ?? this.weatherParameters;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue