I Made The LED On A GE Embrighten Z-wave Switch Go On And Off With Button Action

I have a gate at the end of the driveway. I will likely control it by using a GE Enbrighten switch in "button mode", ie, two taps up = button3=open gate, two taps down = button4=close gate.

I thought it would be nice to have the switch's led light up when open and be dark when closed.

The thread below, with the code from @JasonJoel , which I just cut and paste into a custom version of his fine driver, allowed me to make this happen. Thanks @JasonJoel .

Now all I have to do is hook up the operator, controls, ie, everything, lol.

1 Like

I also have a button rule for each motion rule. Three taps up-disable motion, three taps down-enable. The way it is now, you can't tell if it's disabled or not. The LED would help there as well.

Download the Hubitat app