Move ap to advanced
There's no use for this without `web_server` and `captive_portal`, so let's save some memory.
This commit is contained in:
@@ -11,6 +11,7 @@ substitutions:
|
||||
##############################
|
||||
## Change only in your ##
|
||||
## local yaml substitutions ##
|
||||
ap_password: ${wifi_password}
|
||||
web_password: ${wifi_password}
|
||||
##############################
|
||||
|
||||
@@ -102,4 +103,9 @@ web_server:
|
||||
auth:
|
||||
username: admin
|
||||
password: ${web_password}
|
||||
|
||||
wifi:
|
||||
ap:
|
||||
ssid: "${name}"
|
||||
password: ${ap_password}
|
||||
...
|
||||
|
||||
@@ -12,7 +12,6 @@ substitutions:
|
||||
device_name: NSPanel
|
||||
name: ${device_name}
|
||||
friendly_name: ${device_name}
|
||||
ap_password: ${wifi_password}
|
||||
ota_password: ${wifi_password}
|
||||
web_password: ${wifi_password}
|
||||
temp_units: "°C"
|
||||
@@ -110,9 +109,6 @@ wifi:
|
||||
- id: wifi_default
|
||||
ssid: ${wifi_ssid}
|
||||
password: ${wifi_password}
|
||||
ap:
|
||||
ssid: "${name}"
|
||||
password: ${ap_password}
|
||||
on_connect:
|
||||
- lambda: |-
|
||||
disp1->send_command_printf("api=%i", (wifi_component->is_connected() and api_server->is_connected() and blueprint_status->state > 99) ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user