Input_select | How to optimize code?

In my configuration.yaml I have several the same fields input_select for different entitys. I use them to setup on/off timers. Is there way to use some template for “Options” value? Maybe put options list (time values: 12:00, 12:30, 13:00…) to array and then use them as tempate?

input_select:
  boiler_mon_on:
    options:
      - '00:00'
      - '00:30'
..
      - '23:00'
      - '23:30'
  boiler_mon_off:
    options: 
      - '00:00'
      - '00:30'
..
      - '23:00'
      - '23:30'
  boiler_tue_on:
    options:
      - '00:00'
      - '00:30'
..
      - '23:00'
      - '23:30'
  boiler_tue_off:
    options: 
      - '00:00'
      - '00:30'
..
      - '23:00'
      - '23:30'

I have not used it with input_selects, but you can try decluttering-card

Not certain, but I think the decluttering card is for lovelace config.

you could perhaps use yaml anchors, I use them a fair bit for lovelace config. but haven’t tried them in configuration.yaml. they are standard yaml functionality though …

Sorry, why not just use an input_datetime ?

Mutt, input_select seemed more convenient. But if I do not find another solution, then so will I do

You’re right, I am not sure what I was thinking.