- 积分
- 963
- 金钱
- 705
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 963
- 金钱
- 705
- HASS币
- 0
|
发表于 2019-1-23 07:58:11
|
显示全部楼层
很喜欢这个插件,也可以正常使用,但log中经常报错,请大神看看怎么回事?
Update for sensor.doubanmovie fails
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/sensor/DouBanMovie.py", line 83, in update
_Log.error("[DouBanMovie]: http get error code --" + resp.status_code)
TypeError: must be str, not int
|
|