[Feature Request]: Add attributes 'departure_current' and 'arrival_current'
The request
Add two new attributes:
- combine the existing
departureattribute with the also existingdelayattribute to provide the newdeparture_currentattribute - combine the existing
arrivalattribute with the also existingdelay_arrivalattribute to provide the newarrival_currentattribute
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
Work is being done here: https://github.com/FaserF/ha-deutschebahn/pull/26
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
Works great! Installed https://github.com/FaserF/ha-deutschebahn/releases/tag/3.0.0, adjusted my whole GUI (quite a lot of work with all the attributes, especially as the native attribute card can not handle arrays so I had to switch to custom:template-entity-row and do everything by hand) and added the new attributes.
Perfect, thank you very much! Those new attributes are very helpful.