mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-27 23:07:34 +00:00
[docs] Minor update to button mqtt (#32487)
The `command_topic` is required
This commit is contained in:
parent
f762285e48
commit
0d6db8aeba
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user