From 533dc98b80fb1a4e8d296fb5bfa0673f3581a2f0 Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 5 Jul 2020 13:38:52 -0400 Subject: [PATCH] OK.. I think I have it all sorted now. #642 --- config/packages/garadget.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/config/packages/garadget.yaml b/config/packages/garadget.yaml index 47575214..68358623 100755 --- a/config/packages/garadget.yaml +++ b/config/packages/garadget.yaml @@ -26,8 +26,8 @@ cover: - platform: mqtt name: "Small Garage Door" device_class: 'garage' - command_topic: "garadget/Garadget Small/command" - state_topic: "garadget/Garadget Small/status" + command_topic: "garadget/GSmall/command" + state_topic: "garadget/GSmall/status" payload_open: "open" payload_close: "close" payload_stop: "stop" @@ -35,8 +35,8 @@ cover: - platform: mqtt name: "Large Garage Door" device_class: 'garage' - command_topic: "garadget/Garadget Large/command" - state_topic: "garadget/Garadget Large/status" + command_topic: "garadget/GLarge/command" + state_topic: "garadget/GLarge/status" payload_open: "open" payload_close: "close" payload_stop: "stop" @@ -60,16 +60,13 @@ automation: action: - service: mqtt.publish data: - topic: "garadget/Garadget Small/command" + topic: "garadget/GSmall/command" payload: "get-status" - service: mqtt.publish data: - topic: "garadget/Garadget Large/command" + topic: "garadget/GLarge/command" payload: "get-status" - - - - alias: 'Garage Door State Change' trigger: - platform: state