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