Adds docs for RainMachine component/hub#5251
Conversation
| footer: true | ||
| logo: rainmachine.png | ||
| ha_category: Hub | ||
| ha_release: 0.68 |
| required: false | ||
| type: boolean | ||
| default: true | ||
| zone_run_time: |
There was a problem hiding this comment.
Move this to the component page.
There was a problem hiding this comment.
Not understanding why? This follows a model similar to the Nest docs: https://www.home-assistant.io/components/sensor.nest/ – are you saying that configuration should only be mentioned in the component docs (and not mentioned at all in the platform docs)?
There was a problem hiding this comment.
Yes, since that's where (the component) you change the configuration. It doesn't make sense to mention it on another page.
| zone_run_time: 240 | ||
| ``` | ||
|
|
||
| {% configuration %} |
| </p> | ||
|
|
||
| The platform allows for either local (i.e., directly across the LAN) or remote (i.e., through RainMachine's cloud API) access; the route you choose will dictate what your configuration should look like. | ||
| ## {% linkable_title Configuring the Platform %} |
There was a problem hiding this comment.
Move this to the component page.
| # switch configuration options | ||
| ``` | ||
|
|
||
| {% configuration %} |
There was a problem hiding this comment.
Merge this with the configuration tag above. We should only have one of these sections with all options.
There was a problem hiding this comment.
My result feels awkward; pushing for you to review.
There was a problem hiding this comment.
This should still be merged with the config tag above ending on line 49.
There was a problem hiding this comment.
Sorry, I must be really dense. Will push shortly.
|
It's ok to have multiple configuration examples and the first one should be with only required items. My comment was regarding the configuration tag which is the spec for the configuration. There shall (:wink:) only be one of these. |
This reverts commit 34f75ff.
|
@bachya It should be something like (so there is only one |
| required: false | ||
| type: boolean | ||
| default: true | ||
| zone_run_time: |
There was a problem hiding this comment.
I think you should add a key switches here that is a map and has zone_run_time as an item nested below it.
|
WE DID IT. Thanks for your patience, @MartinHjelmare (and thank you, @arsaboo, for kicking me into action). |
|
Merging it as the parent PRs are already merged |
Description:
Adds docs necessary for moving RainMachine to component/hub model.
Pull request in home-assistant (if applicable): home-assistant/core#14085
Checklist:
current. New documentation for platforms/components and features should go tonext.