1.8 KiB
title, sidebar_label, description
title | sidebar_label | description |
---|---|---|
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. |
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, when the sensor has no `unit_of_measurement` defined.
Screenshot of the history graph card, when the sensor has a `unit_of_measurement` defined.
{% 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. Minimum is 1 hour, maximum of 80 hours.
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 %}
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 %}
Example
type: history-graph
title: 'My Graph'
entities:
- sensor.outside_temperature
- entity: media_player.lounge_room
name: Main player