GL-S10 Bluetooth Proxy

Does anyone know if its possible to swap the connection from Ethernet to WiFi on a GL-S10 ESPHome flashed device and if so could offer some guidance
I currently have a GL-S10 that I bought pre-installed with ESPhome connected to my system and its working as it should BUT unfortunately where I would like to locate it on a perminent basis I do not have an ethernet cable near by but do have a strong WiFi signal
I’ve tried adding WiFi settings to my yaml file and commenting out the Ethernet part but esphome doesn’t like it

Maybe you should post the code you tried and show how esphome is expressing dislike.

Yep, great suggestion thanks

This is my modified yaml

  name: "gl-s10-bluetooth-proxy"
  friendly_name: GL-S10 Bluetooth Proxy

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  name_add_mac_suffix: true
  project:
    name: gl-s10.bluetooth-proxy
    version: "2.1"
  # turn on Power LED when esphome boots
  on_boot:
    then:
      - output.turn_on: power_led

esp32:
  board: esp32doit-devkit-v1
  framework:
    type: esp-idf

## Configuration fo V2.3 hardware revision
# ethernet:
  # type: IP101
  # mdc_pin: GPIO23
  # mdio_pin: GPIO18
  # clk:
    # pin: GPIO0
    # mode: CLK_EXT_IN
  # phy_addr: 1
  # power_pin: GPIO5
  # use_address: 192.168.1.23

wifi:
  ssid: "KLS-5810 2.4GHz"
  password: "123456789" 

# Fallback WiFi Hotspot
  ap:
   ssid: "GL-S10-Proxy-Hotspot"
   password: "123456789"

api:
  encryption:
    key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    
logger:
ota:
  - platform: esphome
  
dashboard_import:
  package_import_url: github://blakadder/bluetooth-proxies/gl-s10_v2.yaml@main

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true
#
# The LED is disabled for ESPHome 2023.6.0+ since we do not
# decode the advertising packets on device anymore, and adding
# the LED blink would force the device to decode the packets
# just to blink the LED.
#
# Bluetooth LED blinks when receiving Bluetooth advertising
#  on_ble_advertise:
#    then:
#      - output.turn_on: bluetooth_led
#      - delay: 0.5s
#      - output.turn_off: bluetooth_led

bluetooth_proxy:
  active: true

button:
  - platform: safe_mode
    name: Safe Mode Boot
    entity_category: diagnostic

## DEVICE SPECIFIC CONFIGURATION
# network LED (white one) configured as status led
status_led:
  pin:
    number: GPIO32
    inverted: true

# button on the side labeled RESET
binary_sensor:
  - platform: gpio
    pin:
      number: GPIO33
      inverted: true
    name: "Reset Button"

# output settings for LED's marked Power and Bluetooth
# power LED use: see code line 15
# bluetooth LED use: see code line 60
output:
  - platform: gpio
    pin: GPIO14
    inverted: true
    id: power_led
  - platform: gpio
    pin: GPIO12
    inverted: true
    id: bluetooth_led

# since these pins are broken out inside and labeled as I2C pins they're configured here
i2c:
  sda: 15
  scl: 13
  scan: true


And this is the message I get when I try to upload it

I’m not able to read your screenshots. You should post logs always like code, using code tags.
Upload the new code using USB/UART and make sure indentations are correct (for ap: they are not above).