Philips SAPHI Smart TV Source switch

I’ve a Philips Smart TV with SAPHI OS (24FPS6805/12) and I managed to integrate it with the official integration. I wanted to switch rapidly to a specific source (I’m intersted mainly in HDMI). I did it with an automation that emulates remot’s buttons combination but it is really slow. I know that Android TV have this function and I don’t know if it is impossible to have it with SAPHI or nobody is interested in it. My TV has not Alexa client or Google Assistant, so I can’t use them to switch to hdmi. Thanks in advance

I managed to do it with the cec addon if you are using a Raspberry Pi for HA.