2020-09-14 14:21:46 ERROR (MainThread) [homeassistant.components.weather] Error while setting up hf_weather platform for weather
Traceback (most recent call last):
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities
await asyncio.gather(*tasks)
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 451, in _async_add_entity
entity.async_write_ha_state()
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 290, in async_write_ha_state
self._async_write_ha_state()
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
sstate = self.state
File "/home/homeassistant/lib/python3.7/site-packages/homeassistant/components/weather/__init__.py", line 188, in state
return self.condition
File "/home/homeassistant/.homeassistant/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