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 129, in setup
xiaomi.discover_gateways()
File "/usr/local/lib/python3.6/site-packages/xiaomi_gateway/__init__.py", line 107, in discover_gateways
resp["proto_version"] if "proto_version" in resp else None)
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: Unterminated string starting at: line 1 column 1022 (char 1021)