From c39b63b944a41e65ac06a901191bf5425374d31a Mon Sep 17 00:00:00 2001 From: Bob Florian Date: Wed, 9 Sep 2015 07:55:03 -0400 Subject: [PATCH] Fixed error in setting light level in Mood Cube --- smartapps/smartthings/mood-cube.src/mood-cube.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartapps/smartthings/mood-cube.src/mood-cube.groovy b/smartapps/smartthings/mood-cube.src/mood-cube.groovy index 41e87c9..cfca67a 100644 --- a/smartapps/smartthings/mood-cube.src/mood-cube.groovy +++ b/smartapps/smartthings/mood-cube.src/mood-cube.groovy @@ -225,7 +225,7 @@ private restoreStates(sceneId) { if (type == "level") { log.debug "${light.displayName} level is '$level'" if (level != null) { - light.setLevel(value) + light.setLevel(level) } } else if (type == "color") {