I have things set up so that at a certain time of night, my front porch lights dim to 50%. But, sometimes I want to keep them at 100% if someone is coming over. I have a button that I use for this, but what I've had to do is as follows. I have a virtual switch called Porch Bright. I set up a rule that when that switch is on, it sets the brightness of the lights to 100%, another rule that sets the brightness to 50% when the virtual switch is off, and a third rule that when the button is pressed, it toggles the brightness.
I'd like to clean this all up, but here's the problem. When I tried making the rule to toggle the brightness, it only gives one brightness to toggle to, so say, 50%. When I tried that it toggled between that on off. Is there anyway to tell it to toggle between two brightness levels, and then any way to have a button do the toggle?