mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 09:46:59 +00:00
Lovelace: Add icon support for pic glance (#5878)
This commit is contained in:
parent
c8146e5720
commit
60c607d546
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user