Switch component with choices : ON, OFF, AUTO (IR) for light

Hello,

Did some of you maybe know component who’s like a switch for light but with 3 options (on, off, auto).

What i want is like having light automated with infrared sensor but where i can force ON or OFF mode if needed.
Currently i use 3 button binded to 3 input_boolean and automations to achive this goal, but this took a lot of code for just this ‘basic’ fuctionnality.

I hope some of you have better idea for this.

Nico.