Exception: Traceback (most recent call last):
File "/config/custom_components/sensor/phicomm.py", line 187, in update_data
if ('error' in json) and (json['error'] != '0'):
TypeError: argument of type 'NoneType' is not iterable
这个错误咋整?
已经解决。。。我是小白,打扰了