mirror of
https://github.com/esphome/esphome.git
synced 2026-09-24 05:24:14 +00:00
Merge branch 'wifi-fast-connect-substitution-string' into integration
This commit is contained in:
@@ -4,5 +4,6 @@ substitutions:
|
||||
reset_pin: "21"
|
||||
|
||||
packages:
|
||||
- !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
- !include common.yaml
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
||||
@@ -2,3 +2,5 @@ nrf52:
|
||||
dfu: true
|
||||
reg0:
|
||||
voltage: 1.8V
|
||||
framework:
|
||||
libc_nano: false
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Exercises the opt-in that compiles the RTC-backed preference storage into
|
||||
# the ESP32 backend without any other option selecting it.
|
||||
preferences:
|
||||
rtc_storage: true
|
||||
@@ -0,0 +1,4 @@
|
||||
# Exercises the ESP32 RTC-backed preferences path (storage: rtc) for safe_mode.
|
||||
safe_mode:
|
||||
num_attempts: 3
|
||||
storage: rtc
|
||||
@@ -0,0 +1,7 @@
|
||||
# Exercises the dict form of fast_connect with RTC-backed preference storage.
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
fast_connect:
|
||||
enabled: true
|
||||
storage: rtc
|
||||
@@ -0,0 +1,7 @@
|
||||
# Exercises the dict form of fast_connect overriding the ESP8266 default (rtc)
|
||||
# back to flash storage.
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
fast_connect:
|
||||
storage: flash
|
||||
@@ -0,0 +1,9 @@
|
||||
# fast_connect passed through a substitution arrives as a string ("false"),
|
||||
# which must be accepted like the historic plain boolean form.
|
||||
substitutions:
|
||||
fast_connect_value: "false"
|
||||
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
fast_connect: ${fast_connect_value}
|
||||
Reference in New Issue
Block a user