Want to use the AndroidTV Press Key card in HomeyScript, but can’t find the exact Syntac for the press_key card.
const AndroidTV = "homey:device:fee85441-654a-461d-8a36-bf544b8e350d:";
//await Homey.flow.runFlowCardAction({"id": AndroidTV + "pause"});
await Homey.flow.runFlowCardAction({"id": AndroidTV + "press_key",
"args": {"option" : "key_pause"}});
The second line (if I remove //) works fine. But the third line doesn’t. I want to select TV channels using HomeyScript, but can’t figure out what I need to fill in. Tried select channel 2 the number 2 or key_digit_2, but nothing works (no error as well).
It’s maybe caused by the fact that it’s a fixed list of items:
Does anyone know the answer to this riddle?
