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

Added "Media player volume slider" card feature. #23199

Merged
merged 8 commits into from
Dec 10, 2024

Conversation

simon-zumbrunnen
Copy link
Contributor

@simon-zumbrunnen simon-zumbrunnen commented Dec 7, 2024

Proposed change

Adds the possibility to add a "Media player volume" feature (slider) to the "Tile card".

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

- type: tile
  entity: media_player.living_room
  features:
    - type: "media-player-volume"

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

Copy link

@home-assistant home-assistant bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @simon-zumbrunnen

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant home-assistant bot marked this pull request as draft December 7, 2024 14:19
@home-assistant
Copy link

home-assistant bot commented Dec 7, 2024

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@home-assistant home-assistant bot marked this pull request as draft December 9, 2024 06:51
@MindFreeze
Copy link
Contributor

TBH, I prefer buttons for volume but this is still an awesome feature

@simon-zumbrunnen
Copy link
Contributor Author

TBH, I prefer buttons for volume but this is still an awesome feature

You might not be the only one. Would it make sense to call it "Media player volume slider" so a second feature called "Media player volume buttons" could be created in the future?

@MindFreeze
Copy link
Contributor

Yeah, good idea

@simon-zumbrunnen simon-zumbrunnen changed the title Added "Media player volume" card feature. Added "Media player volume slider" card feature. Dec 10, 2024
@simon-zumbrunnen simon-zumbrunnen marked this pull request as ready for review December 10, 2024 11:10
@home-assistant home-assistant bot requested a review from MindFreeze December 10, 2024 11:10
MindFreeze
MindFreeze previously approved these changes Dec 10, 2024
@MindFreeze MindFreeze enabled auto-merge (squash) December 10, 2024 11:12
auto-merge was automatically disabled December 10, 2024 13:07

Head branch was pushed to by a user without write access

@MindFreeze MindFreeze enabled auto-merge (squash) December 10, 2024 13:32
@MindFreeze MindFreeze merged commit da727d3 into home-assistant:dev Dec 10, 2024
11 checks passed
boern99 pushed a commit to boern99/ha_frontend that referenced this pull request Dec 11, 2024
* Added "Media player volume" card feature.

* Make sure the feature is not displayed on unsupported players

Co-authored-by: Petar Petrov <[email protected]>

* Renamed to Media player volume *slider*

* Missed one rename.

---------

Co-authored-by: Simon Zumbrunnen <[email protected]>
Co-authored-by: Petar Petrov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed Design Related to Home Assistant design gallery Tile card
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants