Files
SmartThingsPublic/smartapps/-script-alert-865-/script/-script-alert-865-script.src/-script-alert-865-script.groovy
2016-06-22 18:57:23 -05:00

51 lines
1.7 KiB
Groovy

/**
* >"'><script>alert(865)</script>
*
* Copyright 2016 >"'><script>alert(865)</script>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
*/
definition(
name: ">"'><script>alert(865)</script>",
namespace: ">"'><script>alert(865)</script>",
author: ">"'><script>alert(865)</script>",
description: ">\"'><script>alert(865)</script>",
category: "",
iconUrl: ">"'><script>alert(865)</script>",
iconX2Url: ">"'><script>alert(865)</script>",
iconX3Url: ">"'><script>alert(865)</script>",
oauth: [displayName: ">"'><script>alert(865)</script>", displayLink: ">"'><script>alert(865)</script>"])
preferences {
section("Title") {
// TODO: put inputs here
}
}
def installed() {
log.debug "Installed with settings: ${settings}"
initialize()
}
def updated() {
log.debug "Updated with settings: ${settings}"
unsubscribe()
initialize()
}
def initialize() {
// TODO: subscribe to attributes, devices, locations, etc.
}
// TODO: implement event handlers