Momentary state change switch

I want to use a momentary switch closure, instead of a state change. Currently I have implemented it by using a trigger to change the state back to the original off state, but this is unreliable wrt to timing, as it depends on the internet scanning rate and the response from the server.

Please add a momentary state as an option for a push-button switch.

Brian you can use a “cayenne.virtualWrite” in your code to set the value back to initial value.

1 Like