Closed Toolhead closed 2 years ago
Same for me.
You can allocate commands per activity to a button and device. So this should be no problem, see example below:
Thank you for the confirmation that is possible to use a "per activity button" config. Can you update the docs with an easy example? The one that is present is a "global" custom button and it's not very clear how to do per activity.
The presented one is a activity with buttons different from the 'global' definition: The name of the activity is Oppo app. You can also add a seperate device per button. ''''
I currently have this:
type: custom:harmony-card entity: remote.harmony_hub volume_entity: media_player.receiver scale: 1.25 activities:
the a-button is now configured as "Enter", but I want the center button to send "Enter" when current activity is "Internet radio" Can anyone show me what to change? Thanks in advance.
add the following lines to the buttons section of Internet radio: dpad_center: icon: mdi:checkbox-blank-circle device: AV-ontvanger Onkyo command: Enter
@werfpsa Thanks, but could you paste your code in mine, I tried several different, but can not get it right. Excuse me for my ignorance...
type: custom:harmony-card entity: remote.harmony_hub volume_entity: media_player.receiver scale: 1.25 activities:
Unfortunately it doe not work. I can put the lines and save it. But when I open the code again there are "null" texts added:
Do you indent with 2 spaces after buttons and after dpad_center?
I did not, but now it is working. Thank you so much!!!
For my receiver the command from the center button is "Enter", for my other devices the center button it is "Select". The button sends "Select", which is fine for all devices, except when the device is the receiver. Is there a way that the center button sends "Enter" when the active device is the receiver?