Revert "Hue: Re-add Hue bridge if deleted"

This commit is contained in:
Vinay Rao
2017-03-14 21:00:22 -07:00
committed by GitHub
parent fced2d7c61
commit 65f5597ccc

View File

@@ -472,6 +472,8 @@ def addBridge() {
log.error "Failed to create Hue Bridge device" log.error "Failed to create Hue Bridge device"
} }
} }
} else {
log.debug "found ${d.displayName} with id $selectedHue already exists"
} }
} }
} }
@@ -713,9 +715,6 @@ def doDeviceSync(){
log.warn "state.updating failed to clear" log.warn "state.updating failed to clear"
} }
if (selectedHue) {
addBridge()
}
convertBulbListToMap() convertBulbListToMap()
poll() poll()
ssdpSubscribe() ssdpSubscribe()