J. Nick Koston and Claude Opus 4.6
1c5fd8bbd4
[core] Move millis_64 rollover tracking out of Scheduler ( #14360 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 06:56:51 -10:00
Copilot and jesserockz
77a7cbcffd
Use cached files on network errors in external_files ( #14055 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com >
2026-03-02 11:41:20 -05:00
Bonne Eggleston and J. Nick Koston
3160457ca6
Create integration tests for modbus ( #14395 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-01 22:51:27 -10:00
590ee81f7a
[openthread] Disable default enabled OT console build ( #14390 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-02 06:16:36 +00:00
J. Nick Koston
9d4357c619
[core] Wake main loop from ISR in enable_loop_soon_any_context() ( #14383 )
2026-03-01 18:20:14 -10:00
J. Nick Koston
80a2acca4f
[ld2410] Add UART mock integration test for LD2410 component ( #14377 )
2026-03-01 18:19:32 -10:00
J. Nick Koston
f68a3ed15d
[api] Remove virtual destructor from ProtoMessage ( #14393 )
2026-03-01 18:09:00 -10:00
schrob
6d3d8970a6
[openthread] Disable default enabled OT diag code ( #14399 )
2026-03-01 22:47:02 -05:00
073ca63f60
[rtttl] improve comments Part 2 ( #13971 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-01 22:44:02 -05:00
J. Nick Koston and Claude Opus 4.6
0e18e4461e
[time,api] Send pre-parsed timezone struct over protobuf ( #14233 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 15:52:53 +13:00
J. Nick Koston
3e7424b307
[preferences] Reduce heap churn with small inline buffer optimization ( #13259 )
2026-03-02 14:22:55 +13:00
J. Nick Koston
48b5cae6c4
[api] Use StringRef for user service string arguments ( #13974 )
2026-03-02 10:32:44 +13:00
J. Nick Koston
a1760a1980
[improv_serial] Add missing USE_IMPROV_SERIAL define to fix WiFi scan filtering ( #14359 )
2026-03-02 09:23:10 +13:00
J. Nick Koston
c89c3f7a9f
Merge branch 'dev' into std-optional
2026-02-28 17:15:16 -10:00
J. Nick Koston
19bbd39e33
[uart] Enable wake-on-RX by default on ESP32 ( #14391 )
2026-02-28 21:06:46 -06:00
J. Nick Koston and Copilot
3f97b3b706
[core] Extract set_status_flag_ helper to deduplicate status_set methods ( #14384 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-28 14:27:06 -10:00
J. Nick Koston
82e620bcf5
[ld2450] Single-pass zone target counting ( #14387 )
2026-02-28 14:26:55 -10:00
J. Nick Koston
80e0761bf1
[ld2450] Use integer dedup for direction text sensor updates ( #14386 )
2026-02-28 14:26:31 -10:00
J. Nick Koston
c0781d3680
[ld2450] Use atan2f for angle calculation ( #14388 )
2026-02-28 14:26:08 -10:00
J. Nick Koston
b7cb65ec49
[ci] Fix TypeError in ci-custom.py when POST lint checks fail ( #14378 )
2026-02-28 14:23:20 -10:00
J. Nick Koston
fdbfac15db
[uart] Replace wake-on-RX task+queue with direct ISR callback ( #14382 )
2026-03-01 00:21:08 +00:00
J. Nick Koston
ac5ddd6465
Merge branch 'dev' into std-optional
2026-02-28 14:04:56 -10:00
J. Nick Koston
8e7b1638d0
address bot comments
2026-02-28 14:04:28 -10:00
J. Nick Koston and Copilot
28424d6acd
[ld2410][ld2412] Fix signed char causing incorrect distance values ( #14380 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-28 23:50:12 +00:00
J. Nick Koston
b679b04d14
[core] Move CONF_STOP_BITS, CONF_DATA_BITS, CONF_PARITY to const.py ( #14379 )
2026-02-28 13:27:33 -10:00
Jonathan Swoboda and Copilot
b7d651dd17
[core] Defer entity automation codegen to prevent sibling ID deadlocks ( #14381 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-28 13:10:53 -10:00
J. Nick Koston and Claude Opus 4.6
2224132e03
Fix value_or default and style consistency
...
- thermostat: Use CLIMATE_FAN_ON to match other callsites in the file
- sprinkler: Use *opt instead of .value() for consistency with line 47
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-28 07:58:46 -10:00
J. Nick Koston and Claude Opus 4.6
0b8a1b40a7
Fix missing this-> prefixes and style inconsistencies
...
- Add this-> to fan_mode in haier hon_climate and smartair2_climate
- Add this-> to voc/nox_tuning_params_ in sgp4x
- Use init-statement for max_refresh_rate_ in esp32_rmt_led_strip
- Use init-statement for fan_mode/preset in climate_ir
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-28 07:36:27 -10:00
J. Nick Koston
757e8d90e6
[core] Inline set_component_state_ and use it in Application ( #14369 )
2026-02-28 07:20:34 -10:00
J. Nick Koston
7d52a9587f
[api] Outline keepalive ping logic from APIConnection::loop() ( #14374 )
2026-02-28 07:20:20 -10:00
J. Nick Koston
067d773aac
[core] Make register_component protected, remove runtime checks ( #14371 )
2026-02-28 07:19:55 -10:00
Clyde Stubbs
089d1e55e7
[mipi_dsi] Fix Waveshare P4 7B board config ( #14372 )
2026-02-28 20:37:04 +11:00
Raymond Richmond
6c0998f220
[gt911] Support for interrupt signal via IO Expander ( #14358 )
2026-02-28 18:26:06 +11:00
J. Nick Koston and Claude Opus 4.6
9c69a357f8
Fix optional-value-conversion in speaker_media_player
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 21:19:04 -10:00
J. Nick Koston and Claude Opus 4.6
e2290367ab
Fix unchecked optional access in template, tuya, thermostat, and other components
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 20:23:46 -10:00
J. Nick Koston and Claude Opus 4.6
554c395efa
Fix more unchecked optional access errors (batch 2)
...
Fix clang-tidy bugprone-unchecked-optional-access in speed fan,
speaker media player, and sprinkler components.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 17:59:09 -10:00
J. Nick Koston and Claude Opus 4.6
e535c51847
Fix more unchecked optional access errors found by clang-tidy
...
Store optional results in local variables before checking
and dereferencing to satisfy bugprone-unchecked-optional-access.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 17:58:13 -10:00
J. Nick Koston and Claude Opus 4.6
49cc389bf0
[esp32] Wrap printf/vprintf/fprintf to eliminate _vfprintf_r (~11 KB flash) ( #14362 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 17:28:05 -10:00
J. Nick Koston
8480e8df9f
[uart] Revert UART0 default pin workarounds (fixed in ESP-IDF 5.5.2) ( #14363 )
2026-02-27 17:27:51 -10:00
J. Nick Koston and Claude Opus 4.6
529293b5be
Add NOLINT for precondition-based get_state() access
...
get_state() requires callers to check has_state() first.
This is a documented precondition, not an unchecked access.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 17:25:52 -10:00
J. Nick Koston
4e1b7c440e
more fixes
2026-02-27 16:26:08 -10:00
J. Nick Koston
39df0f6e51
more fixes
2026-02-27 16:22:59 -10:00
J. Nick Koston
3bca31ba9f
Replace custom esphome::optional with std::optional
...
The custom optional implementation (from optional-bare, 2017) predates
C++17. All ESPHome platforms now compile with gnu++20, making
std::optional available everywhere.
The custom implementation had several issues:
- No emplace() support
- Always default-constructs value_ (wasteful for non-trivial types)
- reset() only flips a bool without destroying the value
- No move semantics
- Requires T to be default constructible
Replace with using aliases (using std::optional, using std::nullopt,
etc.) so all existing code using esphome::optional continues to work.
Also fix ~30 unsafe .value() calls across climate IR components that
relied on the custom optional's behavior of returning a
default-constructed value when empty. With std::optional, accessing
an empty optional is UB. These are replaced with value_or() using
appropriate defaults (CLIMATE_FAN_AUTO, CLIMATE_PRESET_NONE).
2026-02-27 16:09:19 -10:00
J. Nick Koston
e7d4f2608b
[sen6x] Fix test sensor ID collisions with sen5x ( #14367 )
2026-02-27 16:01:17 -10:00
Ryan Wagoner
d1b4813197
[web_server] Add climate preset, fan mode, and humidity support ( #14061 )
2026-02-27 14:20:13 -10:00
Jonathan Swoboda and Copilot
298ee7b92e
[gps] Fix codegen deadlock when automations reference sibling sensors ( #14365 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-27 19:08:42 -05:00
J. Nick Koston
5c56b99742
[ci] Fix C++ unit tests missing time component dependency ( #14364 )
2026-02-27 13:19:11 -10:00
b9d70dcda2
[sen6x] Add SEN6x sensor support ( #12553 )
...
Co-authored-by: Martin Ebner <martinebner@me.com >
Co-authored-by: Tobias Stanzel <tobi.stanzel@gmail.com >
Co-authored-by: Big Mike <mike@bigmike.land >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-27 16:41:28 -05:00
dependabot[bot]
5e3857abf7
Bump click from 8.1.7 to 8.3.1 ( #11955 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 16:25:36 -05:00
Laura Wratten and Jonathan Swoboda
bb567827a1
[sht3xd] Allow sensors that don't support serial number read ( #14224 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-27 16:23:32 -05:00