After update to 0.115 the HA log gets repeating error every 4-5 sec.
No yaml, since squezeebox integration works now via GUI setup.
2020-09-25 21:57:06 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 592, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 806, in state_attributes
value = getattr(self, attr)
File "/usr/src/homeassistant/homeassistant/components/squeezebox/media_player.py", line 360, in media_duration
return self._player.duration
File "/usr/local/lib/python3.8/site-packages/pysqueezebox/player.py", line 105, in duration
if self.current_track and "duration" in self.current_track:
File "/usr/local/lib/python3.8/site-packages/pysqueezebox/player.py", line 165, in current_track
return self._status["playlist_loop"][self.current_index]
TypeError: 'NoneType' object is not subscriptable
Media players more or less stay working even with this errors.
The problem
After update to 0.115 the HA log gets repeating error every 4-5 sec.
Environment
Problem-relevant
configuration.yamlTraceback/Error logs
Additional information
Media players more or less stay working even with this errors.