Disabled masa's weather station for now

This commit is contained in:
lanxu 2022-04-22 11:10:36 +03:00
parent de4d35d213
commit 3a38d8e589

View File

@ -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))