I sent this to support before posting here, but no response from them yet.
The code does not specifically define nultiple:false -
section("Push Notifications") {
input (name: "notify", type: "enum", title: "Select what push notifications to receive.", required: false, multiple: true,
metadata: [values: ['Warnings', 'Daily', 'Weekly', 'Weather', 'Moisture']])
input("recipients", "contact", title: "Send push notifications to", required: false)
}
The documentation says that the contact list can be either a string or a collection - that said, I do have only 1 contact specified in the SmartApp configuration…:
Signature:
void sendNotificationToContacts(String message, String contact, Map options=[:])
void sendNotificationToContacts(String message, Collection contacts, Map options=[:])
Parameters:
String message - the message to send
String contact - the contact to send the notification to. Typically set through the contact input type.
Collection contacts - the collection of contacts to send the notification to. Typically set through the contact input type.
Map options (optional) - a map of additional parameters. The valid parameter is [event: boolean] to specify if the message should be displayed in the Notifications feed. Defaults to true (message will be displayed in the Notifications feed).