mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Merge pull request #2680 from rejas/issue_2678
This commit is contained in:
commit
7fdeed14f5
@ -17,6 +17,8 @@ _This release is scheduled to be released on 2022-01-01._
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fix feels_like data from openweathermaps current weather being ignored (#2678).
|
||||||
|
|
||||||
## [2.17.1] - 2021-10-01
|
## [2.17.1] - 2021-10-01
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -127,6 +127,8 @@ WeatherProvider.register("openweathermap", {
|
|||||||
|
|
||||||
currentWeather.humidity = currentWeatherData.main.humidity;
|
currentWeather.humidity = currentWeatherData.main.humidity;
|
||||||
currentWeather.temperature = currentWeatherData.main.temp;
|
currentWeather.temperature = currentWeatherData.main.temp;
|
||||||
|
currentWeather.feelsLikeTemp = currentWeatherData.main.feels_like;
|
||||||
|
|
||||||
if (this.config.windUnits === "metric") {
|
if (this.config.windUnits === "metric") {
|
||||||
currentWeather.windSpeed = this.config.useKmh ? currentWeatherData.wind.speed * 3.6 : currentWeatherData.wind.speed;
|
currentWeather.windSpeed = this.config.useKmh ? currentWeatherData.wind.speed * 3.6 : currentWeatherData.wind.speed;
|
||||||
} else {
|
} else {
|
||||||
|
1202
package-lock.json
generated
1202
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -47,12 +47,12 @@
|
|||||||
"homepage": "https://magicmirror.builders",
|
"homepage": "https://magicmirror.builders",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-plugin-jest": "^24.4.2",
|
"eslint-plugin-jest": "^24.5.2",
|
||||||
"eslint-plugin-jsdoc": "^36.1.0",
|
"eslint-plugin-jsdoc": "^36.1.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"express-basic-auth": "^1.2.0",
|
"express-basic-auth": "^1.2.0",
|
||||||
"husky": "^7.0.2",
|
"husky": "^7.0.2",
|
||||||
"jest": "^27.2.2",
|
"jest": "^27.2.4",
|
||||||
"jsdom": "^17.0.0",
|
"jsdom": "^17.0.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user