Sensor stopped working suddenly... anyone can help me?


I have this sensor which tells the buss time and it was working fine… but suddenly today it stopped working and i cannot understand why?
Im using the latest version of the assistant.

here is the log:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/”, line 204, in async_update_ha_state
yield from self.async_device_update()
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/”, line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.6/asyncio/”, line 332, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/”, line 250, in _wakeup
File “/usr/lib/python3.6/asyncio/”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/sensor/”, line 156, in update
for idx, value in enumerate([‘ResponseData’][traffictype]):
KeyError: ‘ResponseData’

Is it a custom sensor? Did you made it yourself or downloaded somewhere?