An easier way to integrate bidirectional sliders in state cards

I’m a huge fan of Homeassistant but one thing really annoys me: The handling of sliders in state cards.

Example:
I have several media players. If I want to change the volume I click on the corresponding media player, a volume slider appears and I am able to control volume.

If I want to have a bidirectional slider in a state card with exactly that functionality I need to:

  • create input slider
  • create automation to set volume on media player based on slider
  • create automation to display volume in slider based on media player

This is no problem at all but it’s getting messy If you’ve got a lot of media players. Furthermore it’s unnecessarily complicated because as stated above a functional volume slider already exists in the media player component when you click on it. It would be great If you could just integrated this volume slider into a state card without having to create automations and sliders. Thinking further same could be used for controlling light intensity of bulbs, fan speeds, etc. pp.

For lights, this can be achieved in the UI with the custom-ui addition

Which has options to display lights that support dimming as sliders in the UI. Could be adapted for media_players?

I’ve already looked into this. Sliders seems to be only available for lights if I got it right.