Anyone has multiple deutsche_bahn sensors

sensors:
  - platform: deutsche_bahn
    from: Taborstr., Berlin
    to: Berlin-Adlershof

  - platform: deutsche_bahn
    from: Taborstr., Berlin
    to: Bethaniendamm, Berlin

I have this, however the second one never gets created. I checked with schiene and there it works.

Any help would be appreciated.

This configuration works fine for me on dev.

thanks!

It’s indeed working in the beta from today!

And with the latest update it’s not working anymore. But this time the other sensor is not working. Maybe the scraping of the webpage is just unreliable…

Any news?
I tried to add multiple sensors for different departures, but it only shows the first one…

for me it works. I have this:

sensor:
  - platform: deutsche_bahn
    from: Taborstr., Berlin
    to: Berlin-Adlershof

  - platform: deutsche_bahn
    from: Taborstr., Berlin
    to: Bethaniendamm, Berlin

however it only works sometimes. I have to restart multiple times to get it working. I suspect during the initialisation sometimes a time-out occurs and then that’s it…

I think it is connected with this:

"
Note: if you do not need live information (delays etc.) you can use the new official Fahrplan API from Deutsche Bahn. Also, the Bahn.de HTML code is a steaming pile of shit that can cause this library to break at any time. Do not use for any critical stuff.
"
https://github.com/kennell/schiene