Not sure what a TV hotbar is, but you’d have to figure out if this command is being sent via IR, RF, ADB, the remote API, or something Sony proprietary, and then figure out if it’s possible to call that from Home Assistant.
For creating new sources, see this thread: Android TV Remote - App Links/Deep Linking - Guide. I’m also not sure about 1:1 mouse control on Android TV. I know it’s possible on Windows using Unified Remote, but I don’t think the 1:1 mouse capability of that is possible on Home Assistant.
essentially on the Sony Bravia TV remote there’s a button (gear icon) that when pressed displays a small bar on the bottom of the TV with some pre-configured options (to quickly switch picture / audio modes, change brightness but also to just turn off the screen). I guess it’s just a collection of specific functions that are in the main settings as well, but just presented to you in an easier accessible way.
Unfortunately I’m out of my depth to even begin trying to find out how to figure out how that command is being sent to the TV
You should look into the Sony Bravia TV Home Assistant integration and see if it does what you need. If not you could also look into a smart IR remote like a Broadlink (which I personally use for TV and AV receiver controls) to learn and send IR and RF remote commands.
Right you are, in the log I found that “PictureOff” corresponds to the key command to turn off the screen. Tried it via Developer Tools → Service Calls → Remote:Send command and it works.
Now I’m trying to integrate into the custom card, but am struggling to correctly define th custom key. Could me out how to do it properly?
Here’s how the service call that works in developer tools looks like
I tried to change the remote_id further up in the custom card, and then the command just works, but then I lose the functionality of the other commands you’ve programmed
I also have my personal remote in popup controls using browser mod popup cards, card-mod, and layout-card media queries for horizontal and vertical layouts, which is opened via a regular Home Assistant button set to the remote entity.
Version 3.2.0 has just been released! This version changes custom action syntax to follow the Home Assistant actions format, and adds support for remappable double tap and hold actions for custom buttons. The following action types are now supported:
key
source
call-service
navigate
url
I’ve also refactored and improved how double taps, holds, and touchpad swipes are processed so they now work on all platforms! You can use them on any chromium based or Firefox desktop browser, and the Home Assistant apps on Android and iPhone.
This release does deprecate a few fields related to remapping touchpad actions and changes the format of custom actions (formerly custom keys and sources), but old configurations should continue to work and get internally upgraded to work with the refactored tap/double tap/hold action logic.
Hi, I am looking to use the commands learned via Broadlink RM4 mini, however, it is not working. I have already tested the commands and they work via script. Is it possible to use this custom card together with the learned commands?
It should work the way you have it listed there yeah. I just tried it with some of my Broadlink IR commands and they worked fine when the service calls were defined in custom actions (I define all my IR remote actions in scripts and call those, which lets me run them in parallel mode with a max of 2 runs, which I’ve found works best for repeated IR commands speed and preventing overshooting too much). I’m not sure why it wouldn’t work for you. Are you seeing any errors in the Home Assistant logs?
thanks for your quick response! i was able to solve it, the error was that i had forgotten to change the name of the entity, i was not calling it by its new name, but by the old one.
While you are joking, old remote configs should get internally upgraded and should continue to work. If you found that a new version does break old remote configs and there isn’t a breaking change section in the GitHub release notes, let me know for real!
Thanks for your great work! I was able to create a decent remote without too much hassle.
I was wondering if it’s possible to have a numpad (or buttons) to sent channel numbers. My dutch tv provider kpn is build on the Android tv and does accept channel numbers from Google Home (and some apps on playstore as well). Did i miss something or is it not possible?
Keep it up!
I had the numbers without ‘n’ pasted from somewhere. Now it works perfectly. Thanks a lot, you’re great!
Screenshot of remote for KPN TV+ Android STB. Every button is working.
Sorry super intelligent folks, I am about to ask a really stupid question after going through all the above conversation.
Tried using custom action by pasting the codes directly under the remote control yaml code in the dashboard. Didn’t work. Tried pasting that code in configuration.yaml, says custom action doesn’t exists. Searched under customer components section in Vs Code’s custom components section, couldn’t find any yaml file related to android TV card.
I realise I’m quite late to the (really cool) party - this extension was exactly what I was looking for, and really pleased that it’s being actively updated.