1.6 KiB
layout, title, sidebar_label, description, date, sidebar, comments, sharing, footer
layout | title | sidebar_label | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|---|
page | History Graph Card | 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. | 2018-07-01 10:28 +00:00 | true | false | true | true |
History graph is a basic card, allowing you to display a graph for each of the entities in the list specified as config.
Screenshot of the history graph card.
{% configuration %}
type:
required: true
description: history-graph
type: string
entities:
required: true
description: "A list of entity IDs or entity
objects, see below."
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: The card title.
type: string
{% endconfiguration %}
{% linkable_title Options For Entities %}
If you define entities as objects instead of strings, you can add more customization and configuration:
{% configuration %} entity: required: true description: Home Assistant entity ID. type: string name: required: false description: Overwrites friendly name. type: string {% endconfiguration %}
{% linkable_title Example %}
- type: history-graph
title: 'My Graph'
entities:
- sensor.outside_temperature
- entity: media_player.lounge_room
name: Main player