-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Update MVG documentation #5908
Update MVG documentation #5908
Conversation
Looks good, can be merged as soon as the parent PR gets merged. |
Perfect, thanks! |
- station: Scheidplatz | ||
products: ['U-Bahn'] | ||
directions: '1' | ||
``` | ||
The first sensor will return S-Bahn departures to Munich Airport or Markt Schwaben that are at least 2 minutes away. The second sensor returns U2 and U8 departures from Sendlinger Tor while the third sensor returns all south-bound U-Bahn trains from Scheidplatz. | ||
The first sensor will return S-Bahn departures to Munich Airport or Markt Schwaben that are at least 2 minutes away. | ||
The second sensor returns U2 and U8 departures from Sendlinger Tor and stores a total of 5 departures in attributes. To retrieve the time until the second departure, you would use states.sensor.entiy_name.attributes.departures[1].time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
states.sensor.ENTITY_NAME.attributes.departures[1].time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Description:
Pull request in home-assistant (if applicable): home-assistant/core#15454
Checklist:
current
. New documentation for platforms/components and features should go tonext
.