Getting a little Closer to the Finish line. #642
This commit is contained in:
parent
533dc98b80
commit
385c07e211
|
@ -28,6 +28,12 @@ cover:
|
|||
device_class: 'garage'
|
||||
command_topic: "garadget/GSmall/command"
|
||||
state_topic: "garadget/GSmall/status"
|
||||
value_template: >-
|
||||
{% if value_json.status == 'closed' %}
|
||||
closed
|
||||
{% else %}
|
||||
open
|
||||
{% endif %}
|
||||
payload_open: "open"
|
||||
payload_close: "close"
|
||||
payload_stop: "stop"
|
||||
|
@ -37,6 +43,12 @@ cover:
|
|||
device_class: 'garage'
|
||||
command_topic: "garadget/GLarge/command"
|
||||
state_topic: "garadget/GLarge/status"
|
||||
value_template: >-
|
||||
{% if value_json.status == 'closed' %}
|
||||
closed
|
||||
{% else %}
|
||||
open
|
||||
{% endif %}
|
||||
payload_open: "open"
|
||||
payload_close: "close"
|
||||
payload_stop: "stop"
|
||||
|
|
Loading…
Reference in New Issue