diff --git a/server/scripts/modules/hourly-graph.mjs b/server/scripts/modules/hourly-graph.mjs index e110f34..9eed947 100644 --- a/server/scripts/modules/hourly-graph.mjs +++ b/server/scripts/modules/hourly-graph.mjs @@ -31,8 +31,8 @@ class HourlyGraph extends WeatherDisplay { if (!super.getData(undefined, refresh)) return; const data = await getHourlyData(() => this.stillWaiting()); - if (data === undefined) { - this.setStatus(STATUS.failed); + if (!data) { + if (this.isEnabled) this.setStatus(STATUS.failed); return; }