From 33f1209c8000c9b6a7397f0e7e6737bc3a2263c1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Risso Date: Thu, 10 Sep 2015 15:07:32 -0400 Subject: [PATCH] atomicState to state (all) --- smartapps/smartthings/hue-connect.src/hue-connect.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smartapps/smartthings/hue-connect.src/hue-connect.groovy b/smartapps/smartthings/hue-connect.src/hue-connect.groovy index 1b17d73..6a019ac 100644 --- a/smartapps/smartthings/hue-connect.src/hue-connect.groovy +++ b/smartapps/smartthings/hue-connect.src/hue-connect.groovy @@ -217,7 +217,7 @@ Map bulbsDiscovered() { } def getHueBulbs() { - atomicState.bulbs = atomicState.bulbs ?: [:] + state.bulbs = state.bulbs ?: [:] } def getHueBridges() { @@ -276,8 +276,8 @@ def bulbListHandler(hub, data) { if (v instanceof Map) bulbs[k] = [id: k, name: v.name, type: v.type, hub:hub] } - atomicState.bulbs = bulbs - msg = "${bulbs.size()} bulbs found. $atomicState.bulbs" + state.bulbs = bulbs + msg = "${bulbs.size()} bulbs found. $state.bulbs" } return msg }