How to effectively switch between TV and Projector?

I am slowly stepping forward with this thanks for the tips here and the fantastic long keypress support on the OSMC remote! Many thanks for this @darwindesign

I have managed to use a flirc device as an IR blaster and I can already toggle the Projector and/ or the TV power state with this.

I have some remaining issues to resolve though:
Maybe the main issue is the placement of the flirc transmitter. The spot from which I can control both the Projector and the TV is behind the screen. So when the screen is down, then I cannot control the projector. If I move the flirc in front of the screen, then I cannot control the TV.

This could be potentially resolved, if the TV could be power cycled via CEC, and here is my question:
What is the purpose of the in-built command “CECToggleState”? Shouldn’t it power on the TV if the current state is off and power it off if the current state is on? Currently this command is only turning the TV off, but not turning it back on. So basically there is no difference between this command and “CECStandby”.

Do I misinterpret the usecase of this command or is there maybe a bug regarding this?