Blink. How?

Thanks, this works exactly as wanted…

  # Blink the green LED
switch:
  - platform: gpio
    pin:
      number: D3
      mode: output
    id: greenLED

interval:
  - interval: 500ms
    then:
      - switch.toggle: greenLED