New Dimmable Light or Switch Button Toggle Option

Currently the only Toggle option for a Button Pushed/Held event for a Dimmable light or Switch in the Simple Automation Rules, is to toggle the light on or off. It would be very useful to add another Toggle selection to set a High and Low Light Level.

I use a button push in my bedroom to toggle my light on and off. But I also created a Rule to sense a button Hold as a toggle between a High and Low light level. This would be a handy addition to the Button actions for dimmable lights and switches.

I'd suggest "upgrading" (re-creating) this automation in Button Controller or, depending on your triggers (not if it's just the button) Rule Machine. Simple Automation Rules has been substantially replaced by other, more powerful apps and is unlikely to receive any future feature development at this point.

"Toggle" is pretty easy for an app to implement because it sends an off() command if it's on and an on() command if it's off. "High" or "low" isn't as straightforward because you'd need to either be happy with what it decides for you (I'm guessing some people wouldn't be :smiley: ) or create the logic yourself. Unlike in SAR, in RM, you can just create actions that do exactly what you want, like:

IF (Dimmer < 66% OR Dimmer is off)
  Set level of Dimer to 100%
ELSE
  Set level of Dimmer to 25%
END-IF

You'll need to substitute whatever levels you actually want to check and set in my example (and decide if you care about the light currently being off); this is just the general pattern.

2 Likes