Hey @panosmz,
I’ve configured the OASA Telematics as following:
- platform: oasa_telematics
name: 421
route_id: 2114
stop_id: '330077'
But all I get is “unknown” and no actual data.
Does anyone have an idea about what’s the issue ?
I’m on Hassio 0.92.0.
Thank you !
Log:
2019-04-26 07:47:20 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform oasa_telematics is taking over 10 seconds.
2019-04-26 07:47:21 ERROR (MainThread) [homeassistant.components.sensor] oasa_telematics: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/oasa_telematics/sensor.py", line 116, in update
self.data.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/oasa_telematics/sensor.py", line 190, in update
sort = sorted(self.info, itemgetter(ATTR_NEXT_ARRIVAL))
TypeError: sorted expected 1 arguments, got 2