I have a piston set up based on the Lutron Caseta pico dimmer at the top of my basement stairs: when the level changes to 2% (which is how I have the favorite button programmed), turn off all the lights in the basement. It also changes the level of the stairs lights to 50% before turning them off, so that they turn back on to that level if you turn them on via Alexa. This has worked well so far, but I’d love to make it work both ways:
- if the stairs dimmer is OFF and you press that button, turn on all the lights in the basement
- if the stairs dimmer is ON and you press that button, turn off all the lights in the basement
Right now, it doesn’t know the difference, so as long as it changes to 2%, it’s going to turn off all the lights. And I don’t necessarily want to mirror all the basement lights to that switch — I just want that one favorite button to function as an all-on / all-off button, if possible.
Is there a way for me to capture whether the dimmer was previous OFF or ON before the change to 2%?