Just crossed my mind: The great WebOS Plus app can do that, but you’ll need to install it using CLI.
Download: GitHub - MaxvandeLaar/homey-webos-plus: Improved LG WebOS integration for Homey
A bunch of interesting flow cards, note “simulate remote control button”:
