[docs] Minor update to button mqtt (#32487)

The `command_topic` is required
This commit is contained in:
Peter Kristensen 2024-04-30 08:03:13 +02:00 committed by GitHub
parent f762285e48
commit 0d6db8aeba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ command_template:
type: template
command_topic:
description: The MQTT topic to publish commands to trigger the button.
required: false
required: true
type: string
device:
description: "Information about the device this button 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."