一直报错翻了半天论坛也没发现怎么解决
Error during setup of component xiaomi_aqara
Traceback (most recent call last):
File "/usr/src/app/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/xiaomi_aqara.py", line 130, in setup
xiaomi.discover_gateways()
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 66, in discover_gateways
gateway.get('key'), self._interface, gateway.get('proto'))
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 209, in __init__
if self._discover_devices():
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 216, in _discover_devices
else self._send_cmd(cmd, "discovery_rsp")
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 309, in _send_cmd
resp = json.loads(data.decode())
File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 1025 (char 1024)