I just upgraded to 0.115.1. I had an old ‘yr’ weather integration still set up that was deprecated and when I noticed the error I deleted it from my config and found info on the Met.no integration.
I’ve added it manually through the integrations panel and it seems to work, but I have no weather information and I see this in the logs;
Logger: homeassistant.components.weather
Source: components/met/weather.py:218
Integration: Weather (documentation, issues)
First occurred: 6:51:21 PM (2 occurrences)
Last logged: 7:12:19 PM
Error while setting up met platform for weather
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform
await asyncio.gather(*pending)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities
await asyncio.gather(*tasks)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 481, in _async_add_entity
await entity.add_to_platform_finish()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 522, in add_to_platform_finish
self.async_write_ha_state()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/weather/__init__.py", line 177, in state_attributes
if self.forecast is not None:
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/met/weather.py", line 218, in forecast
ha_item[ATTR_FORECAST_CONDITION]
KeyError: 'condition'
Is this a bug or do I have something misconfigured?