From d241e26b66579d9917ab7e996066d4961f8419e2 Mon Sep 17 00:00:00 2001 From: Scott Lewis Date: Fri, 5 Feb 2021 20:08:58 -0500 Subject: [PATCH] Very minor spell fix for hideFog --- MMM-DynamicWeather.js | 2 +- MMM-DynamicWeather.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-DynamicWeather.js b/MMM-DynamicWeather.js index 8a150e6..42aac3d 100644 --- a/MMM-DynamicWeather.js +++ b/MMM-DynamicWeather.js @@ -524,7 +524,7 @@ Module.register("MMM-DynamicWeather", { if (newCode_1 >= 801 && newCode_1 <= 804 && !this.config.hideClouds) { doUpdate_1 = true; } - if (newCode_1 >= 701 && newCode_1 <= 781 && !this.config.hideFogs) { + if (newCode_1 >= 701 && newCode_1 <= 781 && !this.config.hideFog) { doUpdate_1 = true; } this.allEffects.forEach(function (effect) { diff --git a/MMM-DynamicWeather.ts b/MMM-DynamicWeather.ts index 1237ad6..c55702f 100644 --- a/MMM-DynamicWeather.ts +++ b/MMM-DynamicWeather.ts @@ -603,7 +603,7 @@ Module.register("MMM-DynamicWeather", { if (newCode >= 801 && newCode <= 804 && !this.config.hideClouds) { doUpdate = true; } - if (newCode >= 701 && newCode <= 781 && !this.config.hideFogs) { + if (newCode >= 701 && newCode <= 781 && !this.config.hideFog) { doUpdate = true; } (this.allEffects as Effect[]).forEach((effect) => {