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