Trying to get Garage Door Working
This commit is contained in:
parent
d62e969f04
commit
e93debd2d1
|
@ -90,6 +90,18 @@ media_player:
|
||||||
platform: cast
|
platform: cast
|
||||||
host: 192.168.1.219
|
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
|
# Discover some devices automatically
|
||||||
discovery:
|
discovery:
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue