Is this related to my issue which is weather.richmond has been AWOL for a long time now and I have the following log entry at startup…
Error adding entities for domain weather with platform environment_canada
Error while setting up environment_canada platform for weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 588, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 666, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/weather/__init__.py", line 243, in state
return self.condition
File "/usr/src/homeassistant/homeassistant/components/environment_canada/weather.py", line 164, in condition
elif self.ec_data.hourly_forecasts[0].get("icon_code"):
IndexError: list index out of range
I’ve also tried the Vancouver station as well as unspecified but same error.
My config is: