Page 1 of 1

Trigger Conditions in Python

PostPosted: Mon Mar 05, 2018 8:23 pm
by dgarozzo
It looks like Custom Trigger Conditions can only be written in AppleScript. I would like to request that this includes Python as an option.

Re: Trigger Conditions in Python

PostPosted: Mon Mar 05, 2018 9:04 pm
by jltnol
You might try this plugin

https://www.indigodomo.com/pluginstore/129/


I installed it last year, but didn't have much time to try it out... looks like a new version was released just a few months ago, so this may help.

Like you, if/then has been a problem.... and the more devices, the bigger the problem. I've been able.... with the incredible help here online... to construct some basic if/ then options in Python... so if it is something simple, I'll be glad to try to help, but pat that, posting your issue online will most likely provide the best answer for you.

Re: Trigger Conditions in Python

PostPosted: Tue Mar 06, 2018 10:44 am
by matt (support)
dgarozzo wrote:
It looks like Custom Trigger Conditions can only be written in AppleScript. I would like to request that this includes Python as an option.

Yes, given that we are encouraging folks to move from ApplelScript to Python we will be providing more complete Python capabilities including conditionals.