Commit Graph
28347 Commits
Author SHA1 Message Date
J. Nick Koston 8246b09445 Merge branch 'ota-watchdogmanager' into integration 2026-04-29 14:34:36 -05: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
GelidusResearchandCopilot 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 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
J. Nick Koston ba34021e8e Merge remote-tracking branch 'upstream/sensor-filters-drop-component' into integration 2026-04-29 10:21:49 -05:00
J. Nick Koston e22c84d438 Merge branch 'scheduler-self-keyed-api' into delay-action-drop-component 2026-04-29 10:17:34 -05:00
J. Nick Koston 58b4970ff7 Merge branch 'scheduler-self-keyed-api' into binary-sensor-filters-drop-component 2026-04-29 10:17:29 -05:00
J. Nick Koston 71ecd7334a Merge branch 'scheduler-self-keyed-api' into sensor-filters-drop-component 2026-04-29 10:17:21 -05:00
J. Nick Koston 17173ba3a3 [scheduler] Make get_name() return SELF_POINTER slot too
So debug-only iteration logs in Scheduler::call() (the periodic items dump
and the per-item Running line) print the actual self pointer instead of
'self:(nil)'. Both STATIC_STRING and SELF_POINTER use the same pointer
union member, so a single accessor is the natural shape; drop the
unused get_self() helper that was added for this and update the union
member comments to mention SELF_POINTER and NUMERIC_ID_INTERNAL.
2026-04-29 10:15:30 -05:00
Jonathan Swoboda bacee89bca [mixer_speaker] NOLINT bugprone-unchecked-optional-access in audio_mixer_task (#16130) 2026-04-29 10:56:13 -04:00
J. Nick Koston 439d66f0f7 [sensor] Drop Component from filter classes, use self-keyed scheduler 2026-04-29 09:37:29 -05:00
J. Nick Koston cebdecdcf4 [binary_sensor] Drop Component from filter classes, use self-keyed scheduler 2026-04-29 09:37:23 -05:00
J. Nick Koston 248b7c7cbf [core] DelayAction: drop Component inheritance, use self-keyed scheduler 2026-04-29 09:37:15 -05:00
J. Nick Koston 9745a3299e [scheduler] Address review feedback (const void *, %p cast, buffer size) 2026-04-29 09:34:45 -05:00
Jonathan Swoboda 2157d11913 [haier] Fix bugprone-unchecked-optional-access; switch HardwareInfo to char[9] (#16124) 2026-04-29 14:26:53 +00:00
J. Nick Koston 241d7797e3 [scheduler] Add self-keyed timer API for callers without a Component 2026-04-29 09:18:09 -05:00
Jonathan Swoboda 42b8597719 [api] Extend NOLINT to cover bugprone-random-generator-seed in MAC varint test (#16120) 2026-04-29 13:58:19 +00:00
Jonathan Swoboda 2bd28eee9d [tormatic] Use .value() for checked optional access in read_gate_status_ (#16121) 2026-04-29 09:51:31 -04:00
J. Nick Koston 0a497d3c22 [light] Fold LightControlAction fields into a single stateless lambda (#16118) 2026-04-29 08:35:17 -05:00
J. Nick Koston dc48f2df13 Merge remote-tracking branch 'origin/cover-action-bitmask' into integration 2026-04-29 07:41:16 -05:00
J. Nick Koston ef5af95c17 Merge remote-tracking branch 'origin/light-action-fold-fields-into-lambda' into integration 2026-04-29 07:41:12 -05:00
J. Nick Koston 01a4769a5d Merge remote-tracking branch 'origin/climate-control-action-bitmask' into integration 2026-04-29 07:41:08 -05:00
Jonathan Swoboda 79da2b9704 [time] Fix bugprone-unchecked-optional-access in CronTrigger::check_time_ (#16107) 2026-04-29 08:30:46 -04:00
Jonathan Swoboda ae5b211c89 [api] Avoid JsonDocument copy-and-swap operator= in ActionResponse ctor (#16106) 2026-04-29 08:30:35 -04:00
J. Nick Koston c5661c72dc [esp8266] Drop redundant arch_get_cpu_cycle_count() decl
The inline def above was already in place; the bare decl was inherited
via the merge from followup/hal-esp32 and is now redundant on this PR.
2026-04-29 07:25:07 -05:00
J. Nick Koston cd43002779 Merge branch 'followup/hal-esp32' into followup/hal-esp8266 2026-04-29 07:24:35 -05:00
J. Nick Koston 9dc28556d7 [esp8266] Add bare arch_get_cpu_cycle_count() decl in hal_esp8266.h
Followup #16111 dropped the cross-platform arch_get_cpu_cycle_count()
declaration from hal.h dispatcher and added bare decls to libretiny,
rp2040, host, and zephyr per-platform headers — but missed
hal_esp8266.h. ESP8266 callers (spi.h, uart_component_esp8266.cpp) now
fail clang-tidy with 'use of undeclared identifier'.

The body is still out-of-line in components/esp8266/core.cpp on this
PR; the inline def is added on the chained #16112 PR. Add a bare decl
here for now so #16111 builds in isolation.
2026-04-29 07:24:24 -05:00