J. Nick Koston
46dd1ced2c
Merge remote-tracking branch 'upstream/fix-runtime-stats-null-component' into integration
2026-04-29 17:29:01 -05:00
J. Nick Koston
295e8563eb
[core] Fix null deref in WarnIfComponentBlockingGuard for self-keyed timers
...
Self-keyed scheduler items (Scheduler::set_timeout(self, ...) and
set_interval(self, ...)) intentionally store component == nullptr. When
USE_RUNTIME_STATS is enabled, WarnIfComponentBlockingGuard::finish()
dereferenced component_ to call runtime_stats_.record_time(), causing a
load access fault on RISC-V (e.g. ESP32-C3) when these timers fire.
Skip the per-component bookkeeping when component_ is null, but still
accumulate into ComponentRuntimeStats::global_recorded_us so
Application::loop() overhead accounting (which subtracts scheduled
callback time from before_loop_tasks_) stays accurate.
2026-04-29 17:27:25 -05:00
J. Nick Koston
15bb89ed64
Merge remote-tracking branch 'upstream/mdns-config-hash' into integration
2026-04-29 16:45:16 -05:00
J. Nick Koston
5a59e99016
[mdns] Move setup helper to .cpp and use format_hex_to
2026-04-29 16:44:03 -05:00
J. Nick Koston
4b6b5fe275
Merge remote-tracking branch 'upstream/mdns-config-hash' into integration
2026-04-29 16:30:20 -05:00
J. Nick Koston
7543a356c8
Merge branch 'dev' into mdns-config-hash
2026-04-29 16:25:12 -05:00
J. Nick Koston
2c87abe130
Merge remote-tracking branch 'upstream/followup/hal-libretiny' into integration
2026-04-29 16:21:27 -05:00
J. Nick Koston
f484c28060
Merge remote-tracking branch 'upstream/followup/hal-esp8266' into integration
2026-04-29 16:06:03 -05:00
Jonathan Swoboda
77da64a367
[sx126x] Add cold sleep option and drop unused RTC wakeup bit ( #16144 )
2026-04-29 17:05:51 -04:00
J. Nick Koston
1a75db7437
Merge branch 'followup/hal-esp8266' into followup/hal-libretiny
2026-04-29 15:52:19 -05:00
J. Nick Koston
387aba530d
Merge branch 'dev' into followup/hal-esp8266
2026-04-29 15:52:17 -05:00
J. Nick Koston
d7bbc9d2d9
Merge branch 'followup/hal-esp8266' into followup/hal-libretiny
2026-04-29 15:38:01 -05:00
J. Nick Koston
09542430f4
[esp8266] Address Copilot review on #16112
...
- hal.cpp: include esphome/core/helpers.h for the HOT macro (millis/delay
use it; without the include the TU fails to compile).
- hal_esp8266.h: drop the redundant arch_get_cpu_cycle_count() bare
declaration that came back via the merge from dev (the inline def
above already declares the function).
2026-04-29 15:37:47 -05:00
J. Nick Koston
87b9a9612a
[mdns] Broadcast config_hash TXT record on _esphomelib._tcp
2026-04-29 15:37:35 -05:00
J. Nick Koston
cecccebc64
[core] DelayAction: drop Component inheritance, use self-keyed scheduler ( #16129 )
2026-04-29 20:35:04 +00:00
J. Nick Koston
e374e8f65b
Merge branch 'followup/hal-esp8266' into followup/hal-libretiny
2026-04-29 15:19:44 -05:00
Jonathan Swoboda and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
53b682e48f
[ci] Bump clang-tidy from 18.1.8 to 22.1.0.1 ( #16078 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 20:19:33 +00:00
J. Nick Koston
6bbb5668b4
Merge branch 'dev' into followup/hal-esp8266
...
# Conflicts:
# esphome/core/hal.h
# esphome/core/hal/hal_esp32.h
# esphome/core/hal/hal_host.h
# esphome/core/hal/hal_libretiny.h
# esphome/core/hal/hal_rp2040.h
# esphome/core/hal/hal_zephyr.h
2026-04-29 15:19:32 -05:00
Mat931 and J. Nick Koston
14910e65d9
[ota] Use WatchdogManager for OTA on ESP32 ( #16138 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-04-29 20:15:21 +00:00
J. Nick Koston
813964714c
[esp32] Move HAL bodies into components/esp32/hal.cpp + inline trivial dispatches ( #16111 )
2026-04-29 20:09:08 +00:00
J. Nick Koston
8246b09445
Merge branch 'ota-watchdogmanager' into integration
2026-04-29 14:34:36 -05:00
J. Nick Koston
5a146ab6b7
[valve] Fold ControlAction fields into a single stateless lambda ( #16123 )
2026-04-29 19:20:15 +00:00
J. Nick Koston
61a41402df
[fan] Fold TurnOnAction fields into a single stateless lambda ( #16122 )
2026-04-29 19:16:05 +00:00
J. Nick Koston
a68d4324a3
Merge branch 'dev' into ota-watchdogmanager
2026-04-29 13:51:51 -05:00
Mat931
59b4cfd07c
[watchdog] Use default CHECK_IDLE_TASK and PANIC when configuring the watchdog ( #16142 )
2026-04-29 18:41:12 +00:00
J. Nick Koston
32d39ca7f4
Merge remote-tracking branch 'upstream/followup/hal-esp8266' into integration
2026-04-29 13:31:04 -05:00
J. Nick Koston
c41f38e16d
[scheduler] Add self-keyed timer API for callers without a Component ( #16127 )
2026-04-29 13:24:37 -05:00
Clyde Stubbs
0ad8a071a7
[espnow] Cleanup method visibility and naming ( #16109 )
2026-04-29 14:18:21 -04:00
J. Nick Koston
985dba9332
[core] Defer heavy module-scope imports in __main__, loader, and config ( #15955 )
2026-04-29 13:17:59 -05:00
GelidusResearch and Copilot
ca3f7251d4
[ens160] Fix sensor initialization timing ( #16024 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-29 14:07:28 -04:00
J. Nick Koston
44cabc191d
[core] Catch body-read errors in download_content ( #16023 )
2026-04-29 14:06:41 -04:00
J. Nick Koston
ca88b991a2
Merge remote-tracking branch 'upstream/followup/hal-esp32' into integration
2026-04-29 13:00:02 -05:00
J. Nick Koston
e5b1991cf7
[fan] Add tests for fan.turn_on action field combinations ( #16125 )
2026-04-29 12:46:06 -05:00
J. Nick Koston
7fba57ce51
[valve] Add tests for valve.control action field combinations ( #16126 )
2026-04-29 12:45:30 -05:00
J. Nick Koston
ba0ec7be05
Merge branch 'followup/hal-esp8266' into followup/hal-libretiny
2026-04-29 12:37:47 -05:00
J. Nick Koston
ff7164d7eb
Merge branch 'followup/hal-esp32' into followup/hal-esp8266
2026-04-29 12:37:46 -05:00
J. Nick Koston
ea93fd6983
Merge branch 'dev' into followup/hal-esp32
...
# Conflicts:
# esphome/components/esp32/core.cpp
# esphome/core/hal.h
# esphome/core/hal/hal_esp32.h
# esphome/core/hal/hal_esp8266.h
# esphome/core/hal/hal_host.h
# esphome/core/hal/hal_libretiny.h
# esphome/core/hal/hal_rp2040.h
# esphome/core/hal/hal_zephyr.h
2026-04-29 12:37:23 -05:00
J. Nick Koston
69a33d8ac0
[core] Inline HAL clock wrappers and split hal.h into per-platform headers ( #15977 )
2026-04-29 12:31:55 -05:00
Jonathan Swoboda
ce61dcf387
[remote_base][core] Drop redundant typename in dependent type contexts ( #16137 )
2026-04-29 16:54:17 +00:00
Mat931
ddc445ea71
Use WatchdogManager for OTA on ESP32
2026-04-29 18:19:07 +02:00
J. Nick Koston
55e236ba3d
Merge remote-tracking branch 'upstream/delay-action-drop-component' into integration
2026-04-29 11:08:22 -05:00
J. Nick Koston
e6f86b343c
Merge remote-tracking branch 'upstream/binary-sensor-filters-drop-component' into integration
2026-04-29 11:08:17 -05:00
J. Nick Koston
88248b4417
Merge branch 'scheduler-self-keyed-api' into delay-action-drop-component
2026-04-29 11:07:56 -05:00
J. Nick Koston
441d32add6
Merge branch 'scheduler-self-keyed-api' into binary-sensor-filters-drop-component
2026-04-29 11:07:44 -05:00
J. Nick Koston
54d0727437
Merge branch 'dev' into scheduler-self-keyed-api
2026-04-29 11:06:32 -05:00
J. Nick Koston
e3fdea8ce1
[scheduler] Address Copilot feedback: %p type, NameType doc, test docstring
...
- Strip const for the %p varargs call (the format spec takes void*, not
const void*; same representation everywhere but pedantically correct).
- Mention SELF_POINTER in the NameType discriminator comment.
- Update test docstring to match the actual const void * signatures.
2026-04-29 11:06:04 -05:00
Jonathan Swoboda
bae6b51652
[kamstrup_kmp][toshiba] Fix signed/unsigned comparisons against sizeof ( #16135 )
2026-04-29 11:33:57 -04:00
Jonathan Swoboda
557c3d4436
[aqi] Use std::max initializer-list for non-negative AQI clamp ( #16134 )
2026-04-29 11:33:29 -04:00
J. Nick Koston
d9e336a744
Merge remote-tracking branch 'upstream/delay-action-drop-component' into integration
2026-04-29 10:21:58 -05:00
J. Nick Koston
f3b92010a6
Merge remote-tracking branch 'upstream/binary-sensor-filters-drop-component' into integration
2026-04-29 10:21:54 -05:00