platform: mqtt
state_topic: "smartthings/Dining Area Window/contact"
name: "Dining Area Window"
payload_on: "closed"
payload_off: "open"
sensor_class: opening