Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 408, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 286, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/weather/__init__.py", line 188, in state
return self.condition
File "/config/custom_components/hf_weather/weather.py", line 161, in condition
return [k for k, v in CONDITION_CLASSES.items() if self._condition in v][0]
IndexError: list index out of range