From 6f7e4c3fc5685b813de2447f45f0a4ec1bad063d Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Mon, 13 Dec 2021 21:07:14 +0100 Subject: [PATCH] Fix mqtt button entity full example (#20659) --- source/_integrations/button.mqtt.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/_integrations/button.mqtt.markdown b/source/_integrations/button.mqtt.markdown index 6ed781f664f..19c78d42d3c 100644 --- a/source/_integrations/button.mqtt.markdown +++ b/source/_integrations/button.mqtt.markdown @@ -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"