2017-09-07 21:36:56 ERROR (Thread-2) [custom_components.sensor.gaodetraffic] Json Status Error1!
2017-09-07 21:36:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform gaodetraffic
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/sensor/gaodetraffic.py", line 58, in setup_platform
gaodetraffic = gaodetrafficSensor(hass,sensor_name,gaodetrafficData)
File "/home/homeassistant/.homeassistant/custom_components/sensor/gaodetraffic.py", line 78, in __init__
self.update()
File "/home/homeassistant/.homeassistant/custom_components/sensor/gaodetraffic.py", line 109, in update
self._data.update()
AttributeError: 'NoneType' object has no attribute 'update'