|
发表于 2018-11-9 15:10:03
|
显示全部楼层
出问题了。
aliddns: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/config/custom_components/sensor/aliddns.py", line 275, in async_update
rc_value = self.my_ip()
File "/config/custom_components/sensor/aliddns.py", line 179, in my_ip
ip2 = self.my_ip_popen()
File "/config/custom_components/sensor/aliddns.py", line 165, in my_ip_popen
get_ip_responses = get_ip_method.readlines()[0] # 读取 HTTP 请求值
IndexError: list index out of range |
|