How do you clear the automation? If you only set automation.points={} then the automation will have no points, but will still be present.
Do trash an automation you must remove it via renoise.song().patterns[].tracks[]:delete_automation(parameter)
I don’t clear via script. I use Renoise automation editor buttons (should trash)
And still there is the question: why is Postmixer device automatable at all ?