Merge pull request #1784 from SmartThingsCommunity/revert-1783-hue_add_bridge_if_missing_production

Revert "Hue: Re-add Hue bridge if deleted"
This commit is contained in:
Vinay Rao
2017-03-14 21:18:43 -07:00
committed by GitHub

View File

@@ -472,6 +472,8 @@ def addBridge() {
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"
}
if (selectedHue) {
addBridge()
}
convertBulbListToMap()
poll()
ssdpSubscribe()