Entity Card to set/create automation

How can i set a card in the Lovelance dashboard in which I can select a switch/plug from a dropdown and change the status?

Extra: set a time in a input in which I want the switch to change status (set on/off)