- platform: mqtt name: "Lava Lamp" state_topic: "smartthings/Lava Lamp/switch" command_topic: "smartthings/Lava Lamp/switch" payload_on: "on" payload_off: "off" retain: true - platform: mqtt name: "Wireless Charger" state_topic: "smartthings/Wireless Charger/switch" command_topic: "smartthings/Wireless Charger/switch" payload_on: "on" payload_off: "off" retain: true - platform: command_line switches: august_interior: oncmd: 'curl "http://localhost:3000/api/lock/interior"' offcmd: 'curl "http://localhost:3000/api/unlock/interior"' statecmd: 'curl --silent "http://localhost:3000/api/status/interior" | grep -oP "(\bunlocked\b)" | wc -l' value_template: '{{ value == "0" }}' - platform: command_line switches: august_keyed: oncmd: 'curl "http://localhost:3000/api/lock/keyed"' offcmd: 'curl "http://localhost:3000/api/unlock/keyed"' statecmd: 'curl --silent "http://localhost:3000/api/status/keyed" | grep -oP "(\bunlocked\b)" | wc -l' value_template: '{{ value == "0" }}'