Adding event for Power as variation is needed in power values.
[smartthings-infrastructure.git] / SpeechSynthesis / SpeechSynthesis.groovy
index fb91378307726a2a98bc8fb5e433aa5d2796ba4e..1f25d79b5c873edf53c060076b4281ea383c8c5c 100644 (file)
@@ -29,9 +29,9 @@ public class SpeechSynthesis {
                println("Speech synthesis with id:$id, SPEAKING:\"$message\"!")
                // As a conflict variable
                if (oneUser) {
-                       oneUser = false
+                       this.oneUser = false
                } else {
-                       oneUser = true
+                       this.oneUser = true
                }
        }
 }