Skip to content

Commit

Permalink
Lovelace: Add icon support for pic glance (#5878)
Browse files Browse the repository at this point in the history
  • Loading branch information
c727 authored and balloob committed Jul 25, 2018
1 parent c8146e5 commit 60c607d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion source/_lovelace/picture-glance.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.
description: List of entities or entity objects.
type: list
title:
required: false
Expand Down Expand Up @@ -57,6 +57,21 @@ entity:
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
icon:
required: false
description: Overwrites default icon.
type: string
{% endconfiguration %}

## {% linkable_title Examples %}

```yaml
Expand Down

0 comments on commit 60c607d

Please sign in to comment.