From 2ee1b26a7f6d36cb06664057ff9b4c3200a23036 Mon Sep 17 00:00:00 2001 From: Bob Florian Date: Fri, 11 Sep 2015 07:01:35 -0400 Subject: [PATCH] Allow Mood Cube to record states other than the current one. --- smartapps/smartthings/mood-cube.src/mood-cube.groovy | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/smartapps/smartthings/mood-cube.src/mood-cube.groovy b/smartapps/smartthings/mood-cube.src/mood-cube.groovy index cfca67a..4bc18b3 100644 --- a/smartapps/smartthings/mood-cube.src/mood-cube.groovy +++ b/smartapps/smartthings/mood-cube.src/mood-cube.groovy @@ -79,12 +79,9 @@ def scenePage(params=[:]) { href "devicePage", title: "Show Device States", params: [sceneId:sceneId], description: "", state: sceneIsDefined(sceneId) ? "complete" : "incomplete" } - if (sceneId == currentSceneId) { - section { - href "saveStatesPage", title: "Record Current Device States", params: [sceneId:sceneId], description: "" - } - } - + section { + href "saveStatesPage", title: "Record Current Device States", params: [sceneId:sceneId], description: "" + } } }