home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.16k stars 29.84k forks source link

Environment Canada AQHI Not Updating #124885

Open Spritzup opened 2 weeks ago

Spritzup commented 2 weeks ago

The problem

AQHI for the Environment Canada integration doesn't update, yet works fine Core 2024.5.5. Investigating the debug logs shows that on more recent versions of HA the integration is trying to hit "AQ_OBS_EGLTT_CURRENT", which doesn't exist. On the older version it was hitting "FEVNT" (for Ontario).

Related to that, for some reason the integration is trying to pull data from Quebec, despite inputting the correct station for Ottawa (ON/s0000430).

What version of Home Assistant Core has the issue?

2024.8.3

What was the last working version of Home Assistant Core?

2024.5.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Environment Canada

Link to integration documentation on our website

https://www.home-assistant.io/integrations/environment_canada

Diagnostics information

home-assistant_environment_canada_2024-08-29T20-08-19.927Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

From the older system where it works -->

2024-08-29 16:05:36.734 DEBUG (MainThread) [env_canada.ec_weather] get_ec_sites() started 2024-08-29 16:05:36.837 DEBUG (MainThread) [env_canada.ec_weather] get_ec_sites() done, retrieved 844 sites 2024-08-29 16:05:36.837 DEBUG (MainThread) [env_canada.ec_weather] update(): station ON/s0000430 lat 45.330000 lon -75.580000 2024-08-29 16:05:36.906 INFO (MainThread) [homeassistant.components.environment_canada] Fetching environment_canada weather data recovered 2024-08-29 16:05:36.906 DEBUG (MainThread) [homeassistant.components.environment_canada] Finished fetching environment_canada weather data in 0.172 seconds (success: True) 2024-08-29 16:05:41.169 INFO (MainThread) [homeassistant.components.environment_canada] Fetching environment_canada radar data recovered 2024-08-29 16:05:41.169 DEBUG (MainThread) [homeassistant.components.environment_canada] Finished fetching environment_canada radar data in 4.261 seconds (success: True) 2024-08-29 16:05:41.169 DEBUG (MainThread) [env_canada.ec_aqhi] get_aqhi_regions() started 2024-08-29 16:05:41.237 DEBUG (MainThread) [env_canada.ec_aqhi] get_aqhi_regions(): found 135 regions 2024-08-29 16:05:41.274 DEBUG (MainThread) [env_canada.ec_aqhi] update() closest region returned: zone_id 'ont' region_id 'FEVNT' 2024-08-29 16:05:41.335 DEBUG (MainThread) [env_canada.ec_aqhi] update(): aqhi_current 1 timestamp 2024-08-29 19:00:00+00:00 2024-08-29 16:05:41.403 INFO (MainThread) [homeassistant.components.environment_canada] Fetching environment_canada AQHI data recovered 2024-08-29 16:05:41.403 DEBUG (MainThread) [homeassistant.components.environment_canada] Finished fetching environment_canada AQHI data in 0.234 seconds (success: True)

home-assistant[bot] commented 2 weeks ago

Hey there @gwww, @michaeldavie, mind taking a look at this issue as it has been labeled with an integration (environment_canada) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `environment_canada` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign environment_canada` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


environment_canada documentation environment_canada source (message by IssueLinks)