From 84bffc43dd2a17ec2319d2eb1ffffeefed81dd40 Mon Sep 17 00:00:00 2001 From: tomlut <10679300+tomlut@users.noreply.github.com> Date: Mon, 28 Aug 2023 21:23:10 +0700 Subject: [PATCH] Update switch.mqtt.markdown (#28709) --- source/_integrations/switch.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/switch.mqtt.markdown b/source/_integrations/switch.mqtt.markdown index c95f73169b3..77b7c13d181 100644 --- a/source/_integrations/switch.mqtt.markdown +++ b/source/_integrations/switch.mqtt.markdown @@ -68,7 +68,7 @@ availability_topic: type: string command_topic: description: The MQTT topic to publish commands to change the switch state. - required: false + required: true type: string device: description: "Information about the device this switch is a part of to tie it into the [device registry](https://developers.home-assistant.io/docs/en/device_registry_index.html). Only works when [`unique_id`](#unique_id) is set. At least one of identifiers or connections must be present to identify the device."