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

#22 Add global play/pause #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

#22 Add global play/pause #24

wants to merge 1 commit into from

Conversation

guix77
Copy link

@guix77 guix77 commented Jul 15, 2023

Here's a PR implementing my feature request: #22

I went with the addition of a media_player entity. After all, LedFx is (kind of) a media player. Thought it would make more sense to put the play & pause feature into a media_player than in a switch. Also, we could add other new features like setting the global intensity (which could be the media_player "volume". Finally, the already existing feature of switching LedFx's audio source could be implemented in an async_select_source function of the media player.

For the coding style, I went straight to the point and didn't structure as well as the existing code. Let me know if you have suggestions to improve this.

Thanks :)

@philcsn
Copy link

philcsn commented Aug 18, 2023

Hey! Awesome work! Do you know if your fork still works with the current version of HA?

@guix77
Copy link
Author

guix77 commented Aug 20, 2023

Hi, thanks! Yes it does, I'm on the latest Home Assistant 2023.8.3 and LedFx v2.0.71

@guix77
Copy link
Author

guix77 commented Nov 12, 2023

This feature - and only this feature - is now available as a new integration: https://github.com/guix77/homeassistant-ledfx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants