|
发表于 2018-11-15 11:37:21
|
显示全部楼层
本帖最后由 sangood 于 2018-11-15 17:57 编辑
你好,重启的时候,最新插件报错了:
2018-11-15 11:30:26 ERROR (Thread-6) [root] Extra data: line 1 column 83 (char 82)
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/switch/phicomm_dc1.py", line 56, in loop
self.update(5)
File "/home/homeassistant/.homeassistant/custom_components/switch/phicomm_dc1.py", line 96, in update
data = self.parseJsonData(data)
File "/home/homeassistant/.homeassistant/custom_components/switch/phicomm_dc1.py", line 189, in parseJsonData
return json.loads(jsonStr[l - 1])
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 83 (char 82) |
|