Set the time for an automation from UI?

Hi! I would like to make an automation, whitch would turn on thermostat an time whitch was set up from UI. Like in evening I set the time for tomorrow morning.

I found input select and I understand how to make an automation.
But I can not understand, should I write tons of “options” in input select? Is there more elegant way to make a “timer” for a device?

I just worry not to make stupid piece of code

This is a better option than an input select:

1 Like