Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions source/_lovelace/history-graph.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type:
type: string
entities:
required: true
description: List of entities to graph.
description: "A list of entity IDs or `entity` objects, see below."
type: list
hours_to_show:
required: false
Expand All @@ -42,12 +42,28 @@ 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 %}

```yaml
- type: history-graph
title: 'My Graph'
entities:
- sensor.outside_temperature
- media_player.lounge_room
- entity: media_player.lounge_room
name: Main player
```