I use a LinkPi encoder and I have created a custom channel to stream video from one specific app in an Apple TV. Since obviously the app has to be open and steaming video when the channel is selected, I have created a button in Home Assistant that tunes to that stream through the Apple TV Integration (kills any active app, opens the correct app, hits the play button for the video stream).
Now, is there a way a custom channel can hit a webhook
when the channel is selected, so I can have an automation in Home Assistant do its magic for me and start the stream? It's kind of like AndroidHDMI for Channels but with Home Assistant being the man in the middle.
Thanks