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

Only a Question #30

Open
Frankymuc opened this issue Feb 13, 2024 · 12 comments
Open

Only a Question #30

Frankymuc opened this issue Feb 13, 2024 · 12 comments
Assignees
Labels
question Further information is requested

Comments

@Frankymuc
Copy link

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
Copy link

Same problem. I can only see one connection.

@FaserF FaserF added the question Further information is requested label May 1, 2024
@FaserF
Copy link
Owner

FaserF commented May 1, 2024

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?

@FaserF FaserF self-assigned this May 1, 2024
@apachelance
Copy link

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

image

@FaserF
Copy link
Owner

FaserF commented May 2, 2024

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

@kingdingeling23
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Frankymuc commented May 13, 2024

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
Copy link
Owner

FaserF commented Jun 9, 2024

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

@Frankymuc
Copy link
Author

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

hi, sorry for answer to late...i have in this option xample 5 or 6 or other, but i can see only the akrual + the next..see the screenshot..
db

@FaserF
Copy link
Owner

FaserF commented Jul 23, 2024

Are you already running the Version 3 Beta?
And what you are using is a custom card. The other attributes are available as additional sensor attributes

@Frankymuc
Copy link
Author

Are you already running the Version 3 Beta? And what you are using is a custom card. The other attributes are available as additional sensor attributes

hi, since yesterday the version 3 is arrived here as update. have doit and its wors better, not perfect..in the setings in devices page if i open not all is visible and if i changed from 2 of 3 entrys to visible, its not save the config...but if i g directly in the card - yaml code and take your example and changed the sensor and in the option to see example 4 next times to start a u-bahn its works but nor 100 procent.in one card i can max 4 in the other only 3 usw...i think i must remove complett the integration and instal new.i wil test it the next days if im not so busy...fat is its works more as 2 entrys.at the moment its ok if i see 3 or 4 / 5 .thanks for this integration..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants