Add air quality support to Open Meteo integration#146204
Add air quality support to Open Meteo integration#146204freundTech wants to merge 2 commits intohome-assistant:devfrom
Conversation
This PR depends on an accompanying PR in the open_meteo package: frenck/python-open-meteo#1042 To keep this PR small it currently only adds state attributes to the weather entity. Future PRs can add support for those attributes to the forecast service (though the air quality api only supports hourly data, so we would have to calculate the daily data ourselfes based on that) and provide further air quality metrics not supported by weather entities (such as pollen) as sensor entities.
|
Hey there @frenck, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
This fixes the missing method error in diagnostics.py
|
Hi @frenck, I know you're probably very busy with other parts of home-assistant, but you're the only maintainer of both this integration and the library backing it, so I wanted to ask when you might have time to review those changes, as both PRs have now been open for a month without any response. |
|
Putting to draft for now as its waiting on a library bump. I will remind Frenck, can't promise anything. |
|
I'll pick up upstream. However, please note, you shouldn't be opening pull requests in Home Assistant that are depending on upstream actions. It makes this PR non-actionable. This PR should have been closed. See also our developer documentation for this. ../Frenck |
|
@freundTech your upstream PR https://github.com/frenck/python-open-meteo/releases/tag/v0.4.0 has been merged, what now needs to happen is:
|
|
I'll look into it, but it could take a while. I'm currently on a business trip and my personal laptop stopped charging 2 days ago, so I'll have to wait until I have access to my desktop computer again. |
|
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
This PR depends on an accompanying PR in the open_meteo package: frenck/python-open-meteo#1042
To keep this PR small it currently only adds state attributes to the weather entity.
Future PRs can add support for those attributes to the forecast service (though the air quality api only supports hourly data, so we would have to calculate the daily data ourselves based on that) and provide further air quality metrics not supported by weather entities (such as pollen) as sensor entities.
Type of change
Additional information
Checklist
ruff format 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. TODO: open_meteo PR not yet mergedTo help with the load of incoming pull requests: