You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Set isCalculated = true to prevent warning spam (6 warnings per minute).
218
-
// When user sets valid lat/lon, the setters reset isCalculated = false, triggering recalculation.
219
-
this.isCalculated=true;
220
-
logger.warn(`dt:${this.dt} lat:${this._latitude} lon:${this._longitude} Not enough information to calculate Heliotrope. See https://github.com/tagyoureit/nodejs-poolController/issues/245`);
224
+
if(!this._warningSuppressed){
225
+
logger.warn(`dt:${this.dt} lat:${this._latitude}lon:${this._longitude} Not enough information to calculate Heliotrope. See https://github.com/tagyoureit/nodejs-poolController/issues/245`);
0 commit comments