TeamTracker + SkyQ + Search for channel?

Cheers,
I have created an automation/script, called “Matchday”, when my favorite team is playing. This starts TV, SkyQ, some light etc.

But these are just basic functions. To fully automate it, i would like to “search the tv program where the match is shown” (Sky Bundesliga HD 1 to Sky Bundesliga HD 10) and have Sky Q to switch to this channel.

Channel can be set via media_player.select_source, but how can I search for the channel?

Thanks!

Found a solution for this by writing a Python script. If anyone interested, let me know.