Automation: time switch with conditions

Post what you have tried ( see Community Guidelines 9 & 11)

From what you have described, one way to approach it is to have individual triggers for each of the item from the first list. Set the ID of each trigger to match the values in the Input Select, so a simple template condition can reject non-selected triggers:

triggers:
  - id: 5PM
    trigger: time
    at: '17:00:00'
  - id: sundown -1 hour
    trigger: sun
    event: sunset
    offset: '-01:00:00'
... more triggers
conditions:
  - condition: state
    entity_id: input_boolean.automation_moodlight_kitchenwindow_activation
    state: 'on'
  - condition: template
    value_template: "{{ trigger.id == states('input_select.automation_moodlight_kitchenwindow_activation_on') }}"
actions:
....