Sonoff Basic: Disable LED

Is it possible to disable the LED so they don’t switch on?

esphome:
  name: smartswitch-glass-lamp-01
  friendly_name: smartswitch-glass-lamp-01

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: !secret ekey-sw-glass-lamp-01

ota:
  password: !secret ota-smartswitch-glass-lamp-01

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Device Specific Config
binary_sensor:
  - platform: gpio
    id: push_button
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
      inverted: True
    internal: true
    on_press:
      # Prevents unintended LED lit states.
      if:
        condition:
          - switch.is_off: relay
        then:
          - switch.turn_on: blue_led
          - switch.turn_on: relay
        else:
          - switch.turn_off: relay

switch:
  # The relay switches on the red side of the LED when active.
  - platform: gpio
    name: "smartswitch-glass-lamp-01"
    pin: GPIO12
    id: relay
    on_turn_off:
      if:
        condition:
          - switch.is_on: blue_led
        then:
          - switch.turn_off: blue_led
  # With this we can control the blue side of the LED.
  - platform: gpio
    id: blue_led
    pin:
      number: GPIO13
      inverted: True

Yes, almost to easy actually. Just get rid of all blue_led references in your yaml and it will stop lighting up :bulb: