Update history_graph and netatmo config specifications. (#6707)

* Clean up configuration options for history_graph

* Update netatmo config formatting

* Remove title

* Minor fixes
This commit is contained in:
Travis Carr 2018-10-12 11:08:42 -07:00 committed by Fabian Affolter
parent 30f0977b37
commit 968403251a
2 changed files with 44 additions and 13 deletions

View File

@ -30,14 +30,27 @@ history_graph:
``` ```
### {% linkable_title Configuration variables %} {% configuration %}
entities:
| Attribute | Optional | Default | Description | description: List of entities whose history to show as a graph.
|---------------------------|----------|-------------------------------------------------------| required: true
| `entities` | no | | List of entities whose history to show as a graph. | type: string
| `name` | yes | ID | Name to display. | name:
| `hours_to_show` | yes | 24 | Number of hours to show. | description: Name to display.
| `refresh` | yes | 0 | Number of seconds between graph refreshes. 0 for no refreshes. | required: false
default: ID
type: string
hours_to_show:
description: Number of hours to show in the graph.
required: false
default: 24
type: integer
refresh:
description: Number of seconds between graph refreshes. 0 to disable refreshing.
required: false
default: 0
type: integer
{% endconfiguration %}
### {% linkable_title Full Example %} ### {% linkable_title Full Example %}

View File

@ -29,11 +29,29 @@ netatmo:
Configuration variables: Configuration variables:
- **api_key** (*Required*): The `client id` form your Netatmo app. {% configuration %}
- **secret_key** (*Required*): The `client secret` form your Netatmo app. api_key:
- **username** (*Required*): Username for the Netatmo account. description: The `client id` from your Netatmo app.
- **password** (*Required*): Password for the Netatmo account. required: true
- **discovery** (*Optional)*: Whether to discover Netatmo devices. Set it to False, if you want to choose which Netatmo device you want to add (default True). type: string
secret_key:
description: The `client secret` from your Netatmo app.
required: true
type: integer
username:
description: Username for the Netatmo account.
required: true
type: string
password:
description: Password for the Netatmo account.
required: true
type: string
discovery:
description: Whether to discover Netatmo devices. Set it to False, if you want to choose which Netatmo device you want to add.
required: false
type: string
default: true
{% endconfiguration %}
### {% linkable_title Get API and Secret Key %} ### {% linkable_title Get API and Secret Key %}