Weather units: knx to metoffice (3/4)#60830
Weather units: knx to metoffice (3/4)#60830rianadon wants to merge 12 commits intohome-assistant:devfrom
Conversation
|
Hey there @Julius2342, @farmio, @marvin-w, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey there @DylanGore, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey there @MrHarcombe, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey there @Danielhiversen, @thimic, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey there @hacf-fr, @oncleben31, @Quentame, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Hey there @adrianmo, mind taking a look at this pull request as it has been labeled with an integration ( |
marvin-w
left a comment
There was a problem hiding this comment.
KNX looks good, just a minor cosmetic change!
|
@rianadon Please rebase again and fix the conflicts |
Slight problem, being the UK MetOffice is that the units given aren't correct. According to the API reference, for starters, the wind speed is given in miles per hour, not kilometers per hour. Sorry. |
avee87
left a comment
There was a problem hiding this comment.
Yeah MetOffice returns mph for wind speed. Unfortunately, it means that you will need to update tests which will have different values for wind speed because tests run with metric system.
|
Thank you all for the corrections! I hope I got the units right this time. |
avee87
left a comment
There was a problem hiding this comment.
MetOffice looks good but please check my comment in code
marvin-w
left a comment
There was a problem hiding this comment.
KNX looks good now, thanks!
51fa9c5 to
f0def5a
Compare
|
Rebased to deal with the merge conflict. |
|
This is a massive breaking change. Also:
|
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Proposed change
Uses the new weather conversion in the weather entity ( #59533) to convert weather values to the configured units.
Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: