class Empty { // This function runs when the SmartApp is installed def installed() { // This is a standard debug statement in Groovy //log.debug "Installed with settings: ${settings}" int x = 5; int y = 6; int result = x + y; return result; //initialize() } // This function is where you initialize callbacks for event listeners //def initialize() { // The subscribe function takes a input, a state, and a callback method //subscribe(contact, "contact.open", openHandler) //subscribe(contact, "contact.closed", closedHandler) //} static void main(String[] args) { //Empty emp = new Empty(); //int result = emp.installed(); //println result; println "Test" } }