Commit Graph
18080 Commits
Author SHA1 Message Date
J. Nick Koston 2c110a9e7e preen 2025-11-06 11:57:23 -06:00
J. Nick Koston 083f41c43f preen 2025-11-06 11:54:09 -06:00
J. Nick Koston 27fb72a1d3 preen 2025-11-06 11:47:58 -06:00
J. Nick Koston 03fd2eef2f preen 2025-11-06 11:46:59 -06:00
J. Nick Koston bfca9cb6c2 preen 2025-11-06 11:37:08 -06:00
J. Nick Koston 7d4b3ff3a6 preen 2025-11-06 11:36:52 -06:00
J. Nick Koston e7e2df5c6d preen 2025-11-06 11:35:57 -06:00
J. Nick Koston 670d85090c preen 2025-11-06 11:34:15 -06:00
J. Nick Koston 4500006aab preen 2025-11-06 11:32:06 -06:00
J. Nick Koston 34317ab343 preen 2025-11-06 11:21:44 -06:00
J. Nick Koston 13ee597ce0 preen 2025-11-06 11:17:17 -06:00
J. Nick Koston 378e591e70 preen 2025-11-06 11:11:58 -06:00
J. Nick Koston 20f2d409f7 wip 2025-11-06 11:06:57 -06:00
J. Nick Koston 398b5337c2 Merge branch 'integration' into memory_api 2025-11-06 09:58:45 -06:00
J. Nick Koston a5e1136eda Merge branch 'lwip_raw_tcp_dry_ip_formatting' into integration 2025-11-06 09:58:36 -06:00
J. Nick Koston 9168d5e422 [socket] Deduplicate IP formatting in LWIP raw TCP implementation 2025-11-06 09:58:03 -06:00
J. Nick Koston d80822573a Merge branch 'integration' into memory_api 2025-11-05 23:47:31 -06:00
J. Nick Koston 1e58c400ea Revert "free"
This reverts commit fbc3413ed9.
2025-11-05 23:47:28 -06:00
J. Nick Koston e17b69c20d Revert "[core] Deduplicate entity icon and device class logging"
This reverts commit 2ddfabe09e.
2025-11-05 23:46:49 -06:00
J. Nick Koston fbc3413ed9 free 2025-11-05 23:00:40 -06:00
J. Nick Koston 754eaab3be Merge branch 'integration' into memory_api 2025-11-05 22:51:10 -06:00
J. Nick Koston ffd5b12324 Merge branch 'de_dupe_logging' into integration 2025-11-05 22:51:04 -06:00
J. Nick Koston 2ddfabe09e [core] Deduplicate entity icon and device class logging 2025-11-05 22:49:13 -06:00
rwrozelleandJesse Hills 26607713bb [openthread] add poll period for mtd devices (#11374)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-11-06 16:57:31 +13:00
J. Nick Koston f0e52227f2 Merge branch 'integration' into memory_api 2025-11-05 21:28:25 -06:00
J. Nick Koston 6c09b16b38 Revert "[esp32_ble] Store custom GAP device name in flash"
This reverts commit 70d947fab9.
2025-11-05 21:28:17 -06:00
J. Nick Koston ef19d7bb24 Merge branch 'integration' into memory_api 2025-11-05 21:22:24 -06:00
J. Nick Koston 39b63ae87e Merge branch 'store_custom_ble_gap_name_flash' into integration 2025-11-05 21:22:17 -06:00
J. Nick Koston 70d947fab9 [esp32_ble] Store custom GAP device name in flash 2025-11-05 21:20:27 -06:00
SzewcsonandJonathan Swoboda 895d76ca03 [gdk101] Fix fw version reporting (#11029)
Signed-off-by: szewcu <szewcson@gmail.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2025-11-05 22:19:29 -05:00
J. Nick KostonandJesse Hills 74187845b7 [select] Convert remaining components to use index-based control() (#11693)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-11-06 15:55:26 +13:00
J. Nick Koston 822eacfd77 [core] Fix wait_until and for_condition timing regression in automation chains (#11716) 2025-11-06 15:49:24 +13:00
Clyde Stubbs ab5d8f67ae [core] Add helper functions for clamp_at_... (#10387) 2025-11-06 15:48:02 +13:00
J. Nick Koston 83f30a64ed [api] Store YAML service names in flash instead of heap (#11744) 2025-11-06 15:31:59 +13:00
J. Nick Koston 5eea7bdb44 Update AI instructions with C++ style guidelines from developers docs (#11743) 2025-11-06 14:45:48 +13:00
J. Nick Koston bdfd88441a [ci] Skip memory impact analysis when more than 40 components changed (#11741) 2025-11-05 19:31:23 -06:00
J. Nick Koston afe4ef17b7 Merge branch 'integration' into memory_api 2025-11-05 19:18:03 -06:00
J. Nick Koston dc3f4007df Merge branch 'api_services_flash' into integration 2025-11-05 19:17:55 -06:00
J. Nick Koston 8fded918b7 adjust 2025-11-05 19:16:37 -06:00
J. Nick Koston 784dc358f0 Merge branch 'integration' into memory_api 2025-11-05 19:02:28 -06:00
J. Nick Koston 99f5018dd2 Merge branch 'api_services_flash' into integration 2025-11-05 19:02:17 -06:00
J. Nick Koston ce4f9db778 adjust 2025-11-05 19:01:36 -06:00
J. Nick Koston b3fdef3ac4 Merge branch 'integration' into memory_api 2025-11-05 18:59:08 -06:00
J. Nick Koston d7c0ea22c4 Merge branch 'api_services_flash' into integration 2025-11-05 18:58:56 -06:00
J. Nick Koston 15c167b5ce adjust 2025-11-05 18:55:04 -06:00
J. Nick Koston ab6cb2dee6 remove extra test 2025-11-05 18:51:38 -06:00
J. Nick Koston bd0705cdc0 [api] Store YAML service names in flash instead of heap
Reduces memory usage for YAML-defined API services by storing service
names and argument names as pointers to string literals in flash instead
of heap-allocated std::string objects.

Implementation:
- Created UserServiceBase<Ts...> for YAML services (const char* storage)
- Created UserServiceDynamic<Ts...> for custom_api_device (std::string storage)
- Updated CustomAPIDeviceService to inherit from UserServiceDynamic
- UserServiceTrigger uses UserServiceBase (YAML-only)

Memory savings per YAML service:
- 0 args: 32 bytes (57% reduction)
- 2 args: 48 bytes (60% reduction)
- 5 args: 96 bytes (63% reduction)

Custom API device services maintain same memory footprint (no regression).

Typical ESPHome device (2-5 services): 100-240 bytes saved
High-service device (10+ services): 400-800 bytes saved
2025-11-05 18:51:17 -06:00
J. Nick KostonandClaude 4810c36141 [api] Store YAML service names in flash instead of heap
Reduces memory usage for YAML-defined API services by storing service
names and argument names as pointers to string literals in flash instead
of heap-allocated std::string objects.

Implementation:
- Created UserServiceBase<Ts...> for YAML services (const char* storage)
- Created UserServiceDynamic<Ts...> for custom_api_device (std::string storage)
- Updated CustomAPIDeviceService to inherit from UserServiceDynamic
- UserServiceTrigger uses UserServiceBase (YAML-only)

Memory savings per YAML service:
- 0 args: 32 bytes (57% reduction)
- 2 args: 48 bytes (60% reduction)
- 5 args: 96 bytes (63% reduction)

Custom API device services maintain same memory footprint (no regression).

Typical ESPHome device (2-5 services): 100-240 bytes saved
High-service device (10+ services): 400-800 bytes saved

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:49:58 -06:00
J. Nick Koston 351262aea9 Merge branch 'integration' into memory_api 2025-11-05 18:06:09 -06:00
J. Nick Koston 89bd9d8d91 Merge branch 'ai_instructions_code_base' into integration 2025-11-05 18:06:02 -06:00