Update history-graph.markdown

Minor cleanup and fixing typos
Changed all config sections to use {% configuration %} tag.
This commit is contained in:
sjabby 2018-07-08 21:49:40 +02:00 committed by GitHub
parent f4e31fd156
commit 0b417b401e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,6 @@ comments: false
sharing: true sharing: true
footer: true footer: true
--- ---
### History graph
History graph is a basic card, allowing you to display a graph for each of the entities in the list specified as config. History graph is a basic card, allowing you to display a graph for each of the entities in the list specified as config.
@ -18,17 +17,35 @@ History graph is a basic card, allowing you to display a graph for each of the e
Screenshot of the history graph card. Screenshot of the history graph card.
</p> </p>
**Options** {% linkable_title Options %}
| Name | Type | Default | Description {% configuration %}
| ---- | ---- | ------- | ----------- type:
| type | string | **Required** | `history-graph` required: true
| entities | list | **Required** | List of entities to graph. description: history-graph
| hours_to_show | integer | 24 | Hours to show type: string
| refresh_interval | integer | 0 | Refresh interval in seconds entities:
| title | string | Optional | `My Graphs` required: true
description: List of entities to graph.
type: list
hours_to_show:
required: false
description: Hours to show
type: integer
default: 24
refresh_interval:
required: false
description: Refresh interval in seconds
type: integer
default: 0
title:
required: false
description: Card title
type: string
default: none
{% endconfiguration %}
**Example** {% linkable_title Example %}
```yaml ```yaml
- type: history-graph - type: history-graph