kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.51k stars 206 forks source link

Actions on Volume Up/Down #592

Closed fakethinkpad85 closed 2 years ago

fakethinkpad85 commented 2 years ago

I´m using a Volumio media player and a DAC with SPDIF output that dousent support volume control, what i would like to achieve is using the built in Volume Up and Down buttons to call a Service for my Broadlink RM4 Mini to control the volume by IR.

I suppose this could be done using "shortcuts" but i need to have the player as compact as possible and I´m not sure the Shortcuts can be placed at the top which would be one solution.

Another solution would be if we could use the default Up/Down buttons and set a custom Action/Service on them.

Skärmbild 2022-01-15 133816

kalkih commented 2 years ago

Hello, I would suggest creating a Universal Media Player, and map the volume commands to the desired service, and use that entity in the mini-media-player card