- 积分
- 640
- 金钱
- 576
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 640
- 金钱
- 576
- HASS币
- 0
|
发表于 2021-7-15 18:15:35
|
显示全部楼层
请教大佬,这个是什么问题啊?报错日志如下:
此错误来自自定义集成。
Logger: homeassistant
Source: custom_components/gjdw/sensor.py:68
Integration: gjdw (documentation)
First occurred: 下午6:05:15 (22 occurrences)
Last logged: 下午6:14:29
Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/data/data/com.termux/files/home/.homeassistant/custom_components/gjdw/sensor.py", line 68, in getData
self._state = self._data.info.remain
AttributeError: 'DetailInfo' object has no attribute 'remain'
|
|