core: [environment canada] Weather update failed; no timestamp found
The problem
All Environment Canada sensors other than AQHI and the radar map are not updating
Wasn’t sure if this started in 2023.10.0 so I reverted to 2023.9.3 and it’s still a problem.
What version of Home Assistant Core has the issue?
2023.10.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
environment canada
Link to integration documentation on our website
https://www.home-assistant.io/integrations/environment_canada/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2023-10-06 08:18:55.398 ERROR (MainThread) [homeassistant.components.environment_canada] Unexpected error fetching environment_canada weather data: Weather update failed; no timestamp found
Traceback (most recent call last):
File "/lsiopy/lib/python3.11/site-packages/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/homeassistant/components/environment_canada/__init__.py", line 116, in _async_update_data
await self.ec_data.update()
File "/lsiopy/lib/python3.11/site-packages/env_canada/ec_weather.py", line 378, in update
raise ECWeatherUpdateFailed("Weather update failed; no timestamp found")
env_canada.ec_weather.ECWeatherUpdateFailed: Weather update failed; no timestamp found
2023-10-06 08:18:55.409 WARNING (MainThread) [homeassistant.components.environment_canada] Unable to retrieve Environment Canada weather
Additional information
I tried to remove and re-add my location but that also doesn’t work and I get the following error
2023-10-06 10:24:25.871 ERROR (MainThread) [homeassistant.components.environment_canada.config_flow] Unexpected exception
Traceback (most recent call last):
File "/lsiopy/lib/python3.11/site-packages/homeassistant/components/environment_canada/config_flow.py", line 53, in async_step_user
info = await validate_input(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/homeassistant/components/environment_canada/config_flow.py", line 29, in validate_input
await weather_data.update()
File "/lsiopy/lib/python3.11/site-packages/env_canada/ec_weather.py", line 378, in update
raise ECWeatherUpdateFailed("Weather update failed; no timestamp found")
env_canada.ec_weather.ECWeatherUpdateFailed: Weather update failed; no timestamp found
No response
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 15 (10 by maintainers)
Thanks for the suggestion! This fix should be included in the next release.
This fix has been included in version 2023.10.2.
Thanks, @michaeldavie for the fix!
For all others interested, I wrote to EC regarding the data outage and received a response. As suspected, NAVCAN’s YKZ Buttonville weather station is confirmed to be permanently closed (with the airport closing end of Nov). EC’s website and app do use YTZ as backup, but the Datamart (used for this integration) does not. Their next relevant update is scheduled for March 2024, so no
currentConditionswill be returned for Markham, Vaughan and Richmond Hill until then.Looks great, @michaeldavie! Thanks again for your work on this, it’s appreciated.
@home-assistant reopen
@home-assistant close