diff --git a/source/images/lovelace/header-footer/graph.png b/source/images/lovelace/header-footer/graph.png new file mode 100644 index 00000000000..8e529cb6cc1 Binary files /dev/null and b/source/images/lovelace/header-footer/graph.png differ diff --git a/source/lovelace/header-footer.markdown b/source/lovelace/header-footer.markdown index e23bfb50711..899cfc4dbca 100644 --- a/source/lovelace/header-footer.markdown +++ b/source/lovelace/header-footer.markdown @@ -76,3 +76,36 @@ entities: description: Override the entity image. type: string {% endconfiguration %} + +## Graph header & footer + +Widget to show an entity in the sensor domain as a graph in the header or footer. + +

Screenshot of an entities card with a graph footer. +Screenshot of an entities card with a graph footer. +

+ +```yaml +footer: + type: graph + entity: sensor.outside_temperature + hours_to_show: 24 + detail: 1 +``` + +{% configuration header-footer %} +entity: + required: true + description: Entity id of `sensor` domain + type: string +detail: + required: false + description: Detail of the graph `1` or `2`, `1` equals one point/hour, `2` equals six points/hour + type: integer + default: 1 +hours_to_show: + required: false + description: Hours to show in graph + type: integer + default: 24 +{% endconfiguration %}