Update for sensor.openweathermap_wind_bearing fails

not sure if this is the correct section to put this…

Getting this error:

2018-05-30 10:15:59 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.openweathermap_wind_bearing fails
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 204, in async_update_ha_state
yield from self.async_device_update()
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/sensor/openweathermap.py”, line 155, in update
self._state = round(data.get_wind()[‘deg’], 1)
KeyError: ‘deg’

no issue, I just like having an error free log file :slight_smile:

1 Like

Anyone? I get this error twice a minute, and other messages are “lost” between them…
seems like a simple case of error handling…