Open saschmit opened 4 months ago
Hey there @asymworks, mind taking a look at this issue as it has been labeled with an integration (airnow
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
airnow documentation airnow source (message by IssueLinks)
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (sensor
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
sensor documentation sensor source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Sorry, I'm still seeing this in the latest version.
I am seeing the same issue and error logged in my instance of HA, too.
I am as well, seems the codebase owner hasn't been able to fix this yet :(
The problem
I've been getting this error in the logs:
Digging into the Python code, this is because the code assumes that one of the observations will have PM2.5 data, but my response only has O3 data, so the date information, while present in the original response, doesn't get copied over.
The response JSON (redacted):
What version of Home Assistant Core has the issue?
core-2024.4.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
AirNow
Link to integration documentation on our website
https://www.home-assistant.io/integrations/airnow
Diagnostics information
{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.4.4", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.2", "docker": true, "arch": "aarch64", "timezone": "America/New_York", "os_name": "Linux", "os_version": "6.6.25-haos", "supervisor": "2024.04.0", "host_os": "Home Assistant OS 12.2", "docker_version": "25.0.5", "chassis": "embedded", "run_as_root": true }, "custom_components": {}, "integration_manifest": { "domain": "airnow", "name": "AirNow", "codeowners": [ "@asymworks" ], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/airnow", "iot_class": "cloud_polling", "loggers": [ "pyairnow" ], "requirements": [ "pyairnow==1.2.1" ], "is_built_in": true }, "data": { "entry": { "entry_id": "33df49fccd4bbc3f7e7429e10a30c55a", "version": 2, "minor_version": 1, "domain": "airnow", "title": "REDACTED", "data": { "api_key": "REDACTED", "latitude": "REDACTED", "longitude": "REDACTED" }, "options": { "radius": 150 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "REDACTED", "disabled_by": null }, "data": { "O3": 0.049, "AQI": 45, "Category.Number": 1, "Category.Name": "Good", "Pollutant": "O3" } }
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response