Modifying 'Publish a SmartApp for OpenT2T - Update sensor and subscriptions.'

This commit is contained in:
OpenT2T
2017-04-16 19:02:05 -07:00
parent 48ceadcdb6
commit bbdc8faa93
@@ -108,6 +108,12 @@ mappings {
]
}
}
def installed() {
log.debug "Installing with settings: ${settings}"
initialize()
}
def updated() {
log.debug "Updating with settings: ${settings}"
if(state.deviceSubscriptionMap == null){
@@ -320,6 +326,7 @@ def locationEventHandler(evt) {
}
}
/*** Device Query/Update Functions ***/
//Endpoints function: return all device data in json format