Removing a really buggy app.
[smartthings-infrastructure.git] / Location / Phrase.groovy
1 //Create a class for Phrase
2 package Location
3
4 class Phrase {
5         private phrases
6         
7         Phrase() {
8                 this.phrases = [[id:0, label:"Good Night!"],[id:1, label:"Good Morning!"],
9                                 [id:2, label:"Goodbye!"],[id:3, label:"I'm Back!"]]
10         } 
11         def getPhrases() {
12                 return this.phrases
13         }
14         def execute(String phrase) {
15                 println(phrase)
16         }
17 }
18