support to hidden ssid (#908)

Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.

This can be breaking change for users with custom/advanced wifi settings.

Solves #906
This commit is contained in:
Edward Firmo
2023-07-15 00:22:47 +02:00
committed by GitHub
parent c2ab8caeff
commit a118536f4a
2 changed files with 15 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ substitutions:
# device_name: "nspanel-name" # Wird im Blueprint benötigt!
# wifi_ssid: !secret nspanel_wifi_ssid # add in your esphome secrets file.
# wifi_password: !secret nspanel_wifi_password # add in your esphome secrets file. -> per default this is also used for ota_password and web_password
wifi_hidden: "false"
# ota_password: !secret nspanel_ota_password # add in your esphome secrets file. - manual change in code required to activate
# web_password: !secret nspanel_web_password # add in your esphome secrets file. - manual change in code required to activate
# api_password: !secret nspanel_api_password # add in your esphome secrets file. - manual change in code required to activate
@@ -61,8 +62,10 @@ substitutions:
##### WIFI SETUP #####
wifi:
ssid: ${wifi_ssid}
password: ${wifi_password}
networks:
- ssid: ${wifi_ssid}
password: ${wifi_password}
hidden: ${wifi_hidden}
power_save_mode: none
##### advanced config - uncomment to use static IP-Config #####
# manual_ip: