Keyboard doesnt work. It says androidtv.adb_command not found.
Another peculiar thing I observe is that I am not able to edit the yaml config properly. When I try to edit/ delete some sections, the cursor suddenly just goes to the top left corner of the window, to the beginning of the code. Its as though the visual editor wont let me edit it. Even when I delete the entire yaml I am still able to see the remote in the right preview pane.
Are you sure that your platform is set to Kodi, and that it isn’t overridden by any custom keyboard actions?
The cursor jumping is an issue with the code boxes and appears in some default cards. Which editor mode is this for? The entire card? The layout tab? An action?
The cursor is jumping when editing the entire card. I am left with no option but to create the yaml on notepad and replace the entire contents. When I try to delete a few lines, it does not allow me. This is quite problematic.
Unfortunately that’s a Home Assistant issue, I don’t have control over the entire card YAML editor, just the subsection ones. Can you try and see if it also happens with other custom cards? Why not use the UI editor?
I can edit the yaml just fine from the raw config editor, but not from the individual card. I had copied the conifg directory of another build to this one in the hopes of copying over all settings etc but that hadnt worked. Then I manually installed a bunch of stuff from HACS anyway. Hope that isnt causing the issues.
since updating my Android TV to version 12, some commands do not work anymore (e.g. TV, CHANNEL_UP and CHANNEL_DOWN). Other still do (e.g. dpad commands or HOME).
Did someone experience the same issue?
Think, I’ve had the same problem.
Solution: my Bravia Integration has been broken.
Removed it completely and added it again.
Now it works
This version implements a massive overhaul of the templating system. Almost all of the Home Assistant templating extensions have been implemented into ha-nunjucks, my instantaneous synchronous frontend only alternative templating system for Home Assistant. This includes Pythonic datetimes! See the ha-nunjucks README for more information on all of the new templating functions, filters, and tests.
This version also adds a new action - Evaluate JS. If you know how to write JavaScript, you can now do so as an action. Just be careful that you don’t break anything!
Read the README, and use the configuration UI. service_data should be data, and call-service should be perform-action. You’re also missing the perform_action (formerly called service) field which I’m guessing should be media_player.play_media. There’s a button on the bottom of the first tab of the configuration UI which will update deprecated configs, including outdated actions (formerly called service calls, renamed by the Home Assistant developers a few monthly release ago) like yours.
‘- keboard’ ignores the string and sends ‘i’ only (Android Debug Bridge configured, connected to my Nvidia Shield with the corresponding keyboard_id)
‘- captions’ is not working at all, is that a strictly roki feature?
‘- search’ initiates google assistant correct string and finds what I need but ends with a voice command/waiting waiting for voice input (locks everything up for a while)
keyboard only sending i and search also triggering voice input sound like really weird bugs, but I’m not sure what to do about them since they work fine on my Google TVs.
The Android TV default keys comes from the Python library list. It may not work on all Android TVs.
The width is defined by your card layout and Home Assistant. The height can be changed using CSS styles under the appearance section of a custom touchpad action.
@Nerwyn is their a tutorial on how to edit images like this into svg to fit the icon part. I could not find any good youtube videos to help me use this icon for my plex icon.
I don’t know if there’s a tutorial. The custom svg paths was something added in the project this card was forked from that I’ve continued to use but haven’t expanded much upon. You do need to copy just the path fields from within the SVG XML.
The SVG XML has a bunch of elements named path with attributes named d. The The d attribute contains the commands that draw the SVG icon. You need to copy all of the path commands into the editor and then modify it as needed. To be honest it probably won’t work well with that icon, as this card’s custom icon feature was made to work with binary icons. You may be better off using a background image, like in this example.
Hi.
i love this card and its working nicely.
i would like to know how is it possible to run and a button from this card using script
for example how i can run this in a script: