Add command_template to MQTT number platform (#20121)

This commit is contained in:
Jan Bouwhuis 2021-11-02 18:47:07 +01:00 committed by GitHub
parent 11c1f7fcad
commit 87963b7694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,10 @@ availability_mode:
required: false
type: string
default: latest
command_template:
description: Defines a [template](/docs/configuration/templating/#processing-incoming-data) to generate the payload to send to `command_topic`.
required: false
type: template
command_topic:
description: The MQTT topic to publish commands to change the number.
required: false