mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Document icon
config option for template number and select (#19617)
This commit is contained in:
parent
cd1ea9ae30
commit
f6e9738247
@ -148,10 +148,6 @@ binary_sensor:
|
|||||||
required: false
|
required: false
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
icon:
|
|
||||||
description: Defines a template for the icon of the sensor.
|
|
||||||
required: false
|
|
||||||
type: template
|
|
||||||
picture:
|
picture:
|
||||||
description: Defines a template for the entity picture of the sensor.
|
description: Defines a template for the entity picture of the sensor.
|
||||||
required: false
|
required: false
|
||||||
@ -229,15 +225,19 @@ select:
|
|||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
name:
|
name:
|
||||||
description: Defines a template to get the name of the sensor.
|
description: Defines a template to get the name of the entity.
|
||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
unique_id:
|
unique_id:
|
||||||
description: An ID that uniquely identifies this sensor. Will be combined with the unique ID of the configuration block if available. This allows changing the `name`, `icon` and `entity_id` from the web interface.
|
description: An ID that uniquely identifies this entity. Will be combined with the unique ID of the configuration block if available. This allows changing the `name`, `icon` and `entity_id` from the web interface.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
icon:
|
||||||
|
description: Defines a template for the icon of the entity.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
availability:
|
availability:
|
||||||
description: Defines a template to get the `available` state of the component. If the template returns `true`, the device is `available`. If the template returns any other value, the device will be `unavailable`. If not configured, the component will always be `available`.
|
description: Defines a template to get the `available` state of the entity. If the template returns `true`, the device is `available`. If the template returns any other value, the device will be `unavailable`. If not configured, the component will always be `available`.
|
||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
default: true
|
default: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user