mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 11:56:50 +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 %}
|
{% 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 %}
|
||||||
|
|
||||||
|
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user