Update switch.mqtt.markdown (#28709)

This commit is contained in:
tomlut 2023-08-28 21:23:10 +07:00 committed by GitHub
parent 369f9227e0
commit 84bffc43dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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