having my serial plugin for RFXmitter and a treescript plugin to create the action interface and the config page.

Applying the settings is only coded in the treescript action, if the serial device needs to apply them upon startup (instead of treescript) then I need to duplicate that part of the code. In the treescript for the OnApply action, and in the serial plugin when starting the serial plugin.

Hence, initializing from treescript needed the code only in one place, easier to maintain. Guess I have to duplicate it anyway.