platform: mqtt state_topic: "smartthings/Dining Area Window/acceleration" name: "Dining Area Window motion" payload_on: "active" payload_off: "inactive" device_class: moving