I'd like to set up the mute button in the remote to mute a receiver that's playing the audio from the TV instead of the roku mute button.
I've tried the following options:
First, I thought maybe I could use the toggle action to flip the state of media.player.receiver, but there's
not a way to specify a state attribute (like is_volume_muted)
tap_action:
action: toggle
Then, I thought I could use call-service, but that only works to mute and now there's no way to unmute.
I thought I could use Jinja to do this, but it won't let me save this. If I pass it as a string, I can save, but it doesn't render
the string, so the value I'm passing isn't a boolean.
I'd like to set up the mute button in the remote to mute a receiver that's playing the audio from the TV instead of the roku mute button.
I've tried the following options:
First, I thought maybe I could use the
toggle
action to flip the state ofmedia.player.receiver
, but there's not a way to specify a state attribute (likeis_volume_muted
)Then, I thought I could use
call-service
, but that only works to mute and now there's no way to unmute.I thought I could use Jinja to do this, but it won't let me save this. If I pass it as a string, I can save, but it doesn't render the string, so the value I'm passing isn't a boolean.