Hello,
I’ve built some software for a hardware remote control of media players in Home Assistant - currently configured specifically for Sonos.
In case it is helpful for anyone else, it’s open source and available here: GitHub - timhanley/ha-sonos-pico2w-pimoronidisplay: Home Assistant Sonos Remote Control with Display - Raspberry Pi Pico 2 W