ESP Home, persistence of dynamic data

I’m working on an extension to media-player in ESPHome. Trying to determine the best approach to persistently storing the Group Member list (Service is Join), so that it will survive both a firmware refresh on the ESP32 component and/or a Core Reboot of HA.

Thanks,
Bob