Hello,
can anyone confirm that the Deutsche Bahn component is broken? I get these lines in my logfile:
2017-11-14 16:50:59 ERROR (MainThread) [homeassistant.components.sensor] Error on device update!
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py”, line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py”, line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/sensor/deutsche_bahn.py”, line 76, in update
self.data.update()
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/sensor/deutsche_bahn.py”, line 97, in update
self.start, self.goal, dt_util.as_local(dt_util.utcnow()))
File “/etc/homeassistant/deps/lib/python3.5/site-packages/schiene/schiene.py”, line 105, in connections
return parse_connections(rsp.text)
File “/etc/homeassistant/deps/lib/python3.5/site-packages/schiene/schiene.py”, line 16, in parse_connections
price = columns[3].contents[3].string.strip().replace(‘,’, ‘.’)
AttributeError: ‘NoneType’ object has no attribute ‘strip’