-
-
Notifications
You must be signed in to change notification settings - Fork 7
Canceled attribute not true for canceled connections #24
Comments
I had many chances throughout the last days (including today, even now) to test this and wanted to create an issue for the very same problem. Integration says everything is fine (even on time, no delay). Actually not a single train is driving. "SEV" by bus is the alternative following the DB app / website. As I just started to actually use this integration productively, this first impression does not paint a very reliable picture unfortunately :-(
|
Hi, thanks for the issue. Unfortunatly I dont think it's a issue with the integration. Most likely its a issue with the dependency where this integration is based on: The schiene module graps the informations from the bahn.de website. More details can be found above. |
So what can we do NOW about this?
|
Unfortunatly at homeassistant noone has showed support to the hafas homeassistant integration developer, therefore no new work has been done since some months on the pull request. Otherwise you can raise a ticket at schiene repo, but the developer there is not actively working anymore on schiene and I dont think that he will work on it. |
Oh great... sounds like only bad options - and therefore none at all. So...? Unreliable data produced by this issue is a real problem unfortunately. If I need to pull out my phone and check with official DB app if the train is actually driving at all - it makes the whole integration useless pretty fast unfortunately. |
For now I have no better options for you. The best to try is the custom integration from above. Please note that me and all the other developers mentioned here are doing it as a hobby within our free time. The current way is more a "hacky" way to grab the data from the bahn.de website, since DB does not offer any API connection. The HAFAS way is a real API (which is not meant for personal use, but does work). |
Hi, I tried the custom integration you mentioned above. To me it seems that the same "mistake" exists since the GDL is on its "usual" strike today ;-). Also with that integration I receive cancelled = false even on the bahn.de Site the connection is cancelled. Pretty sad that it also doesn't work properly. :-( |
Unfortunatly I dont think that we can do there anything on our end, since the API from the train sites then is providing it wrongly 👎🏼 |
The problem
The ongoing strike today is a good chance to test the "canceled" attribute.
Steps to reproduce:
Frankfurt(M)Flughafen
toKöln
, direct connection. Check the DB website and compare to the integration's attributesExpected result:
Actual result:
Canceled: false
What version of Home Assistant Core has the issue?
2023.11.2
What version of DeutscheBahn Integration has the issue?
bbd7bcd
What type of installation are you running?
Home Assistant OS
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: