Skip to content

Commit f6e9738

Browse files
authored
Document icon config option for template number and select (home-assistant#19617)
1 parent cd1ea9a commit f6e9738

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/_integrations/template.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ binary_sensor:
148148
required: false
149149
type: map
150150
keys:
151-
icon:
152-
description: Defines a template for the icon of the sensor.
153-
required: false
154-
type: template
155151
picture:
156152
description: Defines a template for the entity picture of the sensor.
157153
required: false
@@ -229,15 +225,19 @@ select:
229225
type: map
230226
keys:
231227
name:
232-
description: Defines a template to get the name of the sensor.
228+
description: Defines a template to get the name of the entity.
233229
required: false
234230
type: template
235231
unique_id:
236-
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.
232+
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.
237233
required: false
238234
type: string
235+
icon:
236+
description: Defines a template for the icon of the entity.
237+
required: false
238+
type: template
239239
availability:
240-
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`.
240+
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`.
241241
required: false
242242
type: template
243243
default: true

0 commit comments

Comments
 (0)