Skip to content

Fix windspeed conversion in openweathermap provider#2825

Merged
MichMich merged 4 commits intoMagicMirrorOrg:developfrom
rejas:issue_2812
Mar 22, 2022
Merged

Fix windspeed conversion in openweathermap provider#2825
MichMich merged 4 commits intoMagicMirrorOrg:developfrom
rejas:issue_2812

Conversation

@rejas
Copy link
Collaborator

@rejas rejas commented Mar 22, 2022

Fixes #2812

Windspeed conversion to kmh should happen only when displaying it in the njk. Internally the windspeed should be the m/s (metric)

The provider did convert it twice: once when loading the data from the api and then again when displaying it.

@MichMich MichMich merged commit c5e9c9a into MagicMirrorOrg:develop Mar 22, 2022
@rejas rejas deleted the issue_2812 branch March 22, 2022 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants