If the song option"Automation Following" is enabled, precise automation writing using LUA API will not work properly. The initial value will bounce in between here and there.
Automation writing should work just normal, even with"Automation Following" option enabled
The initial value / slider value of the dsp device will bounce in between here and there while recording.
Tested on macOS Renoise.