mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
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:
parent
30f0977b37
commit
968403251a
@ -30,14 +30,27 @@ history_graph:
|
||||
|
||||
```
|
||||
|
||||
### {% linkable_title Configuration variables %}
|
||||
|
||||
| Attribute | Optional | Default | Description |
|
||||
|---------------------------|----------|-------------------------------------------------------|
|
||||
| `entities` | no | | List of entities whose history to show as a graph. |
|
||||
| `name` | yes | ID | Name to display. |
|
||||
| `hours_to_show` | yes | 24 | Number of hours to show. |
|
||||
| `refresh` | yes | 0 | Number of seconds between graph refreshes. 0 for no refreshes. |
|
||||
{% configuration %}
|
||||
entities:
|
||||
description: List of entities whose history to show as a graph.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: Name to display.
|
||||
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 %}
|
||||
|
||||
|
@ -29,11 +29,29 @@ netatmo:
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **api_key** (*Required*): The `client id` form your Netatmo app.
|
||||
- **secret_key** (*Required*): The `client secret` form your Netatmo app.
|
||||
- **username** (*Required*): Username for the Netatmo account.
|
||||
- **password** (*Required*): Password for the Netatmo account.
|
||||
- **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).
|
||||
{% configuration %}
|
||||
api_key:
|
||||
description: The `client id` from your Netatmo app.
|
||||
required: 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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user