OBS visibility save/restore with hotkeys

Does anyone have a recommendation for what plugin will let me script scene controls conveniently. Something like save/restore the visibility of a subset of sources and filters in every scene.

I need hotkey support so that I can trigger the restore function via Bitfocus Companion.