mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
Correct entities
merge (#16332)
This commit is contained in:
parent
72f4417783
commit
d94c7e2a48
@ -136,6 +136,10 @@ name:
|
|||||||
required: false
|
required: false
|
||||||
description: Overwrites friendly entity name.
|
description: Overwrites friendly entity name.
|
||||||
type: string
|
type: string
|
||||||
|
format:
|
||||||
|
required: false
|
||||||
|
description: "How the attribute value should be formatted. Currently only supported for timestamp attributes. Valid values are: `relative`, `total`, `date`, `time` and `datetime`."
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### Button
|
### Button
|
||||||
@ -354,68 +358,6 @@ icon:
|
|||||||
default: "`mdi:link`"
|
default: "`mdi:link`"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### Buttons
|
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
type:
|
|
||||||
required: true
|
|
||||||
description: buttons
|
|
||||||
type: string
|
|
||||||
entities:
|
|
||||||
required: true
|
|
||||||
description: A list of entities to show. Each entry is either an entity ID or a map.
|
|
||||||
type: list
|
|
||||||
keys:
|
|
||||||
entity:
|
|
||||||
required: true
|
|
||||||
description: The entity to render.
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
required: false
|
|
||||||
description: Override the entity icon.
|
|
||||||
type: string
|
|
||||||
image:
|
|
||||||
required: false
|
|
||||||
description: Override the entity image.
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
required: false
|
|
||||||
description: Label for the button
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
|
||||||
|
|
||||||
### Attribute
|
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
type:
|
|
||||||
required: true
|
|
||||||
description: attribute
|
|
||||||
type: string
|
|
||||||
entity:
|
|
||||||
required: true
|
|
||||||
description: Home Assistant entity ID.
|
|
||||||
type: string
|
|
||||||
attribute:
|
|
||||||
required: true
|
|
||||||
description: Attribute to display from the entity.
|
|
||||||
type: string
|
|
||||||
prefix:
|
|
||||||
required: false
|
|
||||||
description: Text before entity state.
|
|
||||||
type: string
|
|
||||||
suffix:
|
|
||||||
required: false
|
|
||||||
description: Text after entity state.
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
required: false
|
|
||||||
description: Overwrites friendly name.
|
|
||||||
type: string
|
|
||||||
format:
|
|
||||||
required: false
|
|
||||||
description: "How the attribute value should be formatted. Currently only supported for timestamp attributes. Valid values are: `relative`, `total`, `date`, `time` and `datetime`."
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Entity rows
|
### Entity rows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user