-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support turn_on/off_action #2
Comments
Hi TGZ, why would you want to do this rather than just use mute/unmute? Given it's not an additional feature and is just a remap I would suggest maybe you do this by means of a universal media player? |
It's easier if the entity can be configured using Currently, stopping and restarting the played media (at least the radio stream) doesn't work as I'd expect to. So one would either expect to either "fix" it using |
Hi @TheGroundZero I don't understand your Lovelace setup with this unfortunately. Mute and unmute is not starting and stopping a media stream so I'm not happy to integrate a non-feature like that. As I mentioned before, remapping a function like this can be very easily achieved with a universal media player |
Hi
I noticed that while
media_player.pause
works to stop playing music from the Radio source on my HiFiBerry,media_player.start
doesn't restart the stream.Therefore, I want to use
media_player.volume_mute
(true
/false
) instead via theturn_on_action
andturn_off_action
most mediaplayers usually support.However, it seems that this integration doesn't support these options.
Invalid config for [media_player.hifiberry]: [turn_on_action] is an invalid option for [media_player.hifiberry]. Check: media_player.hifiberry->turn_on_action. (See ?, line ?).
Would you (or someone else) be willing to add support for these options to this integration?
Kr
TGZ
The text was updated successfully, but these errors were encountered: