In a trigger condition I need to compare thermostat temperatures (to know if there's a large differential). If there's a way to do this with the built-in conditions let me know but for now I'm trying to write a condition script. It's easy in python but I can't figure out what's wrong in applescript (I've ascertained there's no python supported in conditions).
For python example:
return (indigo.devices[404038560].temperatures[0] - indigo.devices[313210440].temperatures[0] > 3)
Also:
The "compile and test" does nothing when I simply write return false. How does one test a long conditional (I have many more test than the above). What should I be seeing in the log for test?
Thanks.