Jonathan Swoboda
90624e6eca
[deep_sleep] Fix wakeup_pin_mode rejecting lowercase on ESP32/BK72XX ( #15384 )
2026-04-02 09:34:27 -10:00
J. Nick Koston
a91e6d92f6
[core] Remove dead get_loop_priority code ( #15242 )
2026-03-29 17:32:43 -04:00
Jonathan Swoboda
e1252e32d1
[deep_sleep] Fix ESP-IDF 6.0 GPIO wakeup API rename ( #14846 )
2026-03-15 19:10:30 -10:00
J. Nick Koston
89bb5d9e42
[core] Require explicit synchronous= for register_action ( #14606 )
2026-03-10 09:11:45 -10:00
Jonathan Swoboda and Claude Opus 4.6
3c7956e72d
[multiple] Add default initializers to uninitialized member variables ( #14556 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:04:00 -10:00
J. Nick Koston and Claude Opus 4.6
9371159a7e
[core] Replace custom esphome::optional with std::optional ( #14368 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-04 01:14:05 +00:00
J. Nick Koston
ede2da2fbc
[core] Conditionally compile get_loop_priority with USE_LOOP_PRIORITY ( #14210 )
2026-02-23 10:57:23 +13:00
Jasper van der Neut - Stulen
61a89a97d7
[deep_sleep] Fix GPIO wakeup on ESP32-C3/C6 ( #12803 )
2026-01-12 13:03:13 -05:00
Jasper van der Neut - Stulen
0c3433d056
[deep_sleep] Fix GPIO wakeup comment ( #12815 )
2026-01-12 12:57:58 -05:00
e91c6a79ea
[deep_sleep] Deep sleep for BK72xx ( #12267 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-17 11:45:05 -05:00
Jonathan Swoboda and Claude
a517e0ec80
[esp32] Add missing variant support ( #12305 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-05 16:28:24 -05:00
1a308583b3
[esp32] Add support for ESP32-C61 variant ( #12285 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-05 12:16:19 -05:00
Jesse Hills
7fd79fdded
[esp32] Change imports to use esp32 only, not .const ( #12243 )
2025-12-05 09:53:08 -05:00
Thomas Rupprecht and Jonathan Swoboda
22803ef54b
[esp32] Sort variants in situ ( #10410 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-03 20:48:11 -05:00
J. Nick Koston and Jesse Hills
1446e7174a
[core] Reduce action framework argument copies by 83% ( #11704 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-11-05 01:23:24 +00:00
J. Nick Koston
2a915e4efd
[deep_sleep] esp32 fixes to align with variant support ( #10929 )
2025-10-01 08:42:42 +13:00
J. Nick Koston
b41a61c76e
[deep_sleep] Fix ESP32-C6 compilation error with gpio_deep_sleep_hold_en() ( #10345 )
2025-08-25 08:51:23 +12:00
Craig Andrews
2b3e546203
[deep_sleep] enable sleep pull up/down for wakeup pin ( #9395 )
2025-08-05 23:47:45 -07:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
Craig Andrews and Jesse Hills
86c6e4da2a
ESP_EXT1_WAKEUP_ANY_LOW is for s2/s3/c6/h2; ESP_EXT1_WAKEUP_ALL_LOW otherwise ( #9387 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-09 11:30:06 +12:00
J. Nick Koston
440de12e3f
Don't compile unnecessary platform files (e.g. ESP8266 files on ESP32) ( #9354 )
2025-07-08 09:04:41 +12:00
J. Nick Koston
0e27ac281f
Ensure components only powerdown after teardown ( #9044 )
2025-06-11 04:21:22 +00:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
J. Nick Koston
9cc2a04d54
Implement proper API connection teardown before deep sleep/reboot ( #9008 )
2025-06-09 10:29:26 +12:00
J. Nick Koston and Keith Burzinski
fd72a64053
Redundant Log Messages Cleanup ( #8944 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-05-29 09:36:23 +00:00
Keith Burzinski
6e0523109a
Streamline setup() logging (c, d) ( #8925 )
2025-05-28 22:54:38 +12:00
baal86
d2ee2d3b23
Fix support for ESP32-H2 in deep_sleep ( #8290 )
2025-04-28 00:21:24 -05:00
NP v/d Spek
28a9f12595
Move CONF_DEFAULT to const.py ( #8497 )
2025-03-31 22:48:43 +00:00
dependabot[bot]
4adda632bb
Bump ruff from 0.9.2 to 0.11.0 ( #8409 )
2025-03-20 09:51:23 -10:00
Max Slotov
7cdf5b55ef
[deep_sleep] fix deep_sleep not keeping awake when sleep_duration is defined ( #7885 )
2024-11-28 16:51:07 +13:00
Anton Sergunov
3a97244b83
[Deep sleep] Compilation error with IDF >= 5.* ( #6879 )
2024-06-12 10:42:20 +12:00
tomaszduda23 and Jesse Hills
ba73187c1b
separate deep_sleep component for each platform in different file ( #6762 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-20 08:11:27 +12:00
Federico Ferretti
6e8760eba0
Fix deep_sleep for ESP32-C6 ( #6377 )
2024-03-16 14:17:01 +13:00
Keith Burzinski
cdc4f7f59b
IDF 5 fixes for various components from test1.yaml ( #5451 )
2023-10-18 19:33:36 +13:00
Jesse Hills
be7e167c63
Deep sleep is only available on esp32 and esp8266 ( #5507 )
2023-10-10 09:41:28 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support ( #5498 )
2023-10-09 07:34:12 +13:00
Austin and Stijn Tintel
fe7893d1b3
Support for ESP32-C2 & ESP32-C6 ( #4377 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be >
2023-08-21 09:42:03 +12:00
Jesse Hills
302dea4169
Move ESPTime into core esphome namespace ( #4926 )
...
* Prep-work for datetime entities
* Fix some includes and remove some restrictions on printing time on displays
* format
* format
* More formatting
* Move function contents
* Ignore clang-tidy
2023-06-08 17:24:44 -05:00
Dominik Wagenknecht
8b5b9e508b
Deep Sleep capable ports for ESP32S3 ( #4230 )
...
Update to provide RTC capable ports for ESP32S3.
Fresh from [espressif gpio docs](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/gpio.html )
2023-02-14 21:09:07 +00:00
pistifonok and Jesse Hills
4a3b628946
Fixed deep sleep for ESP32C3 ( #4143 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-12-07 15:59:25 +13:00
Jesse Hills
ef26677b67
Always use brackets around single log macros ( #4072 )
2022-11-23 10:32:51 +13:00
Jesse Hills
40ad9f4911
Add deep_sleep.allow YAML action ( #3459 )
2022-05-11 12:47:50 +12:00
Ruben De Smet
4116caff6a
Implement allow_deep_sleep ( #3282 )
2022-05-11 11:44:52 +12:00
MFlasskamp
e541ae400c
Esp32c3 deepsleep fix ( #3454 )
2022-05-10 22:03:59 +12:00
MFlasskamp
47898b527c
Esp32c3 deepsleep fix ( #3433 )
2022-05-09 20:32:14 +12:00
Jesse Hills
8be704e591
Allow specifying deep sleep wakup clock time ( #3312 )
2022-04-13 12:55:26 +12:00
andrewpc
dabd27d4be
Addition of Deep Sleep RTC pin definition for ESP32-S2 ( #3303 )
2022-04-12 12:45:54 +12:00
Tyler Bules
b8d10a62c2
ESP32-C3 deep sleep fix ( #3066 )
2022-02-19 15:13:48 +01:00
Yuval Brik
2253d4bc16
Support different run duration for non-timer wakeup ( #2861 )
2021-12-06 23:30:27 +01:00
Yuval Brik
1ec3140759
ESP32 Deep Sleep: correct level value ( #2812 )
...
Upon registering for ESP32 deep sleep, DeepSleepComponent::begin_sleep
calculates the level value to wake up on.
As part of PR #2303 , the level was changed to be based on `inverted`
instead of `!inverted`:
Before:
https://github.com/esphome/esphome/blob/1e8e471dec19ceafba1997b1d9663f7912f244a2/esphome/components/deep_sleep/deep_sleep_component.cpp#L76
After:
https://github.com/esphome/esphome/blob/2b04152482da3e9faaa4f6d0fd3370134d792fd1/esphome/components/deep_sleep/deep_sleep_component.cpp#L80
The level argument to `esp_sleep_enable_ext0_wakeup(pin, level)` [0]
should be 0 when the inverted property is true (low triggers wakeup),
and 1 when inverted property is false (high triggers wakeup).
Also revert the changes of #2644 .
[0]
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html#_CPPv428esp_sleep_enable_ext0_wakeup10gpio_num_ti
2021-12-01 09:38:58 +01:00