From a3ee1e732343a6cbc45d2bdc9380b67bf68ce199 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 3 Feb 2017 11:31:37 -0500 Subject: [PATCH] Trying the cover comp --- configuration.yaml | 13 +++++++++++++ groups.yaml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/configuration.yaml b/configuration.yaml index 523c7f2..6bd8bf0 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -90,6 +90,19 @@ media_player: platform: cast host: 192.168.1.219 +cover: + - platform: mqtt + name: "Garage Door" + state_topic: 'smartthings/Garage Door/contact' + command_topic: 'smartthings/Garage Door/door' + state_open: 'open' + state_closed: 'closed' + payload_open: 'open' + payload_close: 'closed' + retain: true + optimistic: true + value_template: '{{ value.x }}' + # Discover some devices automatically discovery: diff --git a/groups.yaml b/groups.yaml index 0877aba..009c42b 100644 --- a/groups.yaml +++ b/groups.yaml @@ -129,4 +129,4 @@ Outside: - switch.front_porch_right Garage: - - switch.garage_door + - cover.garage_door