Merge pull request #1046 from SmartThingsCommunity/production

Rolling down production hotfix to staging
This commit is contained in:
Vinay Rao
2016-07-12 14:26:10 -07:00
committed by GitHub

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) {