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