Code by Scott שאול בן ישוע
Unverified Commit ec533acd authored by Stephan Hackett's avatar Stephan Hackett Committed by GitHub
Browse files

Fixed bug with sms

parent 70ca7f98
......@@ -21,7 +21,7 @@
- added multiple inline options (Title, Devices, Category, SMS#, Actions)
def version() {"v1.0.20190608"}
def version() {"v1.0.20190611"}
preferences {
input("apikey", "text", title: "Join API Key: <small><a href='' target='_blank'>[api docs here]</a></small>", description: "")
......@@ -198,6 +198,7 @@ def buildMessage(message){
if(logEnable) log.debug "Custom Settings: " + myMap
current << myMap //merge driver settings with custom setting
if(current.smsnumber) current["smstext"] = myMap.text //when an smsnumber is included, set smstext to message
current.remove("logEnable") //remove uneeded preferences
if(current.actions){ //format actions using ||| delimiter as per api
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment