[closed] What feature type for a switch?

I have boxes that I place behind the switches, I don’t know what type of feature I should define (enocean integration) to be able to control them afterwards?

By the way, is it the setValue function that allows managing the command to be passed afterwards?

Oh I found it, I had left read_only set to true in the Switch feature type.
Once set to false, I now have the toggle on the dashboard and the option in the scene.

I added a setValue and it works!