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

This commit is contained in:
rappleg
2016-07-10 15:35:12 -05:00
parent bf8fe4cad7
commit d85566bb98

View File

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