Commit Graph

22125 Commits

Author SHA1 Message Date
J. Nick Koston 38d3de7c00 Merge remote-tracking branch 'upstream/dev' into integration 2026-02-09 13:19:29 -06:00
J. Nick Koston e0712cc53b [scheduler] Make core timer ID collisions impossible with type-safe internal IDs (#13882)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-02-09 13:16:22 -06:00
J. Nick Koston 6c6da8a3cd [api] Skip class generation for empty SOURCE_CLIENT protobuf messages (#13880) 2026-02-09 18:45:24 +00:00
J. Nick Koston e4ea016d1e [ci] Block new std::to_string() usage, suggest snprintf alternatives (#13369) 2026-02-09 12:26:19 -06:00
J. Nick Koston 41a9588d81 [i2c] Replace switch with if-else to avoid CSWTCH table in RAM (#13815) 2026-02-09 12:26:06 -06:00
J. Nick Koston cd55eb927d [modbus] Batch UART reads to reduce loop overhead (#13822) 2026-02-09 12:21:15 -06:00
J. Nick Koston 4a9ff48f02 [nextion] Batch UART reads to reduce loop overhead (#13823)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-09 12:20:50 -06:00
J. Nick Koston 743fdee8e2 Merge branch 'no_gen_empty_messages' into integration 2026-02-09 12:20:20 -06:00
J. Nick Koston 8b733921b5 rename dict to make bot happy 2026-02-09 12:20:01 -06:00
J. Nick Koston 8fffe7453d [seeed_mr24hpc1/mr60fda2/mr60bha2] Batch UART reads to reduce per-loop overhead (#13825) 2026-02-09 12:18:12 -06:00
J. Nick Koston a5ee451043 [tuya] Batch UART reads to reduce per-loop overhead (#13827) 2026-02-09 12:17:58 -06:00
J. Nick Koston e176cf50ab [dfplayer] Batch UART reads to reduce per-loop overhead (#13832) 2026-02-09 12:15:28 -06:00
J. Nick Koston e7a900fbaa [rf_bridge] Batch UART reads to reduce per-loop overhead (#13831) 2026-02-09 12:15:15 -06:00
J. Nick Koston 623f33c9f9 [rd03d] Batch UART reads to reduce per-loop overhead (#13830) 2026-02-09 12:15:04 -06:00
J. Nick Koston 8b24112be5 [pipsolar] Batch UART reads to reduce per-loop overhead (#13829) 2026-02-09 12:14:48 -06:00
J. Nick Koston e40fccc526 Merge branch 'no_gen_empty_messages' into integration
# Conflicts:
#	esphome/components/esp32_hosted/update/esp32_hosted_update.cpp
#	esphome/core/component.cpp
2026-02-09 12:12:28 -06:00
J. Nick Koston 04943e71b0 Merge remote-tracking branch 'upstream/dev' into no_gen_empty_messages
# Conflicts:
#	esphome/components/api/api_pb2_service.cpp
#	script/api_protobuf/api_protobuf.py
2026-02-09 12:10:01 -06:00
J. Nick Koston d33f23dc43 [ld2410] Batch UART reads to reduce loop overhead (#13820) 2026-02-09 12:07:55 -06:00
J. Nick Koston c43d3889b0 [modbus] Use stack buffer instead of heap vector in send() (#13853) 2026-02-09 12:07:42 -06:00
J. Nick Koston 50fe8e51f9 [ld2412] Batch UART reads to reduce loop overhead (#13819) 2026-02-09 12:07:28 -06:00
J. Nick Koston c7883cb5ae [ld2450] Batch UART reads to reduce loop overhead (#13818) 2026-02-09 12:06:38 -06:00
J. Nick Koston 3b0df145b7 [cse7766] Batch UART reads to reduce loop overhead (#13817) 2026-02-09 12:05:59 -06:00
J. Nick Koston 2383b6b8b4 [core] Deprecate set_retry, cancel_retry, and RetryResult (#13845) 2026-02-09 12:05:32 -06:00
J. Nick Koston c658d7b57f [api] Merge auth check into base read_message, eliminate APIServerConnection (#13873) 2026-02-09 12:02:02 -06:00
Jonathan Swoboda 04a6238c7b [esp32] Set UV_CACHE_DIR inside data dir so Clean All clears it (#13888)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:49:58 +00:00
J. Nick Koston 919afa1553 [web_server_base] Fix RP2040 compilation when Crypto-no-arduino is present (#13887) 2026-02-09 12:47:59 -05:00
J. Nick Koston abb88f6b0f Merge remote-tracking branch 'origin/api-flash-string-progmem' into integration 2026-02-09 11:16:41 -06:00
J. Nick Koston 5d5344cf91 Add tests for cg.templatable() auto FlashStringLiteral wrapping
Cover the new automatic ESPHOME_F() wrapping behavior: static strings
with std::string output_type, non-string values, None output_type,
to_exp callable/dict, and lambda passthrough.
2026-02-09 10:56:56 -06:00
J. Nick Koston b0cf94c409 Auto-wrap static strings in ESPHOME_F() via templatable()
Move FlashStringLiteral wrapping from per-component manual code into
cg.templatable() itself. When output_type is std::string and the value
is a static string (not a lambda), it is automatically wrapped in
ESPHOME_F() for PROGMEM storage on ESP8266. On other platforms
ESPHOME_F() is a no-op returning const char*.

This makes all ~50 existing cg.templatable(..., cg.std_string) call
sites across every component benefit automatically, with no
per-component changes needed.

Simplify api/__init__.py by switching from output_type=None to
cg.std_string and removing the manual isinstance/FlashStringLiteral
checks that are now redundant.
2026-02-09 10:38:41 -06:00
J. Nick Koston 9202d11af0 Merge branch 'dlms_meter_batch_read' into integration 2026-02-09 09:45:54 -06:00
J. Nick Koston 0ed3e033de Merge branch 'pylontech_batch_read' into integration 2026-02-09 09:45:54 -06:00
J. Nick Koston 0948f306ec Merge branch 'tuya_batch_read' into integration 2026-02-09 09:45:53 -06:00
J. Nick Koston 51679d9b6c Merge branch 'modbus_batch_read' into integration 2026-02-09 09:45:53 -06:00
J. Nick Koston 6dd9311f08 Merge branch 'seeed_mr_batch_read' into integration 2026-02-09 09:45:53 -06:00
J. Nick Koston e2b870bd5c Merge branch 'dfplayer_batch_read' into integration 2026-02-09 09:45:52 -06:00
J. Nick Koston a2ea81df0e Merge branch 'rd03d_batch_read' into integration 2026-02-09 09:45:52 -06:00
J. Nick Koston 84062c46b0 Merge branch 'nextion_batch_read' into integration 2026-02-09 09:45:52 -06:00
J. Nick Koston 24ab0d9474 Merge branch 'ld2420_batch_read' into integration 2026-02-09 09:45:52 -06:00
J. Nick Koston 30649c280e Merge branch 'ld2410_batch_read' into integration 2026-02-09 09:45:51 -06:00
J. Nick Koston bb13405775 Merge branch 'ld2412_batch_read' into integration 2026-02-09 09:45:51 -06:00
J. Nick Koston bfde168035 Merge branch 'ld2450_batch_read' into integration 2026-02-09 09:45:51 -06:00
J. Nick Koston d842b5411b Merge branch 'cse7766_batch_read' into integration 2026-02-09 09:45:50 -06:00
J. Nick Koston ca8617cf10 Fix early guard comment 2026-02-09 09:41:45 -06:00
J. Nick Koston a0bc6a9922 Remove incorrect early guard comment 2026-02-09 09:41:25 -06:00
J. Nick Koston d5295a894b Remove unnecessary early guard 2026-02-09 09:41:03 -06:00
J. Nick Koston fb6b96ff58 Remove incorrect early guard comment 2026-02-09 09:40:44 -06:00
J. Nick Koston e07144ef74 Remove unnecessary early guard 2026-02-09 09:40:26 -06:00
J. Nick Koston 1c4cf1a3e8 Remove unnecessary early guard 2026-02-09 09:40:05 -06:00
J. Nick Koston a198df34ee Remove unnecessary early guard 2026-02-09 09:39:49 -06:00
J. Nick Koston 15904ab583 Remove unnecessary early guard 2026-02-09 09:39:30 -06:00