Config flow that allows a dictionary to be changed

I’m trying to develop a config_flow for a media_player configuration. The media player has a list of sources that I can query during the setup of the integration. I would like to present this list to the user and allow the user to override the default names of the individual sources. Ideally, the user would also be able to disable sources that are never in use.

I’ve figured out how to display a list where I can enable and disable entries by looking at webostv. But I cannot figure out how to allow renaming of such entries in the dynamic source list. Any pointers?