Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show info on unavailable/interrupted service #16

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

cschilling
Copy link
Contributor

As of now there will be an error if the state of an Entity is "unavailable" that prevents the card from rendering (${stateObj.attributes['next'].map cannot be called on those entities).
This is eg. right now the case with the S2 at station "Stadthausbrücke".

This change displays an icon next to the "friendly_name" (if set) to indicate an outage and renders all other lines regardless.

As of now there will be an error if the state of an Entity is "unavailable" that prevents the card from rendering. This change displays an icon next to the "friendly_name" (if set) to indicate an outage.
@nilstgmd
Copy link
Owner

LGTM

@nilstgmd nilstgmd merged commit 1fd99ee into nilstgmd:main Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants