Version 4.8.0 has been released! This release adds Denon AVR as a default platform, and adds keyboard support to Samsung TV (using the SamsungTV Smart Component custom integration).
Hi, thank you for the integration, it works very well.
I added a custom button to turn on my Samsung tv from magic packet and itâs working good.
Now, i am trying to change the icon of my custom button depending of the state if my TV (if switch on/off).
For the test, i added a test button rathet than TV state.
But the code is not correct.
Can you help me please ?
custom_actions:
- type: button
name: power2
icon: >-
{% if input_boolean.test == 'on' %}
mdi:power-on
{% else %}
mdi:power-off
{% endif %}
Thank you !
The templating system of this card uses the same rules and syntax as Home Assistantâs backend templating system with few exceptions. You have to use the is_state function. You can also do this in one line.
icon: mdi:power-{{ "on" if is_state(config.media_player_id, "on") else "off" }}
Working good !
Thank you ![]()
I installed the universal remote card, but some of the buttons are not working. I am using a Homatics Box R 4K Plus. What are my options?
The Android TV default keys list uses the lists provided by the Python library that Home Assistant uses for the Android TV integration. Not all keys are guaranteed to work with all Android TVs, if at all.
You can try calling the commands with the ADB integration instead, or using a smart IR remote.
How would I add custom buttons for s0oundtv and paramount+ (UK - the .ca version)?
Version 4.9.0 adds Yamaha YNCA as a default platform. It also makes other small tweaks like calling search on enter for the search dialog, and changing the max source icon to an HBO Max icon.
Thanks for your work,
I think itâs really well done, and the ability to customize things makes me really happy ![]()
I have a problem, itâs definitely my fault, but I hope I can solve it by asking you experts.
I successfully configured everything with a Samsung TV and SamsungTV Smart Component custom integration.
The source buttons like Netflix and Amazon Prime Video work great, but I canât switch back to normal TV with just one button.
Iâve tried all the buttons listed (TV, Antenna, etc.) but nothing happens. Maybe itâs a problem with my TV? The other buttons work, though ![]()
The only way to switch back to TV when Iâm on Netflix or Prime is to use the sequence: âsourceâ button and then the âcenterâ button.
If I canât get a âTVâ button to work, can I create a custom button that simulates, like a macro, pressing these two buttons consecutively?
Thanks again,
I hope I can fix this. In the meantime, Iâm having a blast customizing the interface with colors and backgrounds.
Really great work.
SOLVED:
I made a script in Home Assistant using the SamsungTV Smart Component remote and creating the button sequence I needed.
Then, in the remote control I created, I added a custom interaction to the button, which calls the script I just created.
The remote card is great but I cannot get power on to work. Have also tried to set up the TV using the Wake on LAN integration but that doesnât resolve it.
However if I go to the Device in Home Assistant I can power on from there so it doesnât appear to be a network or device configuration issue.
Any ideas as to how it can be resolved?
Iâve been building a remote using the generic remote template as Iâm building a controller for multiple remotes.
Overnight most of the default keys have disappeared. The code is still there, it just isnât pulling icons into the layout eg rewind.
My HA image updated yesterday so I donât know if thatâs the issue. Iâm not very experienced so the chance of human error is pretty high but if anyone can help me out it would be appreciated
My bad, I broke the generic remote platform. Fixed in version 4.9.2.
Hi, i have problem with this addon and my samsung tv from 2019. I cant turn on tv from âcold startâ using remote that i created with this addon. If i use SamsungTVSmart addon i can power on tv using wol and that works but button for power that this addon creates cant, i guess power buttons command âpowerâ is not doing same thing like media player is
Per the README, the Samsung TV platform uses the built in Home Assistant integration for default keys and the custom SamsungTV Smart component integration for default sources and keyboard. If the default power keys for the built in Samsung TV integration do not work for your TV, you have to create a custom action to use the alternate wake-on-lan method as described in the built-in integration or custom integration
Thanks, ill try to make it work with custom samsung addon
Ps
As alternative i can allways use SamsungTVSmart addon for first power on of the day, and then for the rest of the day button from this addon, since it works after that
-
I am on v4.9.0. When I try to redownload the latest in hacs I get the message âDownloading Nerwyn/universal-remote-card with version 4.9.2 failed with (No content to download)â
-
I have been using this card from the early days so I had a fully manually configured set of cards. Now that a lot of the devices are natively supported/ UI configurable, I deleted those cards and added the default ones for each device. Now I dont know how to add the customizations I had. For instance, my kodi remote volume buttons were mapped to my Marantz receiver, which I did by just changing the media player entity ID. And the touchpad left right swipe during fullscreen playback would seek playback forward and backward. I have the commands with me, just want to figure the appropriate way to incorporate them in the new scheme of things.
This is an excerpt of my old config
custom_actions:
- type: button
name: back
tap_action:
action: perform-action
perform_action: kodi.call_method
data:
method: Input.ButtonEvent
button: backspace
keymap: KB
target:
entity_id: media_player.kodi
icon: mdi:arrow-left-bold
mode: single
- type: touchpad
name: touchpad
tap_action:
action: perform-action
perform_action: kodi.call_method
data:
method: Input.ButtonEvent
button: enter
keymap: KB
target:
entity_id: media_player.kodi
up:
tap_action:
action: perform-action
perform_action: kodi.call_method
data:
method: Input.ButtonEvent
button: Up
keymap: KB
target:
entity_id: media_player.kodi
hold_action:
action: repeat
mode: single
name: up
type: button
Whatever is happening with you when trying to download has to be some kind of HACS bug.
Is something not working for you in the custom elements tab? You should be able to modify existing and add new remote elements there to recreate your old custom ones. You can also edit the YAML of the individual custom remote elements instead of the entire card and try to paste your old custom commands there.
I know how to paste my old yaml. I was just wondering if the more elegant way is to use the features available in the UI or something, to avoid having old formatting.
Other than the update old config button no. If youâre switching from a fully custom remote to the new platforms youâll probably be better off updating the old config with the button, setting the correct platform, and then deleting any redundant custom remote elements.
Anyone able to share template for Sky Q? thanks
