Trying the cover comp
This commit is contained in:
parent
832b1eb387
commit
a3ee1e7323
|
@ -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:
|
||||
|
||||
|
|
|
@ -129,4 +129,4 @@ Outside:
|
|||
- switch.front_porch_right
|
||||
|
||||
Garage:
|
||||
- switch.garage_door
|
||||
- cover.garage_door
|
||||
|
|
Loading…
Reference in New Issue