2018-02-26 22:46:03 ERROR (SyncWorker_6) [custom_components.sensor.aircat] exception: Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/sensor/aircat.py", line 46, in update
if ('error' in result) and (result['error'] != '0'):
TypeError: argument of type 'NoneType' is not iterable
HASSIO 报Testing configuration at /config
Fatal error while loading config: invalid syntax (aircat.py, line 2)
Failed config
General Errors:
- invalid syntax (aircat.py, line 2)