|
发表于 2018-7-28 15:31:14
|
显示全部楼层
Sat Jul 28 2018 15:21:43 GMT+0800 (CST)
Error while setting up platform gree
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/lib/python3.5/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/home/homeassistant/.homeassistant/custom_components/climate/gree.py", line 214, in async_setup_platform
gree = discover_devices()
File "/home/homeassistant/.homeassistant/custom_components/climate/gree.py", line 75, in discover_devices
data = _resp_convert(data)['pack']
File "/home/homeassistant/.homeassistant/custom_components/climate/gree.py", line 193, in respond
data = json.loads(string)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be st
这个错误是什么意思啊
|
|