Detect when Apple TV is turned on or off

Can you run shortcuts on Apple TV? If so, you can see if there’s a shortcut action available that matches what you want (either “turn off” or “stop watching” or something similar) and send a webhook request to Homey when that happens.