From 3a38d8e589ab134d7b46fa256df38718ee587b4e Mon Sep 17 00:00:00 2001 From: lanxu Date: Fri, 22 Apr 2022 11:10:36 +0300 Subject: [PATCH] Disabled masa's weather station for now --- plugins/weather.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/weather.js b/plugins/weather.js index 90d424e..25a88b5 100644 --- a/plugins/weather.js +++ b/plugins/weather.js @@ -107,7 +107,7 @@ class Weather extends BasePlugin { var promise = new Promise(function (resolve, reject) { Promise.all([ that.getTemperatures(owmCityIds), - that.getPenaTemperatures() + // that.getPenaTemperatures() ]).then(function (results) { var resultString = '' // OWM @@ -119,10 +119,10 @@ class Weather extends BasePlugin { resultString += '' + city + ' (' + temp + ' °C, ' + that.iconCodeToText[code] + '), ' }) - if (results[1].length > 0) { + /*if (results[1].length > 0) { var temp = Number(results[1][0].temp).toFixed(1) resultString += 'Aura (' + temp + ' °C)' - } + }*/ resolve(resultString) }, (str) => reject(str))