mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fix mqtt button entity full example (#20659)
This commit is contained in:
parent
1033f4a5d9
commit
6f7e4c3fc5
@ -188,11 +188,10 @@ button:
|
||||
- platform: mqtt
|
||||
unique_id: bedroom_switch_reboot_btn
|
||||
name: "Restart Bedroom Switch"
|
||||
state_topic: "home/bedroom/switch1"
|
||||
command_topic: "home/bedroom/switch1/commands"
|
||||
payload_press: "restart"
|
||||
availability:
|
||||
- topic: "home/bedroom/switch1/available"
|
||||
payload_press: "restart"
|
||||
qos: 0
|
||||
retain: false
|
||||
entity_category: "config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user