[wifi][web_server] Guard AP portal helpers with USE_WIFI_AP and apply review cleanups

This commit is contained in:
J. Nick Koston
2026-08-19 14:40:35 -05:00
parent 78258dc554
commit 676ecae469
10 changed files with 51 additions and 40 deletions
@@ -0,0 +1,9 @@
# AP mode: with a WiFi access point and the interface embedded in the firmware, web_server
# runs its own captive portal (DNS server, unknown URLs redirect to the page).
wifi:
ap:
ssid: "ESPHome-Test"
password: "Test1234!"
web_server:
local: true
@@ -1,9 +1,2 @@
# AP mode: with a WiFi access point and the interface embedded in the firmware, web_server
# runs its own captive portal (DNS server, unknown URLs redirect to the page).
wifi:
ap:
ssid: "ESPHome-Test"
password: "Test1234!"
web_server:
local: true
packages:
web_server: !include common-ap-mode.yaml
@@ -1,9 +1,2 @@
# AP mode: with a WiFi access point and the interface embedded in the firmware, web_server
# runs its own captive portal (DNS server, unknown URLs redirect to the page).
wifi:
ap:
ssid: "ESPHome-Test"
password: "Test1234!"
web_server:
local: true
packages:
web_server: !include common-ap-mode.yaml