Remove state label badge (#34044)

This commit is contained in:
Bram Kragten 2024-07-31 16:24:23 +02:00 committed by GitHub
parent c9a3a9ce15
commit 316165b551
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,45 +70,6 @@ double_tap_action:
type: map
{% endconfiguration %}
## State label badge
The state label badge allows you to display a state badge. This badge supports [actions](/dashboards/actions/).
```yaml
type: state-label
entity: light.living_room
```
{% configuration state_badge %}
type:
required: true
description: "`state-label`"
type: string
entity:
required: true
description: Entity ID.
type: string
name:
required: false
description: Overwrites friendly name.
type: string
default: Name of entity
icon:
required: false
description: Overwrites icon or entity picture. You can use any icon from [Material Design Icons](https://pictogrammers.com/library/mdi/). Prefix the icon name with `mdi:`, ie `mdi:home`.
type: string
default: Entity domain icon
image:
required: false
description: The URL of an image.
type: string
show_name:
required: false
description: Show name.
type: boolean
default: "true"
{% endconfiguration %}
## Entity Filter Badge
This badge allows you to define a list of entities that you want to track only when in a certain state. Very useful for showing lights that you forgot to turn off or show a list of people only when they're at home.