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

Only a Question #30

Open Frankymuc opened 5 months ago

Frankymuc commented 5 months ago

The problem

How can i enable that 2 or more Verbindungen visible. Since last update only one start / end time is visible. i have test all what i found but only 1 entry is visible.. thx (mein HA ist alles auf dem neuesten stand)

What version of Home Assistant Core has the issue?

2024.2.1

What version of DeutscheBahn Integration has the issue?

aktuell

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

apachelance commented 4 months ago

Same problem. I can only see one connection.

FaserF commented 2 months ago

Hi, per default you will see the next upcoming connection. You can see the more later ones then in the attributes: image

Is this what you were asking?

apachelance commented 2 months ago

Ok, then the representation of the results is not very user-friendly. Maybe a table view would be more useful, see sample:

image
FaserF commented 2 months ago

I am with you, this can be archieved with custom lovelace cards or custom template sensors by accessing the above sensor attributes

kingdingeling23 commented 2 months ago

I can see only the current and then the connection after that. Until a couple of weeks ago I was able to get the current end next 2 connections. Do you think it´s possible to also have the next 2 again?

Frankymuc commented 2 months ago

Ok, then the representation of the results is not very user-friendly. Maybe a table view would be more useful, see sample:

image

this were great to generate..how you do this? can you send this script / template or blueprint? where i fond this option?

Frankymuc commented 2 months ago

I can see only the current and then the connection after that. Until a couple of weeks ago I was able to get the current end next 2 connections. Do you think it´s possible to also have the next 2 again?

i have found a why we can only see since any time , only one entry in the DB card...the isue is a simple change from the name on the attribute section....here is the right entrys. with this i can see now 2 entrys in the card..see screeshort incl my actual configuration..

attributes: description: products departure_time: departure departure_delay: delay arrival_time: arrival arrival_delay: delay_arrival next_departure_time: next_1 next_arrival_time: next_1_arrival Screenshot_20240511_190242

Frankymuc commented 2 months ago

Hi, per default you will see the next upcoming connection. You can see the more later ones then in the attributes: image

Is this what you were asking?

no, that i not mean, take a look one message before...i mean the 1 entrys on the card, i have found mow the right , at this time i ask, i ses only one entry..i would like more as 2 if its working tell me a solution.but with 2 im hapy at this moment. zhe best was if yo can send the code for create this tabelle..

FaserF commented 1 month ago

Hi, per default you will see the next upcoming connection. You can see the more later ones then in the attributes: image Is this what you were asking?

no, that i not mean, take a look one message before...i mean the 1 entrys on the card, i have found mow the right , at this time i ask, i ses only one entry..i would like more as 2 if its working tell me a solution.but with 2 im hapy at this moment. zhe best was if yo can send the code for create this tabelle..

You can define how many connections you will see with the config option CONF_MAX_CONNECTIONS = "maximum count of connections that will be fetched"

This will be improved in Version 3.0.0