I see this ha_philips_android_tv custom component has a send_key method. Would it be possible to expose this method as a service with a string parameter? Or as a list of strings (so the buttons would be sent in sequence)? Then this component could be used together with a custom lovelace card, such as https://github.com/marrobHD/tv-card
Good idea, definitely possible!
Though I am currently not able to test anything, since I am not where my Philips TV is (and have been over a year now).
So 2 possibilities:
You investigate how this is coded and make a PR, I'll review it and trust you that it's working
You wait until I find the time to code it, and then I would like you to test it, before I release it
Someone found a list of supported commands https://community.home-assistant.io/t/philips-android-tv-component/17749/12
(EDIT: some other project seems to maintain a list of commands: https://github.com/eslavnov/pylips/blob/master/available_commands.json )
I see this ha_philips_android_tv custom component has a
send_key
method. Would it be possible to expose this method as a service with a string parameter? Or as a list of strings (so the buttons would be sent in sequence)? Then this component could be used together with a custom lovelace card, such as https://github.com/marrobHD/tv-card