Is the season sensor (sensor.season) broken, I have the following error in my log over 2000 times since yesterday?
2018-11-14 17:27:55 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.season fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/season.py", line 122, in update
self.season = get_season(self.datetime, self.hemisphere, self.type)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/season.py", line 67, in get_season
import ephem
File "/srv/homeassistant/lib/python3.5/site-packages/ephem/__init__.py", line 5, in <module>
import ephem._libastro as _libastro
AttributeError: module 'ephem' has no attribute '_libastro'
Where does the above go? I currently have been adding all my devices to HA and am allowing the configuration to auto create elements on the default view. Is this something I would have to switch to manual configuration and edit the lovelace file directly?
As said, the above is a customization, so goes in the customize section.
Forget about the _stateDisplay part, since that isn’t supported any longer with nowadays HA.