With plain ALSA there is alsa-restore.service which restores soundcard states after system restart (volumes, mute switches, etc.).
I'm interested how to achieve the same with PipeWire/WirePlumber. For some reason after restart my headphone output is muted, and some other settings are reset to some default state.
alsa-restore.service doesn't work, because PipeWire/WirePlumber overwrites the settings when started.
WirePlumber Lua configs are very complex and I'm unable to understand it. I'm asking for help.