1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00
Commit Graph

2121 Commits

Author SHA1 Message Date
J. Nick Koston
0709c21b8c Merge branch 'integration' into memory_api 2025-11-08 22:57:40 -06:00
J. Nick Koston
f10d46252e Merge branch 'abbwelcome_protocol_automation' into integration 2025-11-08 22:57:01 -06:00
J. Nick Koston
0cbfd16e88 Merge branch 'speaker_automation' into integration 2025-11-08 22:56:57 -06:00
J. Nick Koston
f00d3d0cae Merge branch 'udp_actions' into integration 2025-11-08 22:56:51 -06:00
J. Nick Koston
5c7369788b Merge branch 'sx127x_automation_waste' into integration 2025-11-08 22:56:46 -06:00
J. Nick Koston
d728a42416 Merge branch 'sx126x_lam_store' into integration 2025-11-08 22:56:38 -06:00
J. Nick Koston
d1089d26e9 Merge branch 'canbus_lambdas' into integration 2025-11-08 22:56:33 -06:00
J. Nick Koston
efc49d05ad Merge branch 'ble_client_lams' into integration 2025-11-08 22:56:29 -06:00
J. Nick Koston
a239460724 [remote_base] Optimize abbwelcome action memory usage - store static data in flash 2025-11-08 22:48:50 -06:00
J. Nick Koston
ecf7de7743 [speaker] Optimize speaker.play action memory usage - store static data in flash 2025-11-08 22:39:51 -06:00
J. Nick Koston
2cac99dafa [udp] Optimize udp.write action memory usage - store static data in flash 2025-11-08 22:32:47 -06:00
J. Nick Koston
ba82d968eb [sx127x] Optimize send_packet action memory usage - store static data in flash 2025-11-08 22:25:41 -06:00
J. Nick Koston
17df008092 [sx126x] Optimize send_packet action memory usage - store static data in flash 2025-11-08 22:16:39 -06:00
J. Nick Koston
93a57831f4 Add additional compile time tests for canbus 2025-11-08 22:08:07 -06:00
J. Nick Koston
4b143e1f3d Add ble_client lambda compile tests 2025-11-08 21:54:05 -06:00
J. Nick Koston
0ab8ce2bdc Merge branch 'integration' into memory_api 2025-11-08 21:19:58 -06:00
J. Nick Koston
f4a7f40b8e Merge branch 'uart_write_action_store_flash_state_less' into integration 2025-11-08 21:19:52 -06:00
J. Nick Koston
c5014321a6 Expand uart.write tests 2025-11-08 21:15:28 -06:00
J. Nick Koston
1329d1af88 Merge branch 'integration' into memory_api 2025-11-07 17:17:11 -06:00
J. Nick Koston
f4eca3872d Merge branch 'controller_registry' into integration 2025-11-07 17:17:05 -06:00
J. Nick Koston
9b3f9ee70d Merge branch 'integration' into memory_api 2025-11-07 14:09:19 -06:00
J. Nick Koston
9158b1e6d6 Merge branch 'event_store_in_flash' into integration 2025-11-07 14:09:10 -06:00
J. Nick Koston
a5bf55b6ac [ci] Fix component batching for beta/release branches (3-4 → 40 per batch) (#11759) 2025-11-07 20:19:45 +13:00
J. Nick Koston
85d2565f25 [tests] Fix determine_jobs tests failing when target branch is beta (#11758) 2025-11-07 20:18:43 +13:00
J. Nick Koston
d0b399d771 [ci] Reduce release time by removing 468 redundant ESP32-C3 IDF tests (#11737) 2025-11-07 15:44:01 +13:00
philippderdiedas
5d20e3a3b4 Add MCP3221 i2c A-D-Converter (#7764) 2025-11-07 14:25:14 +13:00
Kevin Ahrendt
ba5fa7c10a [psram] Add option to disable ignore not found sdkconfig setting (#11411)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-11-07 14:22:50 +13: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
rwrozelle
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
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
Szewcson
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 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
bdfd88441a [ci] Skip memory impact analysis when more than 40 components changed (#11741) 2025-11-05 19:31:23 -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 Koston
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
aaee3f2899 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/mqtt/mqtt_binary_sensor.cpp
#	esphome/components/mqtt/mqtt_component.cpp
#	esphome/components/mqtt/mqtt_cover.cpp
#	esphome/components/mqtt/mqtt_event.cpp
#	esphome/components/mqtt/mqtt_number.cpp
#	esphome/components/mqtt/mqtt_sensor.cpp
#	esphome/components/mqtt/mqtt_text_sensor.cpp
#	esphome/components/mqtt/mqtt_valve.cpp
2025-11-05 18:05:09 -06:00
Clyde Stubbs
20b6e0d5c2 [lvgl] Allow text substitution for NaN (#11712) 2025-11-06 10:37:38 +11:00
J. Nick Koston
ce5e608863 [ci] Skip memory impact analysis for release and beta branches (#11740) 2025-11-05 14:32:45 -06:00
J. Nick Koston
aa5795c019 [tests] Fix ID collision between bl0940 and nau7802 component tests (#11739) 2025-11-05 13:17:34 -06:00
J. Nick Koston
0e3f2d3302 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-04 21:12:26 -06:00
J. Nick Koston
1446e7174a [core] Reduce action framework argument copies by 83% (#11704)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-11-05 01:23:24 +00:00
J. Nick Koston
c7ae424613 [display] Optimize display writers with function pointers for stateless lambdas (#11629) 2025-11-05 11:14:54 +13:00