Commit #7: Events thread-based + new easier Extractor.py + our own Timer class
[smartthings-infrastructure.git] / Methods / sendNotificationToContacts.groovy
index b5afd49cec538feb3ea27204f00c4007ed62015e..165d0a4320a977b8e0382d24b9aba7beeebd6dd4 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////
 ////sendNotificationToContacts(text, recipients)
-def sendNotificationToContacts(String text, List recipients) {
+def sendNotificationToContacts(String text, String recipients) {
        for (int i = 0;i < recipients.size();i++) {
                for (int j = 0;j < location.contacts.size();j++) {
                        if (recipients[i] == location.contacts[j]) {