Using Sonos Beam to set the house's TV mode on/off

Hi guys!

Despite having read a few quirks here and there about the integration between the Sonos Beam and ST, I took the plunge and got one for my living room.

I used to have a Harmony hub… but for x reasons that won’t be any use now, it’s gone…

The Harmony had a switch that every time I turned the TV on, the home would go into TV mode and therefore act accordingly… turn the lights to a certain setting, heat, curtains… you know the drill…

So! That brings me to today… I’ve seen that the Beam has a few “inputs”… Local library, different radios, TV…

Would it be possible to tell ST that “whenever Beam goes into the TV input, turn on TV mode”?

Willing to act as a guinea pig…

Thank you all in advance!