Infrastructure that works for all the locks' group!
[smartthings-infrastructure.git] / MusicPlayer / MusicPlayers.groovy
index 3e5f4f31ecedf28be72c0fffe6604ca2ab23c459..63a213b9852f6b263e997b76446b6cfa86520158 100644 (file)
@@ -27,35 +27,6 @@ public class MusicPlayers {
                this.sendEvent = sendEvent
                this.deviceNumbers = deviceNumbers
                this.musicPlayers = []
-               
-               def initLevel = Verify.getIntFromList(10, 20, 30)
-               this.level = initLevel
-               def initTrack = Verify.getIntFromList(1, 2, 3)
-               this.trackNumber = initTrack
-               def initMute = Verify.getBoolean()
-               if (initMute) {
-                       this.mute = "unmuted"
-               } else {
-                       this.mute = "mute"
-               }
-               def initStatus = Verify.getBoolean()
-               if (initStatus) {
-                       this.status = "pause"
-               } else {
-                       this.status = "play"
-               }
-               def initTrackData = Verify.getBoolean()
-               if (initTrackData) {
-                       this.trackData = "someTrack"
-               } else {
-                       this.trackData = "someOtherTrack"
-               }
-               def initTrackDesc = Verify.getBoolean()
-               if (initTrackDesc) {
-                       this.trackDescription = "someDescriptions"
-               } else {
-                       this.trackDescription = "someOtherDescriptions"
-               }
 
                def initLevel = Verify.getIntFromList(10, 20, 30)
                this.level = initLevel