From 4fa7494004b9cf25aa2759e27d8e48a9d2a57868 Mon Sep 17 00:00:00 2001 From: Erik Thayer Date: Fri, 10 Feb 2017 11:22:34 -0600 Subject: [PATCH] allow multiple contacts for notification --- smartapps/ethayer/lock-manager.src/lock-manager.groovy | 2 +- smartapps/ethayer/lock-user.src/lock-user.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smartapps/ethayer/lock-manager.src/lock-manager.groovy b/smartapps/ethayer/lock-manager.src/lock-manager.groovy index 211d727..68dbfaf 100755 --- a/smartapps/ethayer/lock-manager.src/lock-manager.groovy +++ b/smartapps/ethayer/lock-manager.src/lock-manager.groovy @@ -93,7 +93,7 @@ def notificationPage() { section { paragraph "These settings will apply to all users. Settings on individual users will override these settings" - input("recipients", "contact", title: "Send notifications to", submitOnChange: true, required: false) + input("recipients", "contact", title: "Send notifications to", submitOnChange: true, required: false, multiple: true) if (!recipients) { input(name: "phone", type: "text", title: "Text This Number", description: "Phone number", required: false, submitOnChange: true) diff --git a/smartapps/ethayer/lock-user.src/lock-user.groovy b/smartapps/ethayer/lock-user.src/lock-user.groovy index 13ed943..9b4ffd1 100755 --- a/smartapps/ethayer/lock-user.src/lock-user.groovy +++ b/smartapps/ethayer/lock-user.src/lock-user.groovy @@ -285,7 +285,7 @@ def notificationPage() { dynamicPage(name: "notificationPage", title: "Notification Settings") { section { - input("recipients", "contact", title: "Send notifications to", submitOnChange: true, required: false) + input("recipients", "contact", title: "Send notifications to", submitOnChange: true, required: false, multiple: true) if (!recipients) { input(name: "phone", type: "text", title: "Text This Number", description: "Phone number", required: false, submitOnChange: true) paragraph "For multiple SMS recipients, separate phone numbers with a semicolon(;)"