mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add icon field to command_line sensor and binary_sensor (#29083)
This commit is contained in:
parent
1a6d696e83
commit
0f90da7dd5
@ -58,6 +58,10 @@ command_line:
|
||||
required: false
|
||||
type: string
|
||||
default: "Binary Command Sensor"
|
||||
icon:
|
||||
description: Defines a template for the icon of the entity.
|
||||
required: false
|
||||
type: template
|
||||
payload_on:
|
||||
description: The payload that represents enabled state.
|
||||
required: false
|
||||
@ -169,6 +173,10 @@ command_line:
|
||||
required: false
|
||||
type: string
|
||||
default: "Command Sensor"
|
||||
icon:
|
||||
description: Defines a template for the icon of the entity.
|
||||
required: false
|
||||
type: template
|
||||
unique_id:
|
||||
description: An ID that uniquely identifies this sensor. Set this to a unique value to allow customization through the UI.
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user