We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9b5ad commit 6e00270Copy full SHA for 6e00270
apps/weather/lib.js
@@ -96,7 +96,7 @@ function update(weatherEvent) {
96
exports.emit("update", weather);
97
} else if (weather1.weather != null && weather1.weather.feels === undefined) {
98
// Grab feels like temperature as we have it in v2
99
- weather1.weather.feels = decodeWeatherV2FeelsLike(weatherEvent);
+ weather1.weather.feels = decodeWeatherV2FeelsLike(weatherEvent) + 273;
100
storage.write("weather.json", weather1);
101
exports.emit("update", weather1);
102
}
@@ -290,7 +290,7 @@ function downgradeWeatherV2(weather2) {
290
wdir: weather2.wdir,
291
wrose: weather2.wrose,
292
loc: weather2.loc,
293
- feels: weather2.feels,
+ feels: weather2.feels + 273,
294
};
295
296
return json;
0 commit comments