From 0b417b401eb0788dec508b92b926d11b7184a51b Mon Sep 17 00:00:00 2001 From: sjabby Date: Sun, 8 Jul 2018 21:49:40 +0200 Subject: [PATCH] Update history-graph.markdown Minor cleanup and fixing typos Changed all config sections to use {% configuration %} tag. --- source/_lovelace/history-graph.markdown | 37 ++++++++++++++++++------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/source/_lovelace/history-graph.markdown b/source/_lovelace/history-graph.markdown index 987d5d4f815..41c53201d21 100644 --- a/source/_lovelace/history-graph.markdown +++ b/source/_lovelace/history-graph.markdown @@ -9,7 +9,6 @@ comments: false sharing: 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. @@ -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.

-**Options** +{% linkable_title Options %} -| Name | Type | Default | Description -| ---- | ---- | ------- | ----------- -| type | string | **Required** | `history-graph` -| entities | list | **Required** | List of entities to graph. -| hours_to_show | integer | 24 | Hours to show -| refresh_interval | integer | 0 | Refresh interval in seconds -| title | string | Optional | `My Graphs` +{% configuration %} +type: + required: true + description: history-graph + type: string +entities: + 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 - type: history-graph