Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Media player icon toggles on/off, just like the climate card #1406

Open
2 tasks done
smugleafdev opened this issue Apr 12, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@smugleafdev
Copy link

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

The climate card makes the icon for the thermostat (and the text near it, such as name and current temp/status) a clickable area that toggles the device. This is the default behavior with no customizations applied. It is intuitive and clean. The media player mushroom card does not have this default behavior.

Describe the solution you'd like

When clicking on the media player icon or name and status text box, it should toggle the device. Whether this is default behavior, or yet one more option in the card options list, either will work great.

Describe alternatives you've considered

  1. I overrode the default action to call the toggle service. The thing that is not great about this option is the entire card becomes a click area, rather than just the icon + name and status. This is the current best option for me though.

  2. Using the media controls for turn on/off: this is not great because the power button takes up the majority of the layout, rather than letting the volume controls take up the space. See attached:

Screenshot 2024-04-12 at 7 08 03 AM

These should flip. The power button is a simple toggle; it should be square and small. The volume should always take spacial priority over the power button in a case like this.

  1. Leaving the default action in place, which opens the popup menu, and pressing the power button there: ew too many clicks

Additional context

No response

@smugleafdev smugleafdev added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant