- 积分
- 789
- 金钱
- 601
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 789
- 金钱
- 601
- HASS币
- 0
|
从看到囧大的这个插件后,欣喜万分,好不容易能下载下来了,但是无法正常用,日志报错,希望囧大或者其他大神,能帮小弟看下,谢谢
我的是0.82.0 版的,不知道有没有影响
2018-11-20 09:01:40 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/token to 172.30.32.2 (auth: False)
2018-11-20 09:01:40 INFO (MainThread) [homeassistant.components.http.view] Serving /api/ to 172.30.32.2 (auth: True)
2018-11-20 09:02:21 WARNING (MainThread) [homeassistant.components.sensor] Updating phicomm_balance sensor took longer than the scheduled update interval 0:03:20
2018-11-20 09:03:27 ERROR (SyncWorker_19) [custom_components.sensor.phicomm_balance] get token failed
2018-11-20 09:03:27 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 240, in async_update_ha_state
device_attr = self.device_state_attributes
File "/config/custom_components/sensor/phicomm_balance.py", line 97, in device_state_attributes
'weight': self._detail['weight'],
KeyError: 'weight'
2018-11-20 09:05:42 INFO (SyncWorker_16) [custom_components.sensor.phicomm_balance] Updating the sensor...
2018-11-20 09:05:52 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.phicomm_balance is taking over 10 seconds
2018-11-20 09:06:40 INFO (MainThread) [homeassistant.components.http.view] Serving /api/ to 172.30.32.2 (auth: True)
2018-11-20 09:07:53 ERROR (SyncWorker_16) [custom_components.sensor.phicomm_balance] get token failed
2018-11-20 09:09:03 WARNING (MainThread) [homeassistant.components.sensor] Updating phicomm_balance sensor took longer than the scheduled update interval 0:03:20
2018-11-20 09:10:06 ERROR (SyncWorker_16) [custom_components.sensor.phicomm_balance] get token failed
2018-11-20 09:10:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 240, in async_update_ha_state
device_attr = self.device_state_attributes
File "/config/custom_components/sensor/phicomm_balance.py", line 97, in device_state_attributes
'weight': self._detail['weight'],
KeyError: 'weight'
2018-11-20 09:11:40 INFO (MainThread) [homeassistant.components.http.view] Serving /api/ to 172.30.32.2 (auth: True)
2018-11-20 09:12:23 INFO (SyncWorker_14) [custom_components.sensor.phicomm_balance] Updating the sensor...
2018-11-20 09:12:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.phicomm_balance is taking over 10 seconds
2018-11-20 09:14:32 ERROR (SyncWorker_14) [custom_components.sensor.phicomm_balance] get token failed
2018-11-20 09:15:44 WARNING (MainThread) [homeassistant.components.sensor] Updating phicomm_balance sensor took longer than the scheduled update interval 0:03:20
|
|