- 积分
- 971
- 金钱
- 764
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 971
- 金钱
- 764
- HASS币
- 0
|
发表于 2019-2-16 18:23:36
|
显示全部楼层
2019-02-16 17:59:42 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.192_168_0_132 fails
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 196, in async_update_ha_state
yield from self.async_device_update()
File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 319, 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 "/home/homeassistant/.homeassistant/custom_components/media_player/dlna.py", line 118, in update
self._media_position = (int(relTimeArr[0]) * 3600 + int(relTimeArr[1]) * 60 + int(relTimeArr[2]) )
ValueError: invalid literal for int() with base 10: 'NOT_IMPLEMENTED'
|
|