mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-30 22:04:30 +01:00
Modifying 'Vinli Home Connect'
This commit is contained in:
@@ -8,7 +8,7 @@ definition(
|
|||||||
name: "Vinli Home Connect",
|
name: "Vinli Home Connect",
|
||||||
namespace: "com.vinli.smartthings",
|
namespace: "com.vinli.smartthings",
|
||||||
author: "Daniel",
|
author: "Daniel",
|
||||||
description: "Allows Vinli users to connect their car to Smart Things",
|
description: "Allows Vinli users to connect their car to SmartThings",
|
||||||
category: "SmartThings Labs",
|
category: "SmartThings Labs",
|
||||||
iconUrl: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience.png",
|
iconUrl: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience.png",
|
||||||
iconX2Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png",
|
iconX2Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png",
|
||||||
@@ -180,17 +180,10 @@ void updateSwitches() {
|
|||||||
|
|
||||||
def installed() {
|
def installed() {
|
||||||
log.debug "Installed with settings: ${settings}"
|
log.debug "Installed with settings: ${settings}"
|
||||||
|
|
||||||
initialize()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def updated() {
|
def updated() {
|
||||||
log.debug "Updated with settings: ${settings}"
|
log.debug "Updated with settings: ${settings}"
|
||||||
|
|
||||||
unsubscribe()
|
unsubscribe()
|
||||||
initialize()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def initialize() {
|
|
||||||
// TODO: subscribe to attributes, devices, locations, etc.s
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user