Lights are flashing

who knows how to make the blue light flash ?


esphome:
  name: geel
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "#######"
  password: "#######"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Hehe Fallback Hotspot"
    password: "eTHxwwPU"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

switch:
  - platform: gpio
    pin: D7
    name: "Geel"

  - platform: gpio
    pin: D5
    name: "Blauw"


Turn it on
Pause
Turn it off

Try changing your switches to output components and adding a light that use the output components. Then you can add effects, such as strobe, to the light. Here’s an example excerpted from one of my ESPHome devices.:

output:
  - platform: esp8266_pwm
    id: blue
    pin:
      number: GPIO2
      inverted: True

light:
  - platform: monochromatic
    name: "Blue LED"
    output: blue
    id: blue_light
    effects:
      - strobe:


tnx
It works !!