Revert "PRP-172 Fix Hue Connect parse errors on newer versions of Groovy"

This reverts commit be7f6a76a9.
This commit is contained in:
rappleg
2016-07-06 14:44:58 -05:00
parent cd7bc1b262
commit 65752ce378

View File

@@ -689,7 +689,7 @@ def parse(childDevice, description) {
log.warn "Parsing Body failed - trying again..." log.warn "Parsing Body failed - trying again..."
poll() poll()
} }
if (body instanceof java.util.HashMap || body instanceof groovy.json.internal.LazyMap) { if (body instanceof java.util.HashMap) {
//poll response //poll response
def bulbs = getChildDevices() def bulbs = getChildDevices()
for (bulb in body) { for (bulb in body) {