Final Touches. Adding in Lime Since sensors since it useful to see how long a door is in a particular state (according to the device and not home assistant) #642
This commit is contained in:
parent
b8d726f9b9
commit
01e0912ef4
|
@ -20,12 +20,12 @@
|
||||||
|
|
||||||
- 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"
|
||||||
|
|
||||||
- condition: state
|
- condition: state
|
||||||
|
|
|
@ -37,6 +37,16 @@ cover:
|
||||||
payload_close: "close"
|
payload_close: "close"
|
||||||
payload_stop: "stop"
|
payload_stop: "stop"
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Large Garage Door Since"
|
||||||
|
state_topic: "garadget/GLarge/status"
|
||||||
|
value_template: '{{ value_json.time }}'
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Small Garage Door Since"
|
||||||
|
state_topic: "garadget/GSmall/status"
|
||||||
|
value_template: '{{ value_json.time }}'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
garage_doors: # This group is used to check if doors are open or Closed.
|
garage_doors: # This group is used to check if doors are open or Closed.
|
||||||
name: Garage Doors
|
name: Garage Doors
|
||||||
|
|
Loading…
Reference in New Issue