I've never created a python script but was thinking about one that would help with some light controls that currently require 2 different triggers.
Use Case:
I have some lights that are triggered by motion sensors.
When the sensor fires I'd like to turn on the associated light
That part is easy. The twist is that at certain times I'd like the lights to be at 100% and other times (night) I'd like the lights to be at ~30%.
As noted above, I currently do this with two different triggers. One for 100% which only turns on the light (at 100%) if its between the hours of 7 am and 9 pm. The second trigger handles the period between 9 pm and 7 am, setting the lights to 30%
Just to add another level of complexity, no matter which level the lights are set to, they should automatically turn off after 20 minutes. I currently do this using the auto off feature of the triggers.
Thinking this script will be helpful in removing some triggers (not a big thing) and will help me get my feet wet in scripting so I can make Indigo even more useful.
Thanks for any help.