From f282f0203f1cc225f8f01ba238e607377edf69df Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:34:33 +0100 Subject: [PATCH] The Wi-Fi power save mode is back to "NONE" as default --- .test/esphome_advanced_climate_cool_esp_idf.yaml | 4 ++++ .test/esphome_advanced_climate_cool_esp_idf5.yaml | 4 ++++ .../esphome_advanced_climate_heat_customizations.yaml | 2 ++ ReleaseNotes.md | 11 +++++++++++ advanced/esphome/nspanel_esphome_core.yaml | 1 + 5 files changed, 22 insertions(+) diff --git a/.test/esphome_advanced_climate_cool_esp_idf.yaml b/.test/esphome_advanced_climate_cool_esp_idf.yaml index 97d61ad..e6dd2cf 100644 --- a/.test/esphome_advanced_climate_cool_esp_idf.yaml +++ b/.test/esphome_advanced_climate_cool_esp_idf.yaml @@ -15,3 +15,7 @@ esp32: type: esp-idf bluetooth_proxy: + +# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32 +wifi: + power_save_mode: LIGHT diff --git a/.test/esphome_advanced_climate_cool_esp_idf5.yaml b/.test/esphome_advanced_climate_cool_esp_idf5.yaml index da70745..315eb20 100644 --- a/.test/esphome_advanced_climate_cool_esp_idf5.yaml +++ b/.test/esphome_advanced_climate_cool_esp_idf5.yaml @@ -17,3 +17,7 @@ esp32: platform_version: 6.3.2 bluetooth_proxy: + +# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32 +wifi: + power_save_mode: LIGHT diff --git a/.test/esphome_advanced_climate_heat_customizations.yaml b/.test/esphome_advanced_climate_heat_customizations.yaml index 4d8bb8e..5ba1801 100644 --- a/.test/esphome_advanced_climate_heat_customizations.yaml +++ b/.test/esphome_advanced_climate_heat_customizations.yaml @@ -271,3 +271,5 @@ wifi: - ssid: !secret wifi_ssid_backup password: !secret wifi_password_backup priority: 0 + # Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32 + power_save_mode: LIGHT diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 0056e6c..54de701 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -35,6 +35,17 @@ Updates may come with changes on the blueprint inputs and we highly recommend yo 1. Service `esphome.xxxxx_set_component_color` parameter `background` is deprecated. 2. Due to the additional custom buttons, the other buttons on home page changed their positions. +3. The Wi-Fi power save mode is back to "NONE" as default
+This was the default until v4.0, but we changed on v4.1 to support Bluetooth components, however as this is not used by the majority of users, we are reverting back to the original setting. You can (and should if you want use Bluetooth) enforce other mode as a customization, like in the example bellow: +```yaml +##### My customization - Start ##### +# Enable Bluetooth proxy +bluetooth_proxy: +# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32 +wifi: + power_save_mode: LIGHT +##### My customization - End ##### +```   ## Overview of noteworthy changes diff --git a/advanced/esphome/nspanel_esphome_core.yaml b/advanced/esphome/nspanel_esphome_core.yaml index 633ad65..830f5f4 100644 --- a/advanced/esphome/nspanel_esphome_core.yaml +++ b/advanced/esphome/nspanel_esphome_core.yaml @@ -84,6 +84,7 @@ esp32: ##### WIFI SETUP ##### wifi: + power_save_mode: NONE networks: - id: wifi_default ssid: ${wifi_ssid}