Add missing AEMET weather units#70165
Conversation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
4b05795 to
07bdf4e
Compare
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Kane610
left a comment
There was a problem hiding this comment.
Looks good!
Should this be considered a breaking change since it affects data output?
Changed to a Breaking change. |
|
This seems to be the same or very similar to #61471, which was not accepted. |
As far as I know, #61471 became stale so it wasn't strictly rejected. |
|
While the code looks fine, I didn't merge because I want to understand all the history of this comment #61471 (comment) and how it affects this PR first |
Seems that those other mentioned integrations were changing the weather attributes units to the ones wanted for each integration "localization". So, AFAIK, there are 2 issues here:
|
|
There is some discussion here: |
Ok, so the problem was generated by #59533 in the first place... |
Hello @bdraco : ¿Any news on this merge? |
|
Nope. Haven't had time to look into it |
|
I spent a while reading the old PRs. I think they are a bit of a red herring in this case as it looks like this is simply correcting the units to match how the api is reporting them. |
Breaking change
AEMET weather pressure and wind speed were reported with the default units which didn't match the real units of those weather attributes (Pa vs hPa and m/s vs km/h).
Proposed change
Add missing AEMET weather units: #68619
Also add myself back to CODEOWNERS.
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: