J. Nick Koston
11c24324d5
Merge remote-tracking branch 'upstream/templatable-value-specialize' into integration
2026-04-07 14:31:35 -10:00
J. Nick Koston
7d497e6b52
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-07 14:31:13 -10:00
J. Nick Koston
0dddeea4d2
[core] Assert stateless capture in test, fix TemplatableFn comment
2026-04-07 14:10:18 -10:00
J. Nick Koston
11934ab27f
[sensor] Wrap benchmark filter constants in lambdas for TemplatableFn
2026-04-07 13:49:55 -10:00
Jesse Hills
b307c7c74c
[config_validation] Add unbounded percentage validators ( #15500 )
2026-04-08 11:44:52 +12:00
J. Nick Koston
8cd78441a6
Revert "[sensor] Wrap filter constants in lambdas for TemplatableValue in benchmarks"
...
This reverts commit 5e2187581a .
2026-04-07 13:34:11 -10:00
J. Nick Koston
5e2187581a
[sensor] Wrap filter constants in lambdas for TemplatableValue in benchmarks
2026-04-07 13:26:21 -10:00
J. Nick Koston
9bf0133525
[core] Specialize TemplatableValue for non-string types as function pointer
...
Specialize TemplatableValue so non-string types use function-pointer-only
storage (4 bytes on 32-bit) instead of the tagged union with std::function
support (8 bytes). The std::string specialization retains full support for
VALUE, STATIC_STRING, FLASH_STRING, and stateful lambdas.
Codegen now wraps non-string constants in stateless lambdas automatically,
so the generated C++ always assigns a function pointer.
2026-04-07 13:16:14 -10:00
14bcdfe700
[emontx] emonTx component ( #9027 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-07 22:29:55 +00:00
ee7b38504b
[nextion] Expose custom protocol frames as automation triggers ( #13248 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-07 22:13:58 +00:00
J. Nick Koston
5d31f4aeba
[light] Use function-pointer fields in LightControlAction ( #15132 )
2026-04-07 12:00:17 -10:00
Jonathan Swoboda
17ec5389d8
[mcp4461] Fix terminal disable passing string where C++ expects char ( #15528 )
2026-04-07 11:07:28 -10:00
Jonathan Swoboda
9d396cea5a
[grove_tb6612fng] Move direction logic from Python to C++ to fix lambda crash ( #15513 )
2026-04-07 10:56:25 -10:00
J. Nick Koston
ef6c65c7ec
[cli] Add config bundle CLI command for remote compilation ( #13791 )
2026-04-07 10:37:19 -10:00
J. Nick Koston
6460f3a757
[api] Add max_data_length and force to DeviceInfoResponse/HelloResponse proto fields ( #15514 )
2026-04-07 10:24:36 -10:00
J. Nick Koston
0d809a7481
[automation] Add CallbackAutomation dataclass and build_callback_automations helper ( #15246 )
2026-04-07 10:09:27 -10:00
J. Nick Koston
cf78b035be
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-07 08:53:34 -10:00
J. Nick Koston
674d030cbb
[core] Reschedule fired intervals directly into heap ( #15516 )
2026-04-07 07:36:55 -10:00
Diorcet Yann
7ab7538220
[hdc2080] Fix tests ( #15518 )
2026-04-06 21:59:05 -10:00
J. Nick Koston
9d43ed77c6
Merge remote-tracking branch 'origin/scheduler-interval-direct-heap' into integration
2026-04-06 20:58:44 -10:00
J. Nick Koston
cf704b6b91
Address review: remove unused global, fix assertion messages
2026-04-06 20:54:01 -10:00
J. Nick Koston
c79e7f4018
[core] Reschedule fired intervals directly into heap instead of to_add_
...
When an interval fires in Scheduler::call(), push it directly back into
items_ via push_back() + push_heap() instead of routing through the
to_add_ staging vector and process_to_add_slow_path_().
This eliminates per-cycle overhead of process_to_add_slow_path_() which
acquires a lock, iterates to_add_, pushes each item into the heap, clears
the vector, and resets the atomic counter.
2026-04-06 20:37:04 -10:00
J. Nick Koston
d0b3cdebdb
Merge remote-tracking branch 'upstream/fan-store-preset-modes-on-entity' into integration
2026-04-06 19:19:34 -10:00
J. Nick Koston
e3d95817a1
Merge remote-tracking branch 'upstream/climate-store-custom-modes-on-entity' into integration
2026-04-06 19:18:58 -10:00
J. Nick Koston
60b5893ec7
Merge branch 'dev' into climate-store-custom-modes-on-entity
2026-04-06 18:46:43 -10:00
J. Nick Koston
6db21ec054
Merge branch 'dev' into fan-store-preset-modes-on-entity
2026-04-06 18:46:32 -10:00
J. Nick Koston
d3df97f534
Merge remote-tracking branch 'origin/api-max-data-length-force' into integration
2026-04-06 18:42:13 -10:00
J. Nick Koston
b86ab07632
[core] Fix test for byte-length error message, add ByteLength and multibyte tests
2026-04-06 18:38:58 -10:00
J. Nick Koston
10b38e1588
[api] Add max_data_length proto option and optimize entity name/object_id ( #15426 )
2026-04-07 03:31:01 +00:00
J. Nick Koston
e3e191b783
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-06 16:23:07 -10:00
J. Nick Koston
7c671cd0e6
Merge branch 'api-proto-max-length' into integration
...
# Conflicts:
# esphome/components/api/api_connection.cpp
# esphome/components/api/api_pb2.cpp
# esphome/components/api/proto.h
# esphome/core/application.h
# esphome/core/component.cpp
# script/api_protobuf/api_protobuf.py
2026-04-06 14:02:14 -10:00
Jonathan Swoboda
29ca7bc8f9
[espnow] Fix string data generating invalid C++ char literals ( #15493 )
2026-04-06 19:57:16 -04:00
J. Nick Koston
87622c9a74
[api] Add max_data_length proto option and optimize entity string encoding
...
Add a max_data_length field option to api_options.proto for string/bytes
fields. When max_data_length < 128 and force = true, the code generator
uses encode_short_string_force() — a single call that writes the tag
byte, 1-byte length varint, and raw string data with no branching. Size
calculation simplifies from calc_length(1, size) to 2 + size.
Annotate entity fields across all 25 ListEntities*Response messages:
- name and object_id: max_data_length = 120, force = true (50 fields)
- icon: max_data_length = 63 (25 fields)
The 120 and 63 values match NAME_MAX_LENGTH and ICON_MAX_LENGTH in
esphome/core/config.py, validated at config time.
2026-04-06 13:28:50 -10:00
Clyde Stubbs
c98bb9060f
[lvgl] Fix setting triggers on display ( #15364 )
2026-04-07 10:48:14 +12:00
Clyde Stubbs
ce0d360790
[lvgl] Implement rotation directly ( #14955 )
2026-04-07 10:46:42 +12:00
J. Nick Koston and Jonathan Swoboda
ab45591507
[core] Move wake_loop out of socket component into core ( #15446 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-06 21:01:03 +00:00
Boris Krivonog
02185fb4f4
[mitsubishi_cn105] Add climate component for Mitsubishi A/C units with CN105 connector (Part 5) ( #15483 )
2026-04-06 09:59:18 -10:00
J. Nick Koston
bc47757af1
Merge remote-tracking branch 'upstream/dev' into integration
2026-04-05 18:39:27 -10:00
Boris Krivonog
859ea23bde
[mitsubishi_cn105] Add climate component for Mitsubishi A/C units with CN105 connector (Part 4) ( #15462 )
2026-04-05 18:33:02 -10:00
Jonathan Swoboda
7644f17cf6
[at581x] Fix codegen crash when using lambdas for frequency/time/power ( #15468 )
2026-04-06 00:05:04 -04:00
J. Nick Koston
7a571493ff
Merge remote-tracking branch 'origin/esp8266-crash-handler' into integration
2026-04-05 16:55:29 -10:00
Jonathan Swoboda
aac74f4c94
[ags10] Fix wrong type passed to cg.templatable for set_zero_point mode ( #15467 )
2026-04-05 22:48:00 -04:00
Keith Burzinski and Claude Opus 4.6
07f6be679f
[esp32] Add signed app verification without hardware secure boot ( #15357 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-05 21:20:48 -05:00
J. Nick Koston
f193bab60b
[api] Add ListEntities benchmarks for sensor, binary_sensor, and light ( #15427 )
2026-04-05 13:25:50 -10:00
Tomer27cz
f01762ea44
[ci] move import to function ( #15440 )
2026-04-05 19:17:52 -04:00
Andrew Rankin
f23843130e
[lvgl] option to enable LVGL's built-in dark theme ( #15389 )
2026-04-06 09:07:42 +10:00
c7a163441e
[ethernet] Add interface configuration variable for esp-idf ( #10285 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
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 >
2026-04-05 20:57:41 +00:00
J. Nick Koston
1582e230dd
Merge branch 'enhancement/ethernet-spi-interface' into integration
2026-04-05 10:32:44 -10:00
J. Nick Koston
ddb024cfb1
Merge branch 'dev' into enhancement/ethernet-spi-interface
2026-04-05 10:32:31 -10:00
J. Nick Koston
47c5734793
bot comments
2026-04-05 10:00:45 -10:00