Change entity badge display type to 3 booleans : name, state and icon (#34503)

This commit is contained in:
Paul Bottein 2024-09-02 09:25:29 +02:00 committed by GitHub
parent 598d9fc311
commit 8a411fb302
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 4 deletions

View File

@ -66,11 +66,21 @@ show_entity_picture:
description: If your entity has a picture, it will replace the icon. description: If your entity has a picture, it will replace the icon.
type: boolean type: boolean
default: false default: false
display_type: show_name:
required: false required: false
description: Type of display for the badge. It can be either `minimal` (icon only), `standard` (icon and state), or `complete` (icon, state, and name). description: Show the name
type: string type: boolean
default: standard default: "true"
show_icon:
required: false
description: Show the icon
type: boolean
default: "true"
show_state:
required: false
description: Show the state.
type: boolean
default: "false"
state_content: state_content:
required: false required: false
description: > description: >

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 42 KiB