mirror of
https://github.com/esphome/esphome.git
synced 2024-11-02 08:40:55 +01:00
Change ESP32 default power_save_mode to light (#661)
This commit is contained in:
parent
1876c21e3e
commit
7210ad7ed9
@ -121,7 +121,8 @@ CONFIG_SCHEMA = cv.All(cv.Schema({
|
||||
cv.Optional(CONF_AP): WIFI_NETWORK_AP,
|
||||
cv.Optional(CONF_DOMAIN, default='.local'): cv.domain_name,
|
||||
cv.Optional(CONF_REBOOT_TIMEOUT, default='15min'): cv.positive_time_period_milliseconds,
|
||||
cv.Optional(CONF_POWER_SAVE_MODE, default='NONE'): cv.enum(WIFI_POWER_SAVE_MODES, upper=True),
|
||||
cv.SplitDefault(CONF_POWER_SAVE_MODE, esp8266='none', esp32='light'):
|
||||
cv.enum(WIFI_POWER_SAVE_MODES, upper=True),
|
||||
cv.Optional(CONF_FAST_CONNECT, default=False): cv.boolean,
|
||||
cv.Optional(CONF_USE_ADDRESS): cv.string_strict,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user