Update badges.markdown (#34431)

This commit is contained in:
karwosts 2024-08-24 08:55:32 -07:00 committed by GitHub
parent d02956f8c7
commit f8c9052f07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,10 +141,6 @@ icon:
required: false 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`. 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 type: string
image:
required: false
description: The URL of an image.
type: string
conditions: conditions:
required: false required: false
description: List of conditions to check. See [available conditions](#conditions-options).* description: List of conditions to check. See [available conditions](#conditions-options).*
@ -157,6 +153,8 @@ state_filter:
*only one filter will be applied: `conditions` or `state_filter` if `conditions` is not present *only one filter will be applied: `conditions` or `state_filter` if `conditions` is not present
You may also add any additional configuration options to an entity which are supported by the chosen badge type (`Entity` badge type if no type is chosen).
## Conditions options ## Conditions options
You can specify multiple `conditions`, in which case the entity will be displayed if it matches all conditions. You can specify multiple `conditions`, in which case the entity will be displayed if it matches all conditions.