From ba7fa3c8cabbd99808d3effb81deaec24685c7a4 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 30 Mar 2022 13:48:44 +0200 Subject: [PATCH] Revert "Correct MQTT scene docs (#22193)" This reverts commit 5734abd6269fa76f21d69b4f7dd443ece0ccc07f. --- source/_integrations/scene.mqtt.markdown | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/_integrations/scene.mqtt.markdown b/source/_integrations/scene.mqtt.markdown index 89f38002ea6..f2c4903ff94 100644 --- a/source/_integrations/scene.mqtt.markdown +++ b/source/_integrations/scene.mqtt.markdown @@ -59,9 +59,14 @@ availability_topic: required: false type: string command_topic: - description: The MQTT topic to publish `payload_on` to activate the scene. + description: The MQTT topic to publish commands to change the scene state. required: false type: string +enabled_by_default: + description: Flag which defines if the entity should be enabled when first added. + required: false + type: boolean + default: true entity_category: description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity. required: false @@ -91,7 +96,7 @@ payload_not_available: type: string default: offline payload_on: - description: The payload that will be sent to `command_topic` when activating the MQTT scene. + description: The payload that represents `on` state. If specified, will be used for both comparing to the value in the `state_topic` (see `value_template` and `state_on` for details) and sending as `on` command to the `command_topic`. required: false type: string default: "ON"