Added note about esp8266 LED

This commit is contained in:
2024-06-03 23:07:04 -04:00
parent b32680f647
commit 817b382f55

View File

@@ -5,7 +5,6 @@ esphome:
esp8266: esp8266:
board: d1_mini board: d1_mini
early_pin_init: false early_pin_init: false
# restore_from_flash: true
# Enable logging # Enable logging
logger: logger:
@@ -25,6 +24,8 @@ wifi:
use_address: YOUR_IP_HERE use_address: YOUR_IP_HERE
on_connect: on_connect:
- then: - then:
# Because of the circuit on the esp8266, switch.turn_on actually turns the LED OFF.
# So look for the LED to turn OFF once it has successfully connected to wifi.
- switch.turn_on: led - switch.turn_on: led
# Enable fallback hotspot (captive portal) in case wifi connection fails # Enable fallback hotspot (captive portal) in case wifi connection fails