Skip to content

Commit

Permalink
allow multiple contacts for notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ethayer committed Feb 10, 2017
1 parent a38f95f commit 4fa7494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smartapps/ethayer/lock-manager.src/lock-manager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion smartapps/ethayer/lock-user.src/lock-user.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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(;)"
Expand Down

0 comments on commit 4fa7494

Please sign in to comment.