Appreciate any help converting this one to python.
- Code: Select all
tell application "IndigoServer"
if the value of variable "sprk_Test_All" is equal to "on" and the value of variable "sprinkler_season" is equal to "true" then
execute group "Sprinkler - All Stop - Variables Set"
else
if the value of variable "sprk_Test_All" is equal to "off" and the value of variable "sprinkler_season" is equal to "true" then
execute group "Sprinkler - 30 Sec Test All Areas"
end if
end if
end tell
Thanks,
Carl