Moving back to MQTT for smartthings integration

This commit is contained in:
Jeffrey Stone 2019-07-11 07:30:23 -04:00
parent 3b2f3015a1
commit 560b488738
2 changed files with 48 additions and 0 deletions

42
binary_sensors/doors.yaml Normal file
View File

@ -0,0 +1,42 @@
- platform: mqtt
name: "Back Door"
state_topic: "smartthings/Back Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door
- platform: mqtt
name: "Garage Door"
state_topic: "smartthings/Garage Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: garage_door
- platform: mqtt
name: "Front Door"
state_topic: "smartthings/Front Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door
- platform: mqtt
name: "Laundry Room Door"
state_topic: "smartthings/Laundry Room Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door
- platform: mqtt
name: "Attic Door" # Dome Door Sensor
state_topic: "smartthings/Attic Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door
- platform: mqtt
name: "Side Door" # Dome Door Sensor
state_topic: "smartthings/Side Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door
- platform: mqtt
name: "Washer Door"
state_topic: "smartthings/Washer Door/contact"
payload_on: "open"
payload_off: "closed"
device_class: door

View File

@ -0,0 +1,6 @@
- platform: mqtt
name: "Garage Motion" # Dome Motion Sensor
state_topic: "smartthings/Garage Motion/contact"
payload_on: "active"
payload_off: "inactive"
device_class: motion