Add icon field to command_line sensor and binary_sensor (#29083)

This commit is contained in:
RoboMagus 2023-10-01 20:18:41 +02:00 committed by GitHub
parent 1a6d696e83
commit 0f90da7dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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