OK.. I think I have it all sorted now. #642
This commit is contained in:
parent
71b194c365
commit
533dc98b80
|
@ -26,8 +26,8 @@ cover:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Small Garage Door"
|
name: "Small Garage Door"
|
||||||
device_class: 'garage'
|
device_class: 'garage'
|
||||||
command_topic: "garadget/Garadget Small/command"
|
command_topic: "garadget/GSmall/command"
|
||||||
state_topic: "garadget/Garadget Small/status"
|
state_topic: "garadget/GSmall/status"
|
||||||
payload_open: "open"
|
payload_open: "open"
|
||||||
payload_close: "close"
|
payload_close: "close"
|
||||||
payload_stop: "stop"
|
payload_stop: "stop"
|
||||||
|
@ -35,8 +35,8 @@ cover:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Large Garage Door"
|
name: "Large Garage Door"
|
||||||
device_class: 'garage'
|
device_class: 'garage'
|
||||||
command_topic: "garadget/Garadget Large/command"
|
command_topic: "garadget/GLarge/command"
|
||||||
state_topic: "garadget/Garadget Large/status"
|
state_topic: "garadget/GLarge/status"
|
||||||
payload_open: "open"
|
payload_open: "open"
|
||||||
payload_close: "close"
|
payload_close: "close"
|
||||||
payload_stop: "stop"
|
payload_stop: "stop"
|
||||||
|
@ -60,16 +60,13 @@ automation:
|
||||||
action:
|
action:
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "garadget/Garadget Small/command"
|
topic: "garadget/GSmall/command"
|
||||||
payload: "get-status"
|
payload: "get-status"
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "garadget/Garadget Large/command"
|
topic: "garadget/GLarge/command"
|
||||||
payload: "get-status"
|
payload: "get-status"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- alias: 'Garage Door State Change'
|
- alias: 'Garage Door State Change'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
|
|
Loading…
Reference in New Issue