- 积分
- 7608
- 金钱
- 4616
- 威望
- 0
- 贡献
- 0
- HASS币
- 398
超级版主
我就是六神
 
- 积分
- 7608
- 金钱
- 4616
- HASS币
- 398
  


|
发表于 2019-5-29 23:00:09
|
显示全部楼层
aliddns: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update
await self.async_update()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/config/custom_components/aliddns/sensor.py", line 276, in async_update
rc_record_id = self.check_record_id(self.sub_domain, self.domain); # 获取记录信息
File "/config/custom_components/aliddns/sensor.py", line 134, in check_record_id
result = result['DomainRecords']['Record'] # 缩小数据范围
KeyError: 'DomainRecords'
access_id和key用了子用户的,出现这个错误 |
|