2 Conditions SUN and TIME on Close Covers

I have an automation that have 2 conditions, and not working…
I want that after 20:15 and less 30 minuts the sunset, my covers close in my house.
Can anyone help me why this automations with this 2 conditions, dont work ?
Thanks in advance. Ricardo Carmo

This is my code:

- id: '9_001_2'
  alias: Fechar Estores Janelas
  trigger: []
  condition:
    condition: and
    conditions:
    - condition: time
      after: '20:15'
      weekday:
       - mon
       - tue
       - wed
       - thu
       - fri
    - condition: sun
      after: sunset
      after_offset: "-0:30:00"
  action:
  - data:
      entity_id: cover.janela_ricardo_cover
    service: cover.close_cover
  - data:
      entity_id: cover.janela_princesas_cover
    service: cover.close_cover
  - data:
      entity_id: cover.janela_sala_cover
    service: cover.close_cover

The automation has no trigger.

The trigger controls when the actions should run, and the condition controls if the actions will run (when the trigger occurs.) Without a trigger an automation will never run its actions.

Think about when you want the actions to run. Then enter a trigger, or triggers, that will make that happen.

Then think about when any of those triggers happen, do you want them to always let the actions run, or do you want to limit them such that some conditions also have to be true at those times for the actions to actually run.