Automate VST A/B + Bypass VST Plugin automation

I want to be able to have two different settings on a compressor, one on A, one on B, and automate switching between them without writing automation for the individual parameters of the plugin.

Currently, when you attempt this, A/B switching itself isn’t automated, only the individual parameters are. This can make things confusing sometimes because the individually changing parameters are changing what is stored in the A or B, ie, your A setting at somepoint becomes your B setting or vice versa.

So essentially, Automation for the VST host/wrapper, separate from the plugin automation itself and the later also being able to be disabled.

I suppose this could be done (if A/B automation existed) if you muted the automation for the specified controls.