Commit Graph
23765 Commits
Author SHA1 Message Date
J. Nick Koston 0ae2d31891 Merge remote-tracking branch 'upstream/fix-bk72xx-loop-time' into integration 2026-03-02 16:02:48 -10:00
J. Nick Koston b6ea52b6a7 Merge remote-tracking branch 'upstream/lint-no-powf-core' into integration 2026-03-02 16:02:44 -10:00
J. Nick Koston 3afcbd22b2 Merge branch 'add-codeowner-approved-label' into integration 2026-03-02 16:02:28 -10:00
J. Nick Koston 769031b724 reduce api calls 2026-03-02 16:01:23 -10:00
J. Nick Koston fbd00855b0 Merge branch 'dev' into lint-no-powf-core 2026-03-02 15:56:45 -10:00
J. Nick Koston 21bf561f0c one more 2026-03-02 15:56:17 -10:00
J. Nick Koston d9b5f54cf6 Pin codeowner-review-request checkout to base SHA
Explicitly checkout the base branch SHA for consistency and to
ensure the shared codeowners.js script is always loaded from
trusted code, not the PR head.
2026-03-02 15:53:14 -10:00
J. Nick Koston ca600a45a2 Address review feedback
- Actually filter bot reviews (not just comment about it)
- Use core.setFailed() instead of silently swallowing errors
- Remove unused getEffectiveOwners import from detectors.js
2026-03-02 15:52:04 -10:00
J. Nick Koston 55fc563c69 Checkout base branch to prevent PR author code injection
pull_request_review checks out the PR merge commit by default,
which means require() would load the PR author's version of
shared scripts. Explicitly checkout the base branch SHA instead.
2026-03-02 15:50:54 -10:00
ae49b67321 [ld2450] Clear all related sensors when a target is not being tracked (#13602)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-02 15:47:40 -10:00
J. Nick Koston ed63f51fcb [github-actions] Add code-owner-approved label workflow
Add a workflow that automatically manages a code-owner-approved label
on PRs when component-specific codeowners submit approvals. This helps
maintainers prioritize PRs that have domain-expert sign-off.

The workflow triggers on pull_request_review events and recalculates
the label based on all current reviews. Only individual component
codeowners count - the catch-all @esphome/core team is excluded.
Uses last-match-wins semantics for CODEOWNERS pattern matching.

Also extracts shared CODEOWNERS parsing logic into a reusable module
at .github/scripts/codeowners.js and updates codeowner-review-request
and auto-label-pr workflows to use it.
2026-03-02 15:45:08 -10:00
J. Nick Koston 8bf96fa20f Add static_assert for MAIN_TASK_PRIORITY < configMAX_PRIORITIES 2026-03-02 15:30:54 -10:00
J. Nick Koston 2a5bbbd632 Merge branch 'dev' into fix-bk72xx-loop-time 2026-03-02 15:26:31 -10:00
melak c77241940b [lps22] Add support for the LPS22DF variant (#14397) 2026-03-02 15:24:00 -10:00
Kevin AhrendtandCopilot 97d713ee64 [media_source] Add new Media Source platform component (#14417)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 15:16:38 -10:00
J. Nick Koston e6c1a4670c [bk72xx] Fix ~100ms loop stalls by raising main task priority
The BK72xx SDK creates the main Arduino task at FreeRTOS priority 3,
which is lower than all WiFi (4-5), LwIP (4), and TCP/IP (7) tasks.
This causes the main loop to be preempted for ~100ms whenever WiFi
background processing runs (beacon handling, DHCP, WPA supplicant).

By contrast, RTL87xx creates its main task at osPriorityRealtime
(the highest priority), so it never experiences this issue.

Raise the BK72xx main task priority to 6 during arch_init(): above
WiFi/LwIP tasks (4-5) so they don't preempt the main loop, but below
the TCP/IP thread (7) so packet processing keeps priority. This is
safe because ESPHome yields voluntarily via yield_with_select_() and
the Arduino mainTask yield() after each loop() iteration.

Tested on CB3S (BK7231N) - loop time drops from ~110ms to ~14ms.
2026-03-02 13:48:26 -10:00
J. Nick Koston 0847031fda Merge branch 'dev' into lint-no-powf-core 2026-03-02 13:16:06 -10:00
J. Nick Koston 37738a2e95 Merge branch 'fix-ble-client-disconnect-race' into integration 2026-03-02 13:11:50 -10:00
J. Nick Koston 7719d07548 [esp32_ble_client] Log when DISCONNECT_EVT arrives after CLOSE_EVT 2026-03-02 13:11:15 -10:00
J. Nick Koston 54dff58460 Merge remote-tracking branch 'upstream/fix-ble-client-disconnect-race' into integration 2026-03-02 13:07:26 -10:00
J. Nick Koston 3988818fb8 handle close before disconnect 2026-03-02 13:05:01 -10:00
Jesse Hills bc04a1a0ff Merge branch 'release' into dev 2026-03-03 11:35:53 +13:00
Jesse Hills c4869bad88 Merge pull request #14413 from esphome/bump-2026.2.3
2026.2.3
2026.2.3
2026-03-03 11:35:09 +13:00
Jonathan SwobodaandClaude Opus 4.6 7a87348855 [ci] Skip PR title check for dependabot PRs (#14418)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 16:49:14 -05:00
J. Nick Koston 2e623fd6c3 [tests] Fix flaky log assertion race in oversized payload tests (#14414) 2026-03-02 11:48:50 -10:00
dependabot[bot] 727fa07377 Bump github/codeql-action from 4.32.4 to 4.32.5 (#14416)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 11:44:53 -10:00
Lino Schmidt 5510b45f3b [const] Move CONF_WATCHDOG (#14415) 2026-03-02 11:43:06 -10:00
J. Nick Koston 3615a7b90c [core] Eliminate __udivdi3 in millis() on ESP32 and RP2040 (#14409) 2026-03-02 11:42:25 -10:00
J. Nick Koston d1de50c0e5 [core] Add ESP8266 support to wake_loop_any_context() (#14392) 2026-03-02 21:11:04 +00:00
J. Nick Koston 7e4191028a Merge remote-tracking branch 'upstream/dev' into integration 2026-03-02 10:33:54 -10:00
Jesse Hills dc56cd1d1f Bump version to 2026.2.3 2026-03-03 08:57:52 +13:00
Jonathan SwobodaandClaude Opus 4.6 d2a819eb77 [uart] Fix flow_control_pin inverted flag ignored on ESP-IDF (#14410)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:57:52 +13:00
J. Nick Koston 0ac61cbb9b [improv_serial] Add missing USE_IMPROV_SERIAL define to fix WiFi scan filtering (#14359) 2026-03-03 08:57:47 +13:00
Jonathan SwobodaandCopilot c9c99a22e0 [core] Defer entity automation codegen to prevent sibling ID deadlocks (#14381)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:57:02 +13:00
Clyde Stubbs 91250fd46c [mipi_dsi] Fix Waveshare P4 7B board config (#14372) 2026-03-03 08:52:47 +13:00
J. Nick Koston 641914cdbe [uart] Revert UART0 default pin workarounds (fixed in ESP-IDF 5.5.2) (#14363) 2026-03-03 08:52:47 +13:00
Jonathan SwobodaandCopilot 840859ab7c [zigbee] Fix codegen ordering for basic/identify attribute lists (#14343)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
Jonathan SwobodaandCopilot 97b712da98 [cc1101] Transition through IDLE in begin_tx/begin_rx for reliable state changes (#14321)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
b5c36140fa [sprinkler] Fix millis overflow and underflow bugs (#14299)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
J. Nick Koston 48a9c1cd67 [mqtt] Remove broken ESP8266 ssl_fingerprints option (#14182) 2026-03-03 08:52:47 +13:00
Jonathan SwobodaandClaude Opus 4.6 38f671a923 [uart] Fix flow_control_pin inverted flag ignored on ESP-IDF (#14410)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:52:06 +13:00
J. Nick Koston 74eda7fc01 Merge remote-tracking branch 'origin/pack-entity-strings' into integration 2026-03-02 09:31:46 -10:00
J. Nick Koston bd35d55729 Merge remote-tracking branch 'origin/esp8266-wake-loop-any-context' into integration 2026-03-02 09:30:43 -10:00
J. Nick Koston 483b3cc553 Merge remote-tracking branch 'origin/esp32-millis-euclidean-decomposition' into integration 2026-03-02 09:30:38 -10:00
J. Nick Koston 9e97413a66 Merge branch 'dev' into pack-entity-strings 2026-03-02 09:28:23 -10:00
J. Nick Koston 760fa7c050 Merge branch 'dev' into esp32-millis-euclidean-decomposition 2026-03-02 09:28:12 -10:00
J. Nick Koston d0930a4766 lint 2026-03-02 09:20:09 -10:00
J. Nick Koston 641d188dec lint 2026-03-02 09:19:58 -10:00
J. Nick Koston d55cf73021 Merge branch 'dev' into esp8266-wake-loop-any-context 2026-03-02 09:18:14 -10:00
J. Nick Koston cb232d8288 [core] Fix compile-time loop() detection for multiple inheritance (#14411) 2026-03-02 19:11:47 +00:00