Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Stations with more than on Word return no data #44

Open
MystifHA opened this issue Jul 28, 2024 · 4 comments
Open

Stations with more than on Word return no data #44

MystifHA opened this issue Jul 28, 2024 · 4 comments
Labels
dependency Issue within schiene python module, not the HA integration

Comments

@MystifHA
Copy link

The problem

Connections that contain stationnames with two or more words, like for example Nürnberg-Stein

image
return no values.
How can i fix this when creating the connection ?

I think it has something to do with the underscores.

Thanks a lot !

What version of Home Assistant Core has the issue?

2024.7.3

What version of DeutscheBahn Integration has the issue?

3.0.1

What type of installation are you running?

Home Assistant OS

Example YAML snippet

Example Sensor:
sensor.heilsbronn_to_nurnberg_stein

Anything in the logs that might be useful for us?

No response

Additional information

No response

@FaserF
Copy link
Owner

FaserF commented Jul 28, 2024

This seems to be the same issue as #38
I have prepared a fix. But it has to be merged into the Schiene python Module to be fixed

@MystifHA
Copy link
Author

I have no Problem with Nürnberg. Connections to Nürnberg deliver correct results. Only if the stationname consists of two or more words it delivers no results.

@FaserF FaserF added the dependency Issue within schiene python module, not the HA integration label Aug 24, 2024
@fuslwusl
Copy link

fuslwusl commented Oct 7, 2024

Same problem here. Connections with ßöäü do not work anymore since v3.0.2. version 3.0.1 works!

@FaserF
Copy link
Owner

FaserF commented Oct 13, 2024

Same problem here. Connections with ßöäü do not work anymore since v3.0.2. version 3.0.1 works!

This is not true. In general those stations work. I have also tested it for example with "München-Pasing" to "Würzburg" which just works fine. I have no clue why only some stations are not working right now.
Can you tell me what exactly worked in 3.0.1 thats now not working anymore with 3.0.2?

2024-10-13 15:40:17.282 DEBUG (MainThread) [custom_components.deutschebahn.sensor] Update the connection data for 'München-Pasing' 'Nürnberg-Stein'
2024-10-13 15:40:17.498 DEBUG (SyncWorker_59) [custom_components.deutschebahn.sensor] Fetched raw data: []

---> No issue with the integration, more with the dependency schiene, maybe my PR will help for this here too kennell/schiene#39

"München-Pasing" to "Nürnberg-Stein" for example does not work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependency Issue within schiene python module, not the HA integration
Projects
None yet
Development

No branches or pull requests

3 participants