metadata {
	definition (name: "Z-Wave Garage Door Sensor Button", namespace: "LeBlaaanc", author: "Chris LeBlanc") {
		capability "Garage Door Control"
		capability "Contact Sensor"
		capability "Actuator"
		capability "Sensor"
		capability "Battery"
		capability "Door Control"
		attribute "status", "string"
		attribute "buttonPress", "string"
		command "actuate"
	}
	tiles {
		standardTile("status", "device.status", width: 2, height: 2) {
			state("open", label:'${name}', icon:"st.doors.garage.garage-open", action: "actuate", backgroundColor:"#ffa81e", nextState:"closing")
			state("closed", label:'${name}', icon:"st.doors.garage.garage-closed", action: "actuate", backgroundColor:"#79b821", nextState:"opening")
			state("opening", label:'${name}', icon:"st.doors.garage.garage-opening", backgroundColor:"#ffe71e")
  This file has been truncated. show original