I'm looking for get good syntax for use in python script, I want replace the send mail by prowl like in this example
Code: Select all
dev = indigo.devices[IOLINCID] # "IO Linc"
if not dev.states["binaryInput1"]:
indigo.server.sendEmailTo("ADDRESSHERE", subject="The garage door is OPEN!!")