mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
[power_management] Add the power_management domain with an esp32_power_management platform (#12325)
Co-authored-by: Kevin Ahrendt <kahrendt@gmail.com> Co-authored-by: Kevin Ahrendt <kevin.ahrendt@openhomefoundation.org> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
This commit is contained in:
co-authored by
Kevin Ahrendt
Kevin Ahrendt
Claude Sonnet 4.6
J. Nick Koston
J. Nick Koston
parent
6bf091104f
commit
1c8808339a
@@ -0,0 +1,11 @@
|
||||
power_management:
|
||||
- platform: esp32_power_management
|
||||
id: pm_id
|
||||
max_frequency: ${esp32_power_management_max_frequency}
|
||||
min_frequency: ${esp32_power_management_min_frequency}
|
||||
enable_light_sleep: true
|
||||
idle_time_before_sleep: 3
|
||||
power_down_flash: true
|
||||
power_down_peripherals: ${esp32_power_management_power_down_peripherals}
|
||||
profiling: true
|
||||
trace: true
|
||||
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
esp32_power_management_max_frequency: 160MHZ
|
||||
esp32_power_management_min_frequency: 40MHZ
|
||||
esp32_power_management_power_down_peripherals: "false"
|
||||
|
||||
packages:
|
||||
esp32_power_management: !include common.yaml
|
||||
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
esp32_power_management_max_frequency: 96MHZ
|
||||
esp32_power_management_min_frequency: 32MHZ
|
||||
esp32_power_management_power_down_peripherals: "true"
|
||||
|
||||
packages:
|
||||
esp32_power_management: !include common.yaml
|
||||
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
esp32_power_management_max_frequency: 160MHZ
|
||||
esp32_power_management_min_frequency: 40MHZ
|
||||
esp32_power_management_power_down_peripherals: "false"
|
||||
|
||||
packages:
|
||||
esp32_power_management: !include common.yaml
|
||||
Reference in New Issue
Block a user