kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.52k stars 207 forks source link

Action for power #715

Open pepsonEL opened 1 year ago

pepsonEL commented 1 year ago

Hi. I have in my Home Assistant media_player from amplifier Denon - Heos. But entity HEOS no support media_player.toggle and when i use it in HA with your card power button is show but i can not controll power on or off by this card. Is any chance to we can setup action for button POWER simillary as we can setup for tap_action?

thelukasssheee commented 1 year ago

I would be interested in an idea / solution as well. AVR X1700H is available in Home Assistant in my case through two entities:

The second one holds covers and all the controls - in fact, pretty much anything, but not power. Power is working, though, through the one without the added _2. If there was a way to allocate the toggle power command to a different entity or to call an automation script, this would be solvable.

Similar topic is discussed in #420

Any hints / ideas / quick fixes are greatly appreciated!

I've already checked the Universal Remote Control as an alternative, but it somehow doesn't clone any of the attributes from the HEOS integration...