Modifying 'Vinli Home Connect'

This commit is contained in:
Daniel
2015-12-17 09:40:00 -06:00
parent 96f2c5ed8b
commit 21041570db

View File

@@ -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
} }