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

Update MVG documentation #5908

Merged
merged 2 commits into from
Jul 30, 2018
Merged

Conversation

mountainsandcode
Copy link
Contributor

@mountainsandcode mountainsandcode commented Jul 28, 2018

Description:

Pull request in home-assistant (if applicable): home-assistant/core#15454

Checklist:

  • Branch: Fixes, changes and adjustments should be created against current. New documentation for platforms/components and features should go to next.
  • The documentation follow the standards.

@ghost ghost added the to-do label Jul 28, 2018
@fabaff fabaff changed the title Update MVG documentation for changes in 15454 Update MVG documentation Jul 28, 2018
@frenck frenck added next This PR goes into the next branch has-parent This PR has a parent PR in a other repo new-feature This PR adds documentation for a new Home Assistant feature to an existing integration ready-for-review This PR needs to be reviewed and removed to-do labels Jul 29, 2018
@frenck
Copy link
Member

frenck commented Jul 29, 2018

Looks good, can be merged as soon as the parent PR gets merged.
Thank @mountainsandcode! 👍

frenck
frenck previously approved these changes Jul 29, 2018
@frenck frenck added awaits-parent Awaits the merge of an parent PR and removed ready-for-review This PR needs to be reviewed labels Jul 29, 2018
@DavidMStraub
Copy link
Contributor

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

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.

Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@frenck frenck merged commit bcc0734 into home-assistant:next Jul 30, 2018
@ghost ghost removed the awaits-parent Awaits the merge of an parent PR label Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-parent This PR has a parent PR in a other repo new-feature This PR adds documentation for a new Home Assistant feature to an existing integration next This PR goes into the next branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants