How to create momentary device via API

We have a ceiling fan with light that has an option to click the button for light toggle or hold it down to cycle brightness. The Bond app’s UI wouldn’t let me configure for anything but the light toggle, but I would like to set the brightness with a momentary button_type via the API. I haven’t been able to locate any good information on the necessary configuration options for momentary buttons, though. Does anyone have an example they could share?

1 Like