FaserF / ha-deutschebahn

Unofficial HA DB Integration, due to removal as of Home Assistant 2022.11
Apache License 2.0
40 stars 7 forks source link

[Feature Request]: Add attributes 'departure_current' and 'arrival_current' #25

Open bcutter opened 7 months ago

bcutter commented 7 months ago

The request

Add two new attributes:

This way we can easily get the actual (current) departure / arrival times. No additional math on user side needed.

Is your feature request related to a problem?

The problem is, that if you have "16:47 +23" you have to calculate on your own (either in your head or by additional templating involving some significant Jinja magic) what the actual time including the delay is.

Additional information

https://community.home-assistant.io/t/configuration-deutsche-bahn-integration/402377/10

FaserF commented 7 months ago

Work is being done here: https://github.com/FaserF/ha-deutschebahn/pull/26

FaserF commented 4 weeks ago

Please give it a try with the new version 3.0.0-b1 https://github.com/FaserF/ha-deutschebahn/releases/tag/3.0.0-b1