mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-04-05 22:04:50 +01:00
Fixed error in setting light level in Mood Cube
This commit is contained in:
@@ -225,7 +225,7 @@ private restoreStates(sceneId) {
|
|||||||
if (type == "level") {
|
if (type == "level") {
|
||||||
log.debug "${light.displayName} level is '$level'"
|
log.debug "${light.displayName} level is '$level'"
|
||||||
if (level != null) {
|
if (level != null) {
|
||||||
light.setLevel(value)
|
light.setLevel(level)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (type == "color") {
|
else if (type == "color") {
|
||||||
|
|||||||
Reference in New Issue
Block a user