Trying the cover comp

This commit is contained in:
Jeffrey Stone 2017-02-03 11:31:37 -05:00
parent 832b1eb387
commit a3ee1e7323
2 changed files with 14 additions and 1 deletions

View File

@ -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:

View File

@ -129,4 +129,4 @@ Outside:
- switch.front_porch_right
Garage:
- switch.garage_door
- cover.garage_door