That’s the default behavior but it can be overridden. The slider widget in MainUI has a releaseOnly option which when set to “true” will wait to send the command on release.
The widget that gets shown on the Config page for an Item is the default widget. If the default widget chosen by the system isn’t what you need, it can be overridden by setting the “default stand alone widget” Item metadata where an oh-slider-card can be chosen and the various properties set.
If this is a widget you want to reuse across multiple Items, the custom propertied can be defined in a custom widget and that applied to the Item as the default stand-alone widget.
I agree that is should be configurable on a per Item basis and MainUI already supports this. So I think all that’s missing is adding a property to sitemaps on the Slider element.
That’s what I think would make sense as well. I’m wondering what a good name would be, though. liveUpdate? updateWhileDragging?
I also wonder whether we shouldn’t, while we’re at it, remove the slightly confusing sendFrequency option, which some people see as related. I think ClassicUI is not a thing anymore, right?
Edit: oh, and BTW, just for completeness: the iOS app has a (global) option to toggle between 1 and 2.
I suppose the name would be dictated by what the default behavior is. If it remains Option 1, than I’d choose liveUpdate for no other reason than it’s shorter.
If the default behavior changes to Option 2, I’d use the same name as MainUI uses: releaseOnly. Though I’m not recommending changing the default behavior. That would stir an ant nest for no good reason I think.
Too late, that already happened (in the Android app, that is). Technically the current behaviour is undefined/application defined though, which is what triggered this thread: defining a default behavior and an option to override it, which then can/should be implemented by all clients.