platform: mqtt state_topic: "smartthings/Front Door/contact" name: "Front Door" payload_on: "open" payload_off: "closed" device_class: opening