Hamburg-Eidelstedt not working
fabsenet opened this issue · 2 comments
Not working:
>>> s.connections('Hamburg Burgwedel', 'Hamburg-Eidelstedt')
[]
Working:
>>> s.connections('Hamburg Burgwedel', 'Hamburg-Eidelstedt Zentrum')
[{'details': '...snipped..., 'canceled': False}]
"Hamburg-Eidelstedt" and "Hamburg-Eidelstedt Zentrum" are different stations and I want to have the first one as my target stations but it does not work. Is there something I can do? I am actually using homeassistent but I tried this explicitly in a python shell to pinpoint the issue.
Can reproduce and confirm; but don't have a solution at hand right now
Hi,
just found a workaround. Had the same issue and the problem occour when the train station name have multiple matches. Go to https://mobile.bahn.de/bin/mobil/query.exe/dox?country=DEU&rt=1&use_realtime_filter=1&webview=&searchMode=NORMAL and search for your stations. If there is a exact match the search will show the results. Otherwiese it will ask you which station you meant. For me i had to choose the entry with the street name included.
Just copy and paste the selection to your homeassistant config and all works like it should ;)