From e93debd2d19aad650628befa77218becb0059756 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 3 Feb 2017 11:02:44 -0500 Subject: [PATCH] Trying to get Garage Door Working --- configuration.yaml | 12 ++++++++++++ switches/garage.yaml | 8 +------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index 523c7f2..52ad27e 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -90,6 +90,18 @@ media_player: platform: cast host: 192.168.1.219 +garage_door: + platform: mqtt + name: 'Garage Door' + state_topic: 'smartthings/Garage Door/contact' + command_topic: 'smartthings/Garage Door/door' + state_open: 'open' + state_closed: 'closed' + service_open: 'open' + service_close: 'closed' + retain: true + optimistic: true + # Discover some devices automatically discovery: diff --git a/switches/garage.yaml b/switches/garage.yaml index c3e7ce7..8b13789 100644 --- a/switches/garage.yaml +++ b/switches/garage.yaml @@ -1,7 +1 @@ -- platform: mqtt - name: "Garage Door" - state_topic: "smartthings/Garage Door/door" - command_topic: "smartthings/Garage Door/door" - payload_on: "open" - payload_off: "closed" - retain: true +