Compare commits

...

8205 Commits

Author SHA1 Message Date
J. Nick Koston 70fb561ce1 pipsolar_teleinfo 2026-01-17 14:35:33 -10:00
J. Nick Koston e82cc8bbc5 Merge branch 'pipsolar_flash' into integration 2026-01-17 14:22:12 -10:00
J. Nick Koston 533d3e5184 [pipsolar] Store command strings in flash 2026-01-17 14:17:15 -10:00
J. Nick Koston 48dc1331a4 [pipsolar] Store command strings in flash 2026-01-17 14:16:27 -10:00
J. Nick Koston 9c2917e8ec [pipsolar] Store command strings in flash 2026-01-17 14:15:29 -10:00
J. Nick Koston aa777ef42f Merge branch 'sun_text_sensor' into integration 2026-01-17 14:06:47 -10:00
J. Nick Koston ece75593cf [sun] Store text sensor format string in flash 2026-01-17 14:06:06 -10:00
J. Nick Koston 0280e830c8 Merge branch 'template_text_init_string_flash' into integration 2026-01-17 13:54:31 -10:00
J. Nick Koston 04c5cc1225 [template] Store text initial_value in flash and avoid heap allocation in setup 2026-01-17 13:50:14 -10:00
J. Nick Koston 12972889eb Merge branch 'wireguard_flash' into integration 2026-01-17 13:38:04 -10:00
J. Nick Koston e17602c386 [wireguard] Store configuration strings in flash instead of heap 2026-01-17 13:31:02 -10:00
J. Nick Koston 055b315360 Merge branch 'udp_flash_strings' into integration 2026-01-17 13:10:45 -10:00
J. Nick Koston 3ddf408f08 Merge branch 'move_template_alarm_control_panel_codes_to_flash' into integration 2026-01-17 13:10:28 -10:00
J. Nick Koston c82cef3b64 [udp] Store addresses in flash instead of heap 2026-01-17 13:09:57 -10:00
J. Nick Koston 2ead1deb51 [template] Store alarm control panel codes in flash instead of heap 2026-01-17 12:47:48 -10:00
J. Nick Koston 13360a21e6 [template] Store alarm control panel codes in flash instead of heap 2026-01-17 12:46:28 -10:00
J. Nick Koston 0b5570d947 Merge branch 'string_ref_triggers_part_2' into integration 2026-01-17 12:12:52 -10:00
J. Nick Koston 56f5e14a02 [template][event] Use StringRef for set_action and on_event triggers 2026-01-17 12:10:56 -10:00
J. Nick Koston e7f1dc14bb Merge branch 'fnv1_hash_extend' into integration 2026-01-17 11:47:21 -10:00
J. Nick Koston cd9ed4fdf1 make fnv1a_etend 2026-01-17 11:46:54 -10:00
J. Nick Koston 46777ad4c9 Merge branch 'modbus_string' into integration 2026-01-17 11:45:17 -10:00
J. Nick Koston 7c7f805147 Merge remote-tracking branch 'upstream/dev' into modbus_string 2026-01-17 11:42:55 -10:00
J. Nick Koston dd6712bdad missed a few 2026-01-17 11:42:00 -10:00
J. Nick Koston 0e63dc1891 Merge branch 'fnv1_hash_extend' into integration 2026-01-17 11:39:51 -10:00
J. Nick Koston 657978b416 [core] Add fnv1_hash_extend() string overloads, use in atm90e32 2026-01-17 11:38:29 -10:00
J. Nick Koston 8b1a6c2082 Merge branch 'ip_address_lower_fix' into integration 2026-01-17 11:26:39 -10:00
J. Nick Koston 338f5e1282 [network] Fix IPAddress::str_to() to lowercase IPv6 hex digits 2026-01-17 11:26:01 -10:00
J. Nick Koston 84b6a97a1b Merge branch 'string_ref_triggers' into integration 2026-01-17 11:12:39 -10:00
J. Nick Koston e5e7aa41b1 fix nolint comments 2026-01-17 11:12:27 -10:00
J. Nick Koston 48c9380ec1 Merge branch 'string_ref_triggers' into integration 2026-01-17 11:11:32 -10:00
J. Nick Koston b6ef8eed78 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-17 11:11:22 -10:00
J. Nick Koston caa86a4701 adl tests 2026-01-17 11:07:26 -10:00
J. Nick Koston d49295ab18 Merge branch 'string_ref_triggers' into integration 2026-01-17 11:05:58 -10:00
J. Nick Koston 05dbc0035b handle conversion failure 2026-01-17 11:03:04 -10:00
J. Nick Koston 36e9febba1 bot comments, tidy 2026-01-17 11:01:45 -10:00
J. Nick Koston 1a18462279 Merge branch 'string_ref_triggers' into integration 2026-01-17 10:58:54 -10:00
J. Nick Koston 1dc4a5432f adl 2026-01-17 10:55:48 -10:00
J. Nick Koston 451447b0fc adl 2026-01-17 10:54:13 -10:00
J. Nick Koston 3cfca5228c bot review 2026-01-17 08:45:10 -10:00
J. Nick Koston 620667f9d8 bot review 2026-01-17 08:44:43 -10:00
J. Nick Koston f3226b108f make sure new stringref functions work 2026-01-17 08:42:56 -10:00
J. Nick Koston 83d164c213 make sure new stringref functions work 2026-01-17 08:42:16 -10:00
J. Nick Koston 1550a6af72 make sure new stringref functions work 2026-01-17 08:42:11 -10:00
J. Nick Koston 18c3dd8af7 make sure new stringref functions work 2026-01-17 08:35:46 -10:00
J. Nick Koston 65cdb97f06 avoid breaking 2026-01-17 08:32:31 -10:00
J. Nick Koston 37025d62e0 [select][fan] Use StringRef for on_value/on_preset_set triggers to avoid heap allocation 2026-01-17 08:28:40 -10:00
J. Nick Koston 46d9c0be17 Merge branch 'mqtt_formatting' into integration 2026-01-17 07:52:05 -10:00
J. Nick Koston 86e70c7e76 more 2026-01-17 07:38:51 -10:00
J. Nick Koston 40025bb277 tweaks to reduce RAM 2026-01-17 07:34:22 -10:00
J. Nick Koston 438bb96687 tweaks to reduce RAM 2026-01-17 07:28:44 -10:00
J. Nick Koston c1e1325af2 Merge branch 'dev' into mqtt_formatting 2026-01-17 07:24:11 -10:00
J. Nick Koston c256066d3b Merge branch 'light_json_str_flash' into integration 2026-01-16 23:48:25 -10:00
J. Nick Koston cd16ea9020 tidy 2026-01-16 23:48:15 -10:00
J. Nick Koston 27a5e1d276 Merge branch 'domain_equals_now_supports_flash_str' into integration 2026-01-16 23:36:18 -10:00
J. Nick Koston 4a92148f87 [web_server] Use ESPHOME_F for canHandle domain checks to reduce ESP8266 RAM 2026-01-16 23:35:45 -10:00
J. Nick Koston 115296efc1 Merge branch 'light_json_str_flash' into integration 2026-01-16 23:26:02 -10:00
J. Nick Koston c3ab3835e4 [light] Store color mode JSON strings in flash on ESP8266 2026-01-16 23:23:03 -10:00
J. Nick Koston 6c53369232 Merge branch 'str_endswith_ignore_case' into integration 2026-01-16 22:57:31 -10:00
J. Nick Koston d45443d680 Merge branch 'str_equals_case_insensitive_overloads' into integration 2026-01-16 22:57:16 -10:00
J. Nick Koston 6882a82d23 [core] Add str_endswith_ignore_case to avoid heap allocation in audio file type detection 2026-01-16 22:52:49 -10:00
J. Nick Koston 7f5d3894ad remove 2026-01-16 22:49:00 -10:00
J. Nick Koston 1facf851b0 wip 2026-01-16 22:47:33 -10:00
J. Nick Koston 4f48d65700 Merge branch 'weikai_buf' into integration 2026-01-16 22:27:02 -10:00
J. Nick Koston ee93e68c6f merge 2026-01-16 22:26:31 -10:00
J. Nick Koston dd3ac71364 Merge branch 'dev' of https://github.com/esphome/esphome into weikai_buf 2026-01-16 22:26:19 -10:00
J. Nick Koston efef4dad55 Merge branch 'weikai_buf' into integration 2026-01-16 22:25:03 -10:00
J. Nick Koston fcccd1fc85 merge 2026-01-16 22:24:48 -10:00
J. Nick Koston 8b0b98653e Merge remote-tracking branch 'upstream/dev' into integration 2026-01-16 22:05:22 -10:00
J. Nick Koston 666fdcfbdf Merge branch 'proto_bounds_check_fix' into integration 2026-01-16 15:15:13 -10:00
J. Nick Koston 1d61530a07 cast 2026-01-16 15:14:42 -10:00
J. Nick Koston 8d2f9f7696 [api] Use subtraction for protobuf bounds checking 2026-01-16 15:04:28 -10:00
J. Nick Koston d2bece9521 Merge branch 'proto_bounds_check_fix' into integration 2026-01-16 14:59:59 -10:00
J. Nick Koston 20baa43aa2 fix 2026-01-16 14:49:16 -10:00
J. Nick Koston bcc8351d65 proto 2026-01-16 14:42:47 -10:00
J. Nick Koston 0c4a3c70de Merge branch 'ezo_pmp' into integration 2026-01-16 14:10:20 -10:00
J. Nick Koston 0390c3a8a6 [ezo_pmp] Replace sprintf with bounds-checked snprintf 2026-01-16 14:09:47 -10:00
J. Nick Koston bcc53faaf3 Merge branch 'anova_safety' into integration 2026-01-16 14:07:18 -10:00
J. Nick Koston 8515658008 [anova] Replace sprintf with bounds-checked alternatives 2026-01-16 14:06:55 -10:00
J. Nick Koston d274723a1d Merge branch 'sprintf_group_2' into integration 2026-01-16 14:02:25 -10:00
J. Nick Koston b7983b4774 [am43][lightwaverf][rf_bridge][spi_led_strip] Replace sprintf with safe alternatives 2026-01-16 14:01:48 -10:00
J. Nick Koston 0d329f4f4d [am43][lightwaverf][rf_bridge][spi_led_strip] Replace sprintf with safe alternatives 2026-01-16 14:00:30 -10:00
J. Nick Koston 60d48d6a58 [am43][lightwaverf][rf_bridge][spi_led_strip] Replace sprintf with safe alternatives 2026-01-16 13:57:32 -10:00
J. Nick Koston 04fc533b78 Merge branch 'sprintf_group' into integration 2026-01-16 13:52:51 -10:00
J. Nick Koston f9d9136415 [dfrobot_sen0395][pipsolar][sim800l][wl_134] Replace sprintf with snprintf/buf_append_printf 2026-01-16 13:52:19 -10:00
J. Nick Koston b259b6c428 Merge branch 'ccs811_sprintf' into integration 2026-01-16 13:48:39 -10:00
J. Nick Koston 84fa55376f [ccs811] Use buf_append_printf for buffer safety and ESP8266 flash optimization 2026-01-16 13:48:01 -10:00
J. Nick Koston f4505c4353 Merge branch 'weikai_buf' into integration 2026-01-16 13:43:43 -10:00
J. Nick Koston 4ca66ec07f Merge branch 'mapping_debug' into integration 2026-01-16 13:33:41 -10:00
J. Nick Koston befe5d3bd2 bot review 2026-01-16 13:32:31 -10:00
J. Nick Koston bdabbdaaea bot review 2026-01-16 13:31:30 -10:00
J. Nick Koston 90989aa7cd bot review 2026-01-16 13:30:27 -10:00
J. Nick Koston 72ebee5267 bot review 2026-01-16 13:28:51 -10:00
J. Nick Koston b4855deba2 Merge branch 'mapping_debug' into integration 2026-01-16 13:27:27 -10:00
J. Nick Koston 52bbd7b37d Merge branch 'tx20_heap_heap_heap' into integration 2026-01-16 13:27:23 -10:00
J. Nick Koston 4d26eeaf75 copilot found a bug, its not new though 2026-01-16 13:26:56 -10:00
J. Nick Koston 648a40de7b [mapping] Use stack buffers for numeric key error logging 2026-01-16 13:23:05 -10:00
J. Nick Koston 73fcaea393 Merge branch 'tx20_heap_heap_heap' into integration 2026-01-16 13:19:13 -10:00
J. Nick Koston 7d6b95f535 cleanup 2026-01-16 13:19:05 -10:00
J. Nick Koston bea4bae4d6 Merge branch 'tx20_heap_heap_heap' into integration 2026-01-16 13:16:11 -10:00
J. Nick Koston 9c0eccd81b [tx20] Eliminate heap allocations in wind sensor 2026-01-16 13:15:31 -10:00
J. Nick Koston 97e1a58787 [weikai] Replace bitset to_string with format_bin_to 2026-01-16 13:05:27 -10:00
J. Nick Koston 99f0962665 Merge branch 'toshiba_strings' into integration 2026-01-16 12:51:47 -10:00
J. Nick Koston 94f4619101 weak 2026-01-16 12:50:39 -10:00
J. Nick Koston 0e0f6cc2c9 [toshiba] Replace to_string with stack buffer in debug logging 2026-01-16 12:49:15 -10:00
J. Nick Koston ca9ea0187e Merge branch 'nextion_strings' into integration 2026-01-16 12:45:24 -10:00
J. Nick Koston 45dbbb215f [nextion] Replace to_string with stack buffer and fix unsafe sprintf 2026-01-16 12:44:29 -10:00
J. Nick Koston bc9487aee5 Merge branch 'uart_debug' into integration 2026-01-16 12:40:04 -10:00
J. Nick Koston 3d6a4faf90 one more 2026-01-16 12:39:22 -10:00
J. Nick Koston a9b0b0fe70 Merge branch 'wiegand_to_string' into integration 2026-01-16 12:37:38 -10:00
J. Nick Koston bc2d37193a [wiegand] Replace heap-allocating to_string with stack buffers 2026-01-16 12:36:28 -10:00
J. Nick Koston c1209313b4 Merge branch 'tuya_light_safe' into integration 2026-01-16 12:26:02 -10:00
J. Nick Koston 7ce5e2c734 [tuya] Replace unsafe sprintf with snprintf in light color formatting 2026-01-16 12:25:25 -10:00
J. Nick Koston a033817ae9 Merge branch 'rc522_spi_sprintf' into integration 2026-01-16 12:21:42 -10:00
J. Nick Koston 705c8a3902 Merge branch 'hmac_sha256' into integration 2026-01-16 12:21:28 -10:00
J. Nick Koston f9a605e60d fix merge 2026-01-16 12:17:59 -10:00
J. Nick Koston 3018849508 [rc522_spi] Replace unsafe sprintf with buf_append_printf 2026-01-16 12:16:30 -10:00
J. Nick Koston 12f88b877d Merge branch 'hmac_sha256' into integration 2026-01-16 12:12:51 -10:00
J. Nick Koston 44191ed41f [hmac_sha256] Replace unsafe sprintf with format_hex_to 2026-01-16 12:09:02 -10:00
J. Nick Koston d3e684815f Merge branch 'uart_debug' into integration 2026-01-16 12:02:24 -10:00
J. Nick Koston c28f68b6fa [uart] Replace unsafe sprintf with buf_append_printf in debugger 2026-01-16 12:01:59 -10:00
J. Nick Koston 04fc02a545 Merge branch 'tormatic' into integration 2026-01-16 11:57:01 -10:00
J. Nick Koston cb023aad4e tweak 2026-01-16 11:56:48 -10:00
J. Nick Koston 24127c84a7 Merge remote-tracking branch 'upstream/dev' into tormatic 2026-01-16 11:56:04 -10:00
J. Nick Koston 0208ece006 Merge branch 'syslog_snprintf' into integration 2026-01-16 11:54:40 -10:00
J. Nick Koston e63cd9a56d Merge branch 'cse7766_stack_debug' into integration 2026-01-16 11:51:16 -10:00
J. Nick Koston f41ebf831d tweak 2026-01-16 11:50:15 -10:00
J. Nick Koston 91e5191c67 Merge branch 'dev' into cse7766_stack_debug 2026-01-16 11:49:52 -10:00
J. Nick Koston 22882abbe7 cleanup 2026-01-16 11:47:55 -10:00
J. Nick Koston bfac86b547 Merge branch 'syslog_snprintf' into integration 2026-01-16 11:43:30 -10:00
J. Nick Koston 88e1295e2f [syslog] Use buf_append_printf for ESP8266 flash optimization 2026-01-16 11:43:05 -10:00
J. Nick Koston c1dc79618d Merge branch 'statsd_stack' into integration 2026-01-16 11:36:33 -10:00
J. Nick Koston 5934b88d2e Merge remote-tracking branch 'upstream/dev' into statsd_stack 2026-01-16 11:35:55 -10:00
J. Nick Koston 5ce4b0c445 tweak 2026-01-16 11:35:52 -10:00
J. Nick Koston fc5917c243 Merge branch 'homeassistant_number_snprintf' into integration 2026-01-16 11:32:53 -10:00
J. Nick Koston 075364f4b4 [homeassistant] Use buf_append_printf for ESP8266 flash optimization 2026-01-16 11:32:26 -10:00
J. Nick Koston 17412a4af5 Merge branch 'esp8266_gpio' into integration 2026-01-16 11:30:17 -10:00
J. Nick Koston d7823f3e49 [gpio] Use buf_append_printf in dump_summary for ESP8266 flash optimization 2026-01-16 11:29:22 -10:00
J. Nick Koston 3b4dd3eaec Merge branch 'uptime_text_sensor' into integration 2026-01-16 11:27:06 -10:00
J. Nick Koston 0699ecbd19 [uptime] Use buf_append_printf for ESP8266 flash optimization 2026-01-16 11:26:43 -10:00
J. Nick Koston 364ba0b371 Merge branch 'web_server_simplify_snprintf' into integration 2026-01-16 11:21:59 -10:00
J. Nick Koston d6181982e8 [web_server] Simplify datetime formatting with buf_append_printf 2026-01-16 11:21:30 -10:00
J. Nick Koston 9db1cc6882 Merge branch 'daikin_arc_sprintf' into integration 2026-01-16 11:18:25 -10:00
J. Nick Koston f580fef9d4 Update esphome/components/daikin_arc/daikin_arc.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 11:17:43 -10:00
J. Nick Koston 355697e377 [daikin_arc] Fix undefined behavior in sprintf calls 2026-01-16 11:13:51 -10:00
J. Nick Koston 6655a1c19e Merge remote-tracking branch 'upstream/dev' into integration 2026-01-16 10:29:28 -10:00
J. Nick Koston 3c75454c97 Merge branch 'mqtt_snprintf' into integration 2026-01-15 19:14:19 -10:00
J. Nick Koston 638de5da46 [mqtt] Replace sprintf with snprintf for friendly name hash 2026-01-15 19:13:24 -10:00
J. Nick Koston f24f4331ba Merge remote-tracking branch 'upstream/buf_append' into integration 2026-01-15 19:02:23 -10:00
J. Nick Koston b3570a9bfd Merge remote-tracking branch 'upstream/avoid_prefs_heap_churn' into integration 2026-01-15 19:02:18 -10:00
J. Nick Koston 73eff47998 Merge remote-tracking branch 'upstream/debug_cleanup_buf' into integration 2026-01-15 19:02:13 -10:00
J. Nick Koston ac2cb8b3b3 Merge remote-tracking branch 'upstream/esp8266_web_server_defer' into integration 2026-01-15 19:02:07 -10:00
J. Nick Koston 98b8fa2260 [web_server] Skip defer on ESP8266 where callbacks already run in main loop 2026-01-15 18:49:07 -10:00
J. Nick Koston 5f57c6bb82 Update esphome/components/remote_base/aeha_protocol.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 18:34:15 -10:00
J. Nick Koston 3926d3a09d remove debug changes 2026-01-15 18:26:59 -10:00
J. Nick Koston fd33087b3f merge 2026-01-15 18:26:17 -10:00
J. Nick Koston 7c09985300 Merge remote-tracking branch 'upstream/dev' into buf_append 2026-01-15 18:25:54 -10:00
J. Nick Koston 6812654435 [debug] Use shared buf_append_printf helper from core 2026-01-15 18:24:19 -10:00
J. Nick Koston 42b9863cd3 bot concerns 2026-01-15 18:19:15 -10:00
J. Nick Koston 9bdefc98b1 bot concerns 2026-01-15 18:17:42 -10:00
J. Nick Koston 2db4e15452 Merge branch 'dev' into avoid_prefs_heap_churn 2026-01-15 18:09:37 -10:00
J. Nick Koston 530df75b43 Merge branch 'avoid_prefs_heap_churn' into integration 2026-01-15 18:05:47 -10:00
J. Nick Koston 7641c36c95 [preferences] Reduce heap churn with small inline buffer optimization 2026-01-15 18:03:44 -10:00
Keith Burzinski 73d0d7b129 Merge branch 'dev' into buf_append 2026-01-15 22:03:18 -06:00
J. Nick Koston a8f937adf1 Merge remote-tracking branch 'origin/libretiny_heap_debug' into integration 2026-01-15 17:05:55 -10:00
J. Nick Koston 60da5587d1 tweak validators 2026-01-15 16:47:58 -10:00
J. Nick Koston 422ed5e125 tweak validators 2026-01-15 16:46:27 -10:00
J. Nick Koston 4213ed6e91 [core] Add buf_append_printf helper and fix unsafe sprintf in remote_base 2026-01-15 16:26:33 -10:00
J. Nick Koston 00b805344c Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:53:07 -10:00
J. Nick Koston 9ee808e917 tweak 2026-01-15 13:52:54 -10:00
J. Nick Koston 0e584ef8d1 Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:48:25 -10:00
J. Nick Koston a5267e6bfe tweak 2026-01-15 13:48:12 -10:00
J. Nick Koston 175378774b Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:25:15 -10:00
J. Nick Koston bf8f3d7076 better handle 2038 2026-01-15 13:22:15 -10:00
J. Nick Koston fe15b3e706 better handle 2038 2026-01-15 13:21:59 -10:00
J. Nick Koston e4a193a8f9 Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:19:34 -10:00
J. Nick Koston f2ff04f685 comment 2026-01-15 13:19:22 -10:00
J. Nick Koston 58ad49ec0a comment 2026-01-15 13:19:11 -10:00
J. Nick Koston df260b13ab Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:15:59 -10:00
J. Nick Koston 8861abea73 avoid clock churn 2026-01-15 13:14:22 -10:00
J. Nick Koston 9a0ce98d8b Merge branch 'conflicting_clocks_when_logging' into integration 2026-01-15 13:06:47 -10:00
J. Nick Koston 357542960d [api] Fix clock conflicts when multiple clients connected to homeassistant time 2026-01-15 13:05:50 -10:00
J. Nick Koston 1cae3a2387 Merge branch 'fix_firmware_update_failing_with_bluetooth_proxy_from_logging' into integration 2026-01-15 11:50:28 -10:00
J. Nick Koston 0109e4b9e5 [esp32_ble_client] Reduce GATT data event logging to prevent firmware update failures 2026-01-15 11:49:06 -10:00
J. Nick Koston 3259c5ef03 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-15 11:33:33 -10:00
J. Nick Koston 0ed7570a92 Merge branch 'nrf52_memory_impact' into integration 2026-01-15 11:10:37 -10:00
J. Nick Koston 2beedc903b Merge branch 'dallas_temp_heap_churn_timer' into integration 2026-01-15 11:09:03 -10:00
J. Nick Koston 8f8e450d29 Merge branch 'sprinkler_schedule_heap_churn_fix' into integration 2026-01-15 11:08:59 -10:00
J. Nick Koston eff91f85dd [sprinkler] Fix scheduler deprecation warnings and heap churn with FixedVector 2026-01-15 11:05:11 -10:00
J. Nick Koston 1542a01b77 [dallas_temp] Use const char* for set_timeout to fix deprecation warning and heap churn 2026-01-15 10:55:05 -10:00
J. Nick Koston 19fb23823b [analyze_memory] Add nRF52/Zephyr platform support for memory analysis 2026-01-15 10:47:50 -10:00
J. Nick Koston 4e28b0179b Merge remote-tracking branch 'origin/integration' into integration 2026-01-15 10:05:38 -10:00
J. Nick Koston 3da1fd6b5d Merge remote-tracking branch 'upstream/dev' into integration 2026-01-15 10:05:25 -10:00
J. Nick Koston b4dfcc8378 Merge branch 'back_to_gzip' into integration 2026-01-15 09:42:45 -10:00
J. Nick Koston 18054c358e [web_server][captive_portal] Change default compression from Brotli to gzip 2026-01-15 09:36:44 -10:00
J. Nick Koston 302526f148 [web_server][captive_portal] Change default compression from Brotli to gzip 2026-01-15 09:36:32 -10:00
J. Nick Koston ca0bbe8a17 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-15 09:09:22 -10:00
J. Nick Koston a7a4746537 Merge branch 'fix_state_sub_check' into integration 2026-01-14 23:26:52 -10:00
J. Nick Koston 682a47aa3c [api] Fix state updates being sent to clients that did not subscribe 2026-01-14 23:22:47 -10:00
J. Nick Koston 1bb5ad26e1 Merge branch 'normalize_state_send' into integration 2026-01-14 22:47:45 -10:00
J. Nick Koston f40e4825c7 preen 2026-01-14 22:39:04 -10:00
J. Nick Koston 09f35147e7 Merge branch 'normalize_state_send' into integration 2026-01-14 22:34:02 -10:00
J. Nick Koston 142fb85ff0 more 2026-01-14 22:32:12 -10:00
J. Nick Koston 4cf0e2ef0d more 2026-01-14 22:30:16 -10:00
J. Nick Koston a8e3aa89ff Merge branch 'normalize_state_send' into integration 2026-01-14 22:28:46 -10:00
J. Nick Koston b28fda6899 [core] Optimize and normalize entity state publishing logs with >> format 2026-01-14 22:24:57 -10:00
J. Nick Koston 283a654beb Merge remote-tracking branch 'upstream/dev' into integration 2026-01-14 19:58:33 -10:00
J. Nick Koston aa28bf29ce Merge branch 'sha256_align_buffer' into integration 2026-01-14 19:41:06 -10:00
J. Nick Koston b1fd69a2f5 limit scope 2026-01-14 19:40:57 -10:00
J. Nick Koston 9296fc8d4a limit scope 2026-01-14 19:40:21 -10:00
J. Nick Koston 46d4c4bf3d limit scope 2026-01-14 19:36:51 -10:00
J. Nick Koston 580a3d5594 Merge branch 'button_is_stateless' into integration 2026-01-14 19:33:39 -10:00
J. Nick Koston a1b1fdaad7 [web_server] Remove unused button_state_json_generator 2026-01-14 19:33:19 -10:00
J. Nick Koston ec3b419692 Merge branch 'sha256_align_buffer' into integration 2026-01-14 19:17:10 -10:00
J. Nick Koston 6625e52842 [core] Fix ESP32-S2/S3 hardware SHA crash by aligning HashBase digest buffer 2026-01-14 19:11:10 -10:00
J. Nick Koston 0acbe48965 Merge branch 'str_sanitize_to' into integration 2026-01-14 17:50:16 -10:00
J. Nick Koston bbd8d90cbe .c_str() 2026-01-14 17:46:05 -10:00
J. Nick Koston 3b90a8f210 .c_str() 2026-01-14 17:46:04 -10:00
J. Nick Koston 76082b3eb9 [core][mqtt] Add str_sanitize_to(), soft-deprecate str_sanitize() 2026-01-14 17:43:03 -10:00
J. Nick Koston 114e7d34cc Merge branch 'dep_format_bin' into integration 2026-01-14 17:37:18 -10:00
J. Nick Koston 6e3241fe79 bot comments 2026-01-14 17:36:41 -10:00
J. Nick Koston c6ff6d268b safer 2026-01-14 17:35:36 -10:00
J. Nick Koston d760a5dad3 [core][opentherm] Add format_bin_to(), soft-deprecate format_bin() 2026-01-14 17:28:00 -10:00
J. Nick Koston 9e8c679c7f Merge branch 'libretiny_heap_debug' into integration 2026-01-14 17:15:41 -10:00
J. Nick Koston 767e1f88df appyl bot suggeations 2026-01-14 17:13:03 -10:00
J. Nick Koston 8560be69f2 Merge branch 'libretiny_heap_debug' into integration 2026-01-14 17:02:21 -10:00
J. Nick Koston 973576130b [debug] Add min_free heap sensor for ESP32 and LibreTiny, add fragmentation for ESP32 2026-01-14 16:57:44 -10:00
pre-commit-ci-lite[bot] 21507c570d [pre-commit.ci lite] apply automatic fixes 2026-01-15 02:29:46 +00:00
J. Nick Koston 6986bb4ef9 Merge branch 'modbus_string' into integration 2026-01-14 16:29:32 -10:00
J. Nick Koston 5b6be2c8d9 Update esphome/components/modbus_controller/text_sensor/modbus_textsensor.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-14 16:28:26 -10:00
J. Nick Koston 66e80fe13b Update esphome/components/modbus_controller/modbus_controller.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-14 16:28:16 -10:00
J. Nick Koston f4ebdf94f1 Merge branch 'sockaddr_heap_fix' into integration 2026-01-14 16:20:47 -10:00
J. Nick Koston dbb6e437cc Merge branch 'cse7766_stack_debug' into integration 2026-01-14 16:20:43 -10:00
J. Nick Koston 325a812202 tidy 2026-01-14 16:20:29 -10:00
J. Nick Koston e7f3606ef6 [socket] Eliminate heap allocations in set_sockaddr() 2026-01-14 16:18:49 -10:00
J. Nick Koston 141f9cf7e7 Merge branch 'cse7766_stack_debug' into integration 2026-01-14 16:06:19 -10:00
J. Nick Koston d49c06df35 Increase buffer to 128 bytes and improve docstrings 2026-01-14 16:04:22 -10:00
J. Nick Koston 0b676c0daa review 2026-01-14 16:02:42 -10:00
J. Nick Koston d4bbad9ea2 Merge remote-tracking branch 'upstream/dev' into cse7766_stack_debug 2026-01-14 15:58:14 -10:00
J. Nick Koston 4befd86a96 review 2026-01-14 15:56:32 -10:00
J. Nick Koston 35a26b5b3d Merge branch 'str_sprintf' into integration 2026-01-14 15:48:29 -10:00
J. Nick Koston 06c619b2e0 [ci] Soft-deprecate str_sprintf/str_snprintf to prevent hidden heap allocations 2026-01-14 15:48:22 -10:00
J. Nick Koston 71c922bb60 [ci] Soft-deprecate str_sprintf/str_snprintf to prevent hidden heap allocations 2026-01-14 15:46:09 -10:00
J. Nick Koston 7bf6f48b75 Merge branch 'esp32_hosted_str_sprintf' into integration 2026-01-14 15:39:51 -10:00
J. Nick Koston abba6e6db5 [esp32_hosted] Use stack buffer instead of str_sprintf for version string 2026-01-14 15:39:21 -10:00
J. Nick Koston 4473d35a0f Merge branch 'tormatic' into integration 2026-01-14 15:37:03 -10:00
J. Nick Koston 9cbee92589 [tormatic] Use stack buffers instead of str_sprintf in debug methods 2026-01-14 15:36:35 -10:00
J. Nick Koston bc15349c59 Merge branch 'gdk101_heap_fix' into integration 2026-01-14 15:32:22 -10:00
J. Nick Koston 62eba4fa30 [gdk101] Use stack buffer to eliminate heap allocation for firmware version 2026-01-14 15:31:48 -10:00
J. Nick Koston b2ddba7013 Merge branch 'statsd_stack' into integration 2026-01-14 15:29:13 -10:00
J. Nick Koston 0ea5d7abff [statsd] Use direct appends and stack buffer instead of str_sprintf 2026-01-14 15:27:04 -10:00
J. Nick Koston 15ae96b7fe Merge branch 'sml_sprintf' into integration 2026-01-14 15:21:02 -10:00
J. Nick Koston fc4f1ab094 [sml] Use stack buffers instead of str_sprintf 2026-01-14 15:20:33 -10:00
J. Nick Koston bebb8f1ebd Merge branch 'modbus_string' into integration 2026-01-14 15:16:51 -10:00
J. Nick Koston a50654ef4d [modbus_controller] Use stack buffers instead of str_sprintf/str_snprintf 2026-01-14 15:13:54 -10:00
J. Nick Koston 6d63f764e9 Merge branch 'lvgl_str_sprintf' into integration 2026-01-14 15:09:46 -10:00
J. Nick Koston 167eb24a63 [lvgl] Use stack buffer for event code formatting, document justified str_sprintf usage 2026-01-14 15:08:51 -10:00
J. Nick Koston 994ebac243 Merge branch 'dfrobot_sen0395' into integration 2026-01-14 14:54:17 -10:00
J. Nick Koston bee4940947 Merge branch 'ezo_stack_format' into integration 2026-01-14 14:54:10 -10:00
J. Nick Koston f5495e9d93 fix 2026-01-14 14:52:57 -10:00
J. Nick Koston ce8e5b1a6b [dfrobot_sen0395] Reduce heap allocations in command building 2026-01-14 14:51:10 -10:00
J. Nick Koston 147d2aa384 Update esphome/components/ezo/ezo.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-14 14:50:54 -10:00
J. Nick Koston 6c02ca7900 Update esphome/components/ezo/ezo.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-14 14:50:42 -10:00
J. Nick Koston fc18617e6a Merge branch 'ezo_stack_format' into integration 2026-01-14 14:46:22 -10:00
J. Nick Koston 63bff589c3 Merge branch 'cse7766_stack_debug' into integration 2026-01-14 14:46:16 -10:00
J. Nick Koston e13743a9c3 tidy 2026-01-14 14:45:55 -10:00
J. Nick Koston 0515225437 [ezo] Replace str_sprintf with stack-based formatting 2026-01-14 14:44:29 -10:00
J. Nick Koston 3248722b9c Merge branch 'cse7766_stack_debug' into integration 2026-01-14 14:31:45 -10:00
J. Nick Koston d3d96afbba tweak 2026-01-14 14:30:07 -10:00
J. Nick Koston f5317a58be Merge branch 'cse7766_stack_debug' into integration 2026-01-14 14:05:53 -10:00
J. Nick Koston 6e77182523 [cse7766] Use stack buffer for verbose debug logging 2026-01-14 14:04:28 -10:00
pre-commit-ci-lite[bot] 944194e04e [pre-commit.ci lite] apply automatic fixes 2026-01-15 00:02:35 +00:00
J. Nick Koston d27d6d64da Update esphome/components/mqtt/mqtt_component.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-14 14:00:57 -10:00
J. Nick Koston 85beae1292 Merge branch 'mqtt_formatting' into integration 2026-01-14 14:00:24 -10:00
J. Nick Koston ea18159f3a Merge branch 'zephyr_prefs' into integration 2026-01-14 14:00:20 -10:00
J. Nick Koston 77fa1f1261 tweak comment 2026-01-14 13:59:36 -10:00
J. Nick Koston 2182d1e9f0 [mqtt] Use stack buffers for discovery message formatting 2026-01-14 13:57:45 -10:00
J. Nick Koston 79d3dbd374 Merge branch 'zephyr_prefs' into integration 2026-01-14 13:51:55 -10:00
J. Nick Koston 6b5fea9be9 [zephyr] Avoid heap allocation in preferences key formatting 2026-01-14 13:51:29 -10:00
J. Nick Koston c663626000 Merge branch 'resize_to_erase_end' into integration 2026-01-14 13:38:48 -10:00
J. Nick Koston d3c2ecdf68 erase is faster 2026-01-14 13:32:21 -10:00
J. Nick Koston 2cf58c2ef9 Merge branch 'libretiny_mapping' into integration 2026-01-14 13:21:27 -10:00
J. Nick Koston 20e28724a2 [analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms 2026-01-14 13:20:12 -10:00
J. Nick Koston 4ecdc80164 [analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms 2026-01-14 13:19:55 -10:00
J. Nick Koston 0b9a8d3302 Merge branch 'fix_filter' into integration 2026-01-14 12:47:52 -10:00
J. Nick Koston 12f7519f7f Merge remote-tracking branch 'upstream/dev' into integration 2026-01-14 12:46:10 -10:00
J. Nick Koston e351c65c93 [core] Fix platform subcomponents not filtering source files 2026-01-14 07:30:56 -10:00
J. Nick Koston ea4e714f62 [core] Fix platform subcomponents not filtering source files 2026-01-14 07:24:54 -10:00
J. Nick Koston b58b2045f0 Merge remote-tracking branch 'origin/web_server_match_flash' into integration 2026-01-14 01:21:13 -10:00
J. Nick Koston ee08953e5c [web_server] Store method/domain comparison strings in flash on ESP8266 2026-01-14 01:17:22 -10:00
J. Nick Koston 49cae5eda8 Merge branch 'scheduler_no_heap' into integration 2026-01-13 22:39:53 -10:00
J. Nick Koston 5541a7f043 one more place to log 2026-01-13 22:36:37 -10:00
J. Nick Koston 1210512286 fix double dep warning 2026-01-13 22:33:32 -10:00
J. Nick Koston c73a412537 tweaks 2026-01-13 22:30:17 -10:00
J. Nick Koston 4e2c635d14 no ram increase 2026-01-13 22:21:29 -10:00
J. Nick Koston edde7194c9 no ram increase 2026-01-13 22:19:40 -10:00
J. Nick Koston bf6d75fd5e fix 2026-01-13 22:08:57 -10:00
J. Nick Koston 38c5421d54 name log 2026-01-13 21:56:06 -10:00
J. Nick Koston 25b7d1ea15 minimize diff 2026-01-13 21:50:03 -10:00
J. Nick Koston 4520f7f646 minimize diff 2026-01-13 21:47:27 -10:00
J. Nick Koston ba36934f91 minimize diff 2026-01-13 21:46:19 -10:00
J. Nick Koston 16d7342772 cleanup 2026-01-13 21:37:24 -10:00
J. Nick Koston c8fcc258c3 cleanup 2026-01-13 21:32:24 -10:00
J. Nick Koston 42f98ebc80 [scheduler] Eliminate heap allocations for std::string names and add uint32_t ID API 2026-01-13 20:16:59 -10:00
J. Nick Koston 0a25eae420 Merge branch 'reduce_batch_size' into integration 2026-01-13 17:17:25 -10:00
J. Nick Koston 52088009e4 bot comment 2026-01-13 17:16:41 -10:00
J. Nick Koston 44f9e8507a safety 2026-01-13 17:12:03 -10:00
J. Nick Koston 02b2d4f1a2 fix events 2026-01-13 17:05:45 -10:00
J. Nick Koston 23e6a9a27a narrow 2026-01-13 17:04:50 -10:00
J. Nick Koston f027b32c18 fix events 2026-01-13 17:00:43 -10:00
J. Nick Koston 54665edd18 use push_back, generates much simpler code for pod types 2026-01-13 16:57:34 -10:00
J. Nick Koston 5580d11a2e tweak 2026-01-13 16:53:41 -10:00
J. Nick Koston a3061a7488 [api] Reduce BatchItem size from 12 to 8 bytes using switch dispatch 2026-01-13 16:47:55 -10:00
J. Nick Koston 2efc51b28c Merge remote-tracking branch 'upstream/dev' into integration 2026-01-13 15:46:38 -10:00
J. Nick Koston 316b41710c Merge remote-tracking branch 'origin/request_log_listener' into integration 2026-01-13 14:28:14 -10:00
J. Nick Koston 32fe66c2ae Merge branch 'wifi_listeners_static_vector' into integration 2026-01-13 14:28:04 -10:00
J. Nick Koston ad64a1b7b4 document, document, documet 2026-01-13 14:21:35 -10:00
J. Nick Koston 9567046e9c [wifi] Use StaticVector for WiFi listeners with per-type compile-time sizing 2026-01-13 14:20:04 -10:00
J. Nick Koston e01e616aad address bot comments 2026-01-13 14:18:58 -10:00
J. Nick Koston 52574e2fd4 Update esphome/components/logger/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 14:12:48 -10:00
J. Nick Koston 3f3d2b3df2 Merge branch 'request_log_listener' into integration 2026-01-13 14:00:40 -10:00
J. Nick Koston 1d2fa12911 [logger] Use StaticVector for log listeners with compile-time sizing 2026-01-13 13:59:37 -10:00
J. Nick Koston bc035e06fd Merge branch 'logger_raii' into integration 2026-01-13 13:40:25 -10:00
J. Nick Koston 6ed7412634 Update esphome/components/logger/logger.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 13:36:18 -10:00
J. Nick Koston fdb7b800df Update esphome/components/logger/logger.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 13:36:12 -10:00
J. Nick Koston c2c616a2ec Merge branch 'logger_raii' into integration 2026-01-13 13:34:48 -10:00
J. Nick Koston 421646030b Merge branch 'dev' into logger_raii 2026-01-13 13:29:24 -10:00
J. Nick Koston f852fb4300 tweak 2026-01-13 12:14:49 -10:00
J. Nick Koston 92f15e82d7 [logger] Use RAII guards for recursion protection and optimize hot path 2026-01-13 12:11:38 -10:00
J. Nick Koston 52c34441b1 Merge branch 'libretiny_regen_fixes' into integration 2026-01-13 09:50:52 -10:00
J. Nick Koston ae2575b33f fix 2026-01-13 09:34:43 -10:00
J. Nick Koston 3d51413706 lets not miss it 2026-01-13 09:33:46 -10:00
J. Nick Koston 6fd6b46ef8 [libretiny] Regenerate boards, enable Cortex-M4 atomics, and consolidate platform code 2026-01-13 09:31:05 -10:00
J. Nick Koston ec38ffc310 [libretiny] Regenerate boards, enable Cortex-M4 atomics, and consolidate platform code 2026-01-13 09:09:49 -10:00
J. Nick Koston a45cbc6595 [libretiny] Regenerate boards, enable Cortex-M4 atomics, and consolidate platform code 2026-01-13 09:07:04 -10:00
J. Nick Koston 62bce73b7e Merge branch 'fix_callback_order_wifi_8266' into integration 2026-01-13 08:39:42 -10:00
J. Nick Koston 39f77a3315 [wifi] Fix ESP8266 disconnect callback order to set error flag before notifying listeners 2026-01-13 08:14:46 -10:00
J. Nick Koston 714188cfd8 [wifi] Fix ESP8266 disconnect callback order to set error flag before notifying listeners 2026-01-13 08:13:37 -10:00
J. Nick Koston d49f176f31 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-12 22:33:50 -10:00
J. Nick Koston d378b40235 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-12 21:54:44 -10:00
J. Nick Koston eb4d6ce29f Merge remote-tracking branch 'upstream/dev' into integration 2026-01-12 20:56:10 -10:00
J. Nick Koston a95f2fb002 Merge remote-tracking branch 'origin/ota_fix_abort' into integration 2026-01-12 20:18:30 -10:00
J. Nick Koston 1a30851b0a [esphome] Fix OTA backend abort not being called on error 2026-01-12 20:17:38 -10:00
J. Nick Koston a74cba61df Merge branch 'lwip_read_write' into integration 2026-01-12 20:04:18 -10:00
J. Nick Koston 47f32d60b5 [socket] Call lwip_read/lwip_write directly on ESP32 to reduce network I/O latency 2026-01-12 20:03:45 -10:00
J. Nick Koston e5e977c054 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-12 17:41:28 -10:00
J. Nick Koston 5046ca164a fix packed buffer 2026-01-12 17:23:09 -10:00
J. Nick Koston 3a7cf3ac95 Merge branch 'improv_serial_webserver' into integration 2026-01-12 17:17:09 -10:00
J. Nick Koston 6e82606419 cleanup 2026-01-12 17:10:21 -10:00
J. Nick Koston 26ed3d24c1 Merge branch 'api_debug_logging' into integration 2026-01-12 17:07:10 -10:00
J. Nick Koston b24a1a9e25 cleanup 2026-01-12 17:06:49 -10:00
J. Nick Koston 5e911e20bc tweaks 2026-01-12 17:00:26 -10:00
J. Nick Koston 3206c5664f Merge branch 'api_debug_logging' into integration 2026-01-12 16:55:03 -10:00
J. Nick Koston b5f6a6e24d [api] Use stack buffer for VERY_VERBOSE proto message dumps 2026-01-12 16:51:52 -10:00
J. Nick Koston e1a0398160 [improv_serial] Use stack buffers for webserver URL formatting 2026-01-12 16:27:38 -10:00
J. Nick Koston 9876788e65 Merge branch 'more_heap_cleanup' into integration 2026-01-12 15:52:46 -10:00
J. Nick Koston 4a03ff898f Merge remote-tracking branch 'upstream/dev' into integration 2026-01-12 15:52:36 -10:00
J. Nick Koston 410507d476 [mqtt] Avoid intermediate string allocations in publish calls 2026-01-12 15:46:16 -10:00
J. Nick Koston 62565304e4 Merge branch 'nfc_hex' into integration 2026-01-12 00:33:54 -10:00
J. Nick Koston 51dfb3af5e [nfc] Use stack-based hex formatting in pn7150/pn7160 components 2026-01-12 00:23:09 -10:00
J. Nick Koston 40b278f485 [nfc] Use stack-based hex formatting in pn7150/pn7160 components 2026-01-12 00:21:40 -10:00
J. Nick Koston ed34a98f48 Merge branch 'api_format_hex_pretty_to' into integration 2026-01-12 00:04:50 -10:00
J. Nick Koston d7e7e7849f [api] Use stack buffer for bytes field dumping in proto message logs 2026-01-11 19:59:05 -10:00
J. Nick Koston f22e42addc Merge branch 'dep_heap_fragmenting_helpers' into integration 2026-01-11 18:28:51 -10:00
J. Nick Koston f70cb78d52 fix 2026-01-11 18:28:37 -10:00
J. Nick Koston 25e9e84ca5 Merge branch 'dep_heap_fragmenting_helpers' into integration 2026-01-11 18:27:29 -10:00
J. Nick Koston d807f93c66 cleanup 2026-01-11 18:27:05 -10:00
J. Nick Koston 7a33793304 Merge branch 'format_hex_to_more' into integration 2026-01-11 18:24:55 -10:00
J. Nick Koston f4437c9eaa Merge branch 'value_accuracy_to_string_to' into integration 2026-01-11 18:24:50 -10:00
J. Nick Koston d52ea47552 [mqtt][prometheus][graph] Migrate value_accuracy_to_string() to stack-based alternative 2026-01-11 17:54:48 -10:00
J. Nick Koston 6e6d545963 [tuya][rc522][remote_base] Migrate format_hex_pretty() to stack-based alternatives 2026-01-11 17:44:43 -10:00
J. Nick Koston a29ad99661 Merge branch 'mac_address_stack' into integration 2026-01-11 17:35:18 -10:00
J. Nick Koston c8fabf214e Merge branch 'dep_heap_fragmenting_helpers' into integration 2026-01-11 17:35:09 -10:00
J. Nick Koston 291db7c5a9 [core] Migrate callers and deprecate get_mac_address()/get_mac_address_pretty() 2026-01-11 17:34:03 -10:00
J. Nick Koston cea8c9b212 [core] Deprecate heap-allocating string helpers to prevent fragmentation patterns 2026-01-11 17:26:42 -10:00
J. Nick Koston 69dd056516 Merge branch 'complete_removal_no_zero_copy' into integration 2026-01-11 16:12:57 -10:00
J. Nick Koston 024097b635 cleanup 2026-01-11 16:05:33 -10:00
J. Nick Koston 0d30c2cdfd drop no zero copy 2026-01-11 16:03:26 -10:00
J. Nick Koston 2c0954c03c [api] Use StringRef for HomeassistantServiceMap.value to eliminate heap allocations 2026-01-11 16:00:44 -10:00
J. Nick Koston f6eebe9b27 Merge branch 'web_server_1' into integration 2026-01-11 15:40:15 -10:00
J. Nick Koston 78edba8db5 [web_server] Fix v1 compilation on ESP-IDF by adding missing write method 2026-01-11 15:39:09 -10:00
J. Nick Koston 1cf3a2bc47 [web_server] Fix v1 compilation on ESP-IDF by adding missing write method 2026-01-11 15:37:22 -10:00
J. Nick Koston 3bd5dc7a8e Merge branch 'status_set_warning_str_print' into integration 2026-01-11 15:10:12 -10:00
J. Nick Koston 3e2f12d5d6 [ch422g][lc709203f][qmc5883l] Avoid heap allocation in status_set_warning calls 2026-01-11 15:09:30 -10:00
J. Nick Koston ce79556cbd Merge remote-tracking branch 'origin/uptime_sensor_text' into integration 2026-01-11 14:52:53 -10:00
J. Nick Koston a36b3fc81b Merge remote-tracking branch 'origin/improv_serial_format' into integration 2026-01-11 14:52:48 -10:00
J. Nick Koston cdd09bdb94 preen 2026-01-11 14:46:14 -10:00
J. Nick Koston c19e129821 another pass at reducing the logic 2026-01-11 14:40:50 -10:00
J. Nick Koston f14d1edcc9 [uptime] Format text sensor output on stack to avoid heap allocations 2026-01-11 14:33:31 -10:00
J. Nick Koston cda750e6b7 [improv_serial] Use int8_to_str to avoid heap allocation for RSSI formatting 2026-01-11 14:04:48 -10:00
J. Nick Koston 7666644ad8 Merge branch 'web_server_idf_cleanup_strings' into integration 2026-01-11 09:01:16 -10:00
J. Nick Koston d7dd6a5cb8 static, less heap 2026-01-11 09:00:20 -10:00
J. Nick Koston 1fa86a7505 tweak comment 2026-01-11 08:46:02 -10:00
J. Nick Koston c6bb62cc36 tweak comment 2026-01-11 08:45:54 -10:00
J. Nick Koston 0e6a798b2f Merge branch 'web_server_idf_cleanup_strings' into integration 2026-01-11 08:42:02 -10:00
J. Nick Koston cd37e3c1f6 [web_server_idf] Reduce string allocations in HTTP header storage and auth 2026-01-11 08:39:11 -10:00
J. Nick Koston 5ca7b885e8 Merge branch 'light_color_values' into integration 2026-01-11 01:18:54 -10:00
J. Nick Koston bc91fbec83 [light] Move LightColorValues::lerp() out of header to reduce code duplication 2026-01-11 01:03:08 -10:00
J. Nick Koston 31c63ef2b4 Merge branch 'safe_mode_ifdef' into integration 2026-01-10 21:06:01 -10:00
J. Nick Koston ce336b7745 [safe_mode] Conditionally compile callback when on_safe_mode is configured 2026-01-10 20:35:11 -10:00
J. Nick Koston a30d12fb89 [safe_mode] Conditionally compile callback when on_safe_mode is configured 2026-01-10 20:34:05 -10:00
J. Nick Koston b480b8f572 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-10 17:09:03 -10:00
J. Nick Koston a295a552f9 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-10 13:06:24 -10:00
J. Nick Koston dff01ab8f3 Merge branch 'sensor_ns' into integration 2026-01-09 23:14:36 -10:00
J. Nick Koston 3392216b0b [sensor] Use C++17 nested namespace syntax 2026-01-09 23:12:27 -10:00
J. Nick Koston 523e27e103 Merge branch 'fan_get_preset_mode_safer' into integration 2026-01-09 22:01:43 -10:00
J. Nick Koston 4289ba23f2 Merge branch 'light_std_string' into integration 2026-01-09 22:01:32 -10:00
J. Nick Koston 90e6ff2922 Merge branch 'select_current_option' into integration 2026-01-09 22:01:17 -10:00
J. Nick Koston c20d20bf73 Merge branch 'climate_string_view' into integration 2026-01-09 22:01:10 -10:00
J. Nick Koston 6a280f8e2b Merge branch 'event_string_view' into integration 2026-01-09 22:01:04 -10:00
J. Nick Koston 3fd31581d6 cleanup 2026-01-09 21:59:19 -10:00
J. Nick Koston 3178ae32dd missed some 2026-01-09 21:56:14 -10:00
J. Nick Koston 3b5b9445fe Merge remote-tracking branch 'origin/integration' into integration 2026-01-09 17:05:11 -10:00
J. Nick Koston db7bba744d Merge remote-tracking branch 'upstream/dev' into integration 2026-01-09 17:05:03 -10:00
J. Nick Koston 54668648df fix 2026-01-09 16:56:02 -10:00
J. Nick Koston 54d3ea4098 fix: use simple .c_str() for ESP8266 compatibility 2026-01-09 16:54:21 -10:00
J. Nick Koston 08bd49c038 fix 2026-01-09 16:50:42 -10:00
J. Nick Koston a3a4c12f3e try 2026-01-09 16:47:40 -10:00
J. Nick Koston 2eb98c19f7 strinferf 2026-01-09 16:43:28 -10:00
J. Nick Koston fef7b6093d Merge branch 'dev' into event_string_view 2026-01-09 16:40:12 -10:00
J. Nick Koston 74f2619097 Merge branch 'dev' into select_current_option 2026-01-09 16:39:43 -10:00
J. Nick Koston 1593b6f10d Merge branch 'dev' into climate_string_view 2026-01-09 16:39:08 -10:00
J. Nick Koston 0aab72a462 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-09 16:38:32 -10:00
J. Nick Koston 2034e7d39c Merge remote-tracking branch 'origin/climate_string_view' into climate_string_view 2026-01-09 16:36:59 -10:00
J. Nick Koston f01aeded4d tests update 2026-01-09 16:36:17 -10:00
J. Nick Koston cacbb017c0 fix 2026-01-09 16:35:04 -10:00
J. Nick Koston 682b2104f2 tweak comments 2026-01-09 16:31:01 -10:00
J. Nick Koston 7bc970809a tweak comments 2026-01-09 16:29:38 -10:00
J. Nick Koston 3dbca6692e stringref 2026-01-09 16:28:21 -10:00
J. Nick Koston 48906aaa51 Merge remote-tracking branch 'origin/dev' into integration 2026-01-09 16:21:50 -10:00
J. Nick Koston 7a64d834d1 Merge remote-tracking branch 'origin/light_std_string' into light_std_string 2026-01-09 16:19:56 -10:00
J. Nick Koston dc49f4c180 fix 2026-01-09 16:19:43 -10:00
J. Nick Koston 15734c63a1 back to print 2026-01-09 16:18:35 -10:00
J. Nick Koston 33d2140f1c stringref 2026-01-09 16:13:17 -10:00
J. Nick Koston 606ce9cfd2 stringref 2026-01-09 16:12:12 -10:00
J. Nick Koston aa760446af Merge branch 'dev' into select_current_option 2026-01-09 16:07:32 -10:00
J. Nick Koston 60a06a5aac Merge branch 'dev' into light_std_string 2026-01-09 16:01:07 -10:00
J. Nick Koston c8f86f0a94 stringref 2026-01-09 15:57:20 -10:00
J. Nick Koston ca31c975be stringref 2026-01-09 15:57:06 -10:00
J. Nick Koston ec03a0155b stringref 2026-01-09 15:52:11 -10:00
J. Nick Koston 5f6cfb4feb Merge remote-tracking branch 'origin/fan_get_preset_mode_safer' into fan_get_preset_mode_safer 2026-01-09 15:40:31 -10:00
J. Nick Koston 1fdacd9d22 use stringref 2026-01-09 15:40:18 -10:00
J. Nick Koston ab3ab6f521 Merge remote-tracking branch 'upstream/dev' into fan_get_preset_mode_safer 2026-01-09 15:36:04 -10:00
J. Nick Koston 9ef492e95a Merge branch 'dev' into fan_get_preset_mode_safer 2026-01-09 15:35:19 -10:00
J. Nick Koston a5b906516d Merge branch 'dev' into light_std_string 2026-01-09 14:03:26 -10:00
J. Nick Koston 2e6b22aa62 Merge remote-tracking branch 'origin/light_std_string' into light_std_string 2026-01-09 14:02:57 -10:00
J. Nick Koston 66d978ade1 comment 2026-01-09 14:02:37 -10:00
J. Nick Koston 9bcdcedd94 Merge branch 'dev' into light_std_string 2026-01-09 09:48:20 -10:00
J. Nick Koston ed07c7c7ee cleanups 2026-01-09 09:47:43 -10:00
J. Nick Koston 999d2d7f7e [light] Return std::string_view from LightEffect::get_name() and LightState::get_effect_name() 2026-01-09 09:11:58 -10:00
J. Nick Koston a693e631bb [light] Return std::string_view from LightEffect::get_name() and LightState::get_effect_name() 2026-01-09 08:38:08 -10:00
J. Nick Koston 775c6a077d [light] Return std::string_view from LightEffect::get_name() and LightState::get_effect_name() 2026-01-09 08:35:37 -10:00
J. Nick Koston 8a3e26e6e9 [event] Return std::string_view from get_last_event_type() 2026-01-09 08:07:57 -10:00
J. Nick Koston 56ced4a403 [climate] Return std::string_view from get_custom_fan_mode() and get_custom_preset() 2026-01-09 07:47:42 -10:00
J. Nick Koston 265bc55c28 [climate] Return std::string_view from get_custom_fan_mode() and get_custom_preset() 2026-01-09 07:43:52 -10:00
J. Nick Koston 6dcbc24864 [climate] Return std::string_view from get_custom_fan_mode() and get_custom_preset() 2026-01-09 07:43:01 -10:00
J. Nick Koston 26671cb1ee [select] Return std::string_view from current_option() 2026-01-08 23:05:30 -10:00
J. Nick Koston 6596186240 actually commit thte tests 2026-01-08 23:00:34 -10:00
J. Nick Koston e8465bfcda [select] Return std::string_view from current_option() 2026-01-08 22:58:49 -10:00
J. Nick Koston b9b3adae0d Merge branch 'dev' into fan_get_preset_mode_safer 2026-01-08 22:26:49 -10:00
J. Nick Koston 872b2ec7db address copilot review comments 2026-01-08 22:25:16 -10:00
J. Nick Koston a3553dab1c address copilot review comments 2026-01-08 22:24:38 -10:00
J. Nick Koston cd76747b25 tests 2026-01-08 22:19:52 -10:00
J. Nick Koston 0ebe99ccf5 tests 2026-01-08 22:00:04 -10:00
J. Nick Koston 04eba0563a tests 2026-01-08 21:58:20 -10:00
J. Nick Koston 1e30f54dff cleanup 2026-01-08 21:49:59 -10:00
J. Nick Koston 6c502d879b cleanup 2026-01-08 21:49:15 -10:00
J. Nick Koston 04ffa74643 if we are going ot break it, string view 2026-01-08 21:44:40 -10:00
J. Nick Koston ff0b1a24c7 [fan] Make get_preset_mode() return empty string instead of nullptr for safety 2026-01-08 21:35:18 -10:00
J. Nick Koston b24dbf77e4 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-08 21:01:17 -10:00
J. Nick Koston 7f5887581d Merge branch 'ap_misconfigured_warn' into integration 2026-01-08 14:55:32 -10:00
J. Nick Koston 12be08f85e [wifi] Warn when AP is configured without captive_portal or web_server 2026-01-08 14:54:41 -10:00
J. Nick Koston 8c6a3f8d62 Merge branch 'blind_retry' into integration 2026-01-08 14:27:48 -10:00
J. Nick Koston 23eec55ed3 [wifi] Fix captive portal/improv only attempting last configured network 2026-01-08 14:26:24 -10:00
J. Nick Koston cb383c8049 [wifi] Fix captive portal/improv only attempting last configured network 2026-01-08 14:23:44 -10:00
J. Nick Koston ca45c0de66 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-08 12:16:22 -10:00
J. Nick Koston 7ff590e1da Merge branch 'disable_loop_when_buffer_empty_' into integration 2026-01-07 23:35:13 -10:00
J. Nick Koston d402b0c391 [logger] Enable loop disable optimization for LibreTiny task log buffer 2026-01-07 23:34:39 -10:00
J. Nick Koston ebd484495e Merge branch 'bump_libretiny_192' into integration 2026-01-07 23:07:52 -10:00
J. Nick Koston 36e748609e [libretiny] Bump to 1.9.2 2026-01-07 23:01:00 -10:00
J. Nick Koston 57152edf23 Merge branch 'wifi_ard_esp32' into integration 2026-01-07 22:50:06 -10:00
J. Nick Koston 1c3f421746 [wifi] Disable SoftAP support on Arduino ESP32 when ap: not configured 2026-01-07 22:42:49 -10:00
J. Nick Koston 182063d5c6 Merge remote-tracking branch 'origin/reuse_constexpr_web_server' into integration 2026-01-07 22:06:54 -10:00
J. Nick Koston f8f6ad942b Merge branch 'min_chip_psram' into integration 2026-01-07 22:06:40 -10:00
J. Nick Koston fd1ad89a33 [core] Improve minimum_chip_revision warning for PSRAM users 2026-01-07 22:05:40 -10:00
J. Nick Koston 735aca89ee [web_server] Use centralized length constants for buffer sizing 2026-01-07 20:03:18 -10:00
J. Nick Koston aa3bed7089 [web_server] Use centralized length constants for buffer sizing 2026-01-07 20:01:54 -10:00
J. Nick Koston 40cd6aa18b [web_server] Use centralized length constants for buffer sizing 2026-01-07 20:01:23 -10:00
J. Nick Koston b8da3b3265 [web_server] Use centralized length constants for buffer sizing 2026-01-07 20:00:40 -10:00
J. Nick Koston 9a3d1f5acc [web_server] Use centralized length constants for buffer sizing 2026-01-07 19:59:45 -10:00
J. Nick Koston ec5290ef80 [web_server] Use centralized length constants for buffer sizing 2026-01-07 19:58:30 -10:00
J. Nick Koston 197cf6f445 [web_server] Use centralized length constants for buffer sizing 2026-01-07 19:56:16 -10:00
J. Nick Koston 8b46610281 tweaks 2026-01-07 19:39:11 -10:00
J. Nick Koston 3234f44660 Address Copilot review comments 2026-01-07 19:32:30 -10:00
J. Nick Koston b5b78a674e [mqtt] Reduce heap allocations in topic string building 2026-01-07 18:42:58 -10:00
J. Nick Koston 3a2f2aa6a8 Merge branch 'wifi_roaming_prevent_ping_pong_broken_ap' into integration 2026-01-07 16:37:48 -10:00
J. Nick Koston d46b0c4abb tweak 2026-01-07 16:37:09 -10:00
J. Nick Koston 329e800684 more logging 2026-01-07 16:36:45 -10:00
J. Nick Koston 8aa77f7888 Merge branch 'wifi_roaming_prevent_ping_pong_broken_ap' into integration 2026-01-07 16:30:34 -10:00
J. Nick Koston 79c1680b80 show attempts remaining in logging 2026-01-07 16:30:25 -10:00
J. Nick Koston d2347e1302 Merge branch 'wifi_roaming_prevent_ping_pong_broken_ap' into integration 2026-01-07 16:28:35 -10:00
J. Nick Koston de1c213537 handle scan error 2026-01-07 16:27:27 -10:00
J. Nick Koston 1fb2eaa905 fixes 2026-01-07 16:24:55 -10:00
J. Nick Koston b919cc584c fixes 2026-01-07 16:24:46 -10:00
J. Nick Koston 142b1640b6 Merge branch 'wifi_roaming_prevent_ping_pong_broken_ap' into integration 2026-01-07 16:18:21 -10:00
J. Nick Koston fb4d50150a [wifi] Fix infinite roaming when best-signal AP is crashed/broken 2026-01-07 16:16:47 -10:00
J. Nick Koston d0843d504e [wifi] Fix infinite roaming when best-signal AP is crashed/broken 2026-01-07 16:15:38 -10:00
J. Nick Koston 77077b470a Merge branch 'libretiny_limit_wifi_retries' into integration 2026-01-07 15:40:11 -10:00
J. Nick Koston 22af0b9eec [wifi] Limit ignored disconnect events on LibreTiny to speed up AP failover 2026-01-07 15:38:54 -10:00
J. Nick Koston 761aa2eecf Merge remote-tracking branch 'upstream/dev' into integration 2026-01-07 13:44:27 -10:00
J. Nick Koston cc08d17f85 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-07 11:52:17 -10:00
J. Nick Koston 4ad721f632 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-07 11:51:46 -10:00
J. Nick Koston fb03947d28 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-07 11:39:50 -10:00
J. Nick Koston 30cf47f737 Merge branch 'fnv_extend' into integration 2026-01-06 22:19:21 -10:00
J. Nick Koston d2fb4b1af7 [core] Add integer overloads for fnv1_hash_extend and fnv1a_hash_extend 2026-01-06 22:17:44 -10:00
J. Nick Koston 062bb66943 Merge branch 'es8388' into integration 2026-01-06 21:45:02 -10:00
J. Nick Koston 7a300b04f0 [es8388] Use index-based select publish_state to avoid heap allocations 2026-01-06 21:44:21 -10:00
J. Nick Koston 112cf35960 Merge branch 'ld24xx_select_heap' into integration 2026-01-06 21:36:13 -10:00
J. Nick Koston 899f40a024 fix up 2026-01-06 21:31:08 -10:00
J. Nick Koston b128f1fb76 Merge branch 'ld24xx_select_heap' into integration 2026-01-06 21:22:10 -10:00
J. Nick Koston 255aa14aff [ld2410/ld2412/ld2450] Use index-based select publish_state to avoid heap allocations 2026-01-06 21:20:48 -10:00
J. Nick Koston 7c0562b134 Merge branch 'esp_hosted_dma' into integration 2026-01-06 20:57:52 -10:00
J. Nick Koston cf2beb40af [esp32_hosted] Add SHA256 alignment for hardware DMA compatibility 2026-01-06 20:56:20 -10:00
J. Nick Koston 631089b852 Merge branch 'debug_cleanup' into integration 2026-01-06 20:38:28 -10:00
J. Nick Koston d02830307f missed one 2026-01-06 20:36:57 -10:00
J. Nick Koston cd3b9fa268 Merge branch 'update_esp8266' into integration 2026-01-06 20:20:30 -10:00
J. Nick Koston 99171afd01 Merge branch 'mqtt_json_flash' into integration 2026-01-06 20:20:25 -10:00
J. Nick Koston 8c549d1ef3 [mqtt] Use ESPHOME_F() for JSON strings to reduce ESP8266 RAM usage 2026-01-06 20:19:48 -10:00
J. Nick Koston e4a92989b3 [http_request] Store JSON keys in flash for ESP8266 2026-01-06 20:13:54 -10:00
J. Nick Koston 813099ace6 Merge branch 'debug_cleanup' into integration 2026-01-06 19:48:06 -10:00
J. Nick Koston 18b0f0965f Merge branch 'no_heap_no_change_text' into integration 2026-01-06 19:47:57 -10:00
J. Nick Koston d7f832c1cd Merge branch 'sun_gtil2_heap' into integration 2026-01-06 19:47:52 -10:00
J. Nick Koston f512882a38 Merge branch 'dev' into debug_cleanup 2026-01-06 19:31:49 -10:00
J. Nick Koston 499dbd9e91 [sun_gtil2] Eliminate heap allocations in text sensor publishing 2026-01-06 19:29:00 -10:00
J. Nick Koston 0acd78612f [text_sensor][text] Avoid heap allocation when state unchanged 2026-01-06 18:06:08 -10:00
J. Nick Koston 22dea00d1b Merge remote-tracking branch 'upstream/dev' into integration 2026-01-06 17:57:17 -10:00
J. Nick Koston 906fb3213f Merge branch 'sun_heap_churn' into integration 2026-01-06 17:57:02 -10:00
J. Nick Koston bb1dcca39d lower case - clang-tidy 2026-01-06 17:52:38 -10:00
J. Nick Koston c73d88ce33 enforce buffer size safety at compile time 2026-01-06 16:36:36 -10:00
J. Nick Koston 04057a59c6 tests 2026-01-06 16:35:05 -10:00
J. Nick Koston c9f4a0e010 enforce buffer size safety at compile time 2026-01-06 16:27:12 -10:00
J. Nick Koston 2a89488cb6 enforce buffer size safety at compile time 2026-01-06 16:24:55 -10:00
J. Nick Koston 58375a3f36 Merge branch 'dev' into sun_heap_churn 2026-01-06 16:18:47 -10:00
J. Nick Koston 609cb8f0fe Merge branch 'flash_write_after_ota_broken_libretiny' into integration 2026-01-06 16:12:56 -10:00
J. Nick Koston 46a85203e0 fix 2026-01-06 16:09:26 -10:00
J. Nick Koston bf8caeb0a8 Merge branch 'flash_write_after_ota_broken_libretiny' into integration 2026-01-06 14:53:54 -10:00
J. Nick Koston f54505243c [safe_mode] Fix devices getting stuck in safe mode on LibreTiny 2026-01-06 14:49:06 -10:00
J. Nick Koston 3aa396ceb6 Merge remote-tracking branch 'origin/ram_symbols' into integration 2026-01-06 14:37:01 -10:00
J. Nick Koston b341374a5d Merge branch 'sml_fix_heap_churn' into integration 2026-01-06 14:36:46 -10:00
J. Nick Koston 34819881c6 Merge branch 'ble_client_heap_churn' into integration 2026-01-06 14:36:40 -10:00
J. Nick Koston d9c9d21750 [analyze-memory] Add RAM symbol analysis by component 2026-01-06 14:35:35 -10:00
J. Nick Koston aba4645d81 remove useless 2026-01-06 14:27:07 -10:00
J. Nick Koston 04d498eb41 [sml] Eliminate heap allocations in text sensor 2026-01-06 14:25:33 -10:00
J. Nick Koston b6058e837b Merge branch 'ble_client_heap_churn' into integration 2026-01-06 14:18:02 -10:00
J. Nick Koston 6b088eac16 [ble_client] Eliminate heap allocations in text sensor 2026-01-06 14:16:19 -10:00
J. Nick Koston 7ec6f6ba76 Merge branch 'sun_heap_churn' into integration 2026-01-06 14:10:35 -10:00
J. Nick Koston 34de46ecec [sun] Eliminate heap allocation in text sensor 2026-01-06 14:08:58 -10:00
J. Nick Koston a51c1ec9f8 Merge branch 'openthread_heap_churn' into integration 2026-01-06 13:03:15 -10:00
J. Nick Koston 97591a8743 [openthread_info] Eliminate heap allocations in text sensors 2026-01-06 13:02:24 -10:00
J. Nick Koston 6fe0f29bac Merge branch 'homeassistant_text_churn' into integration 2026-01-06 12:51:17 -10:00
J. Nick Koston 6b1a36b416 [homeassistant] Eliminate heap allocation in text sensor state updates 2026-01-06 12:49:56 -10:00
J. Nick Koston d85c0ff4d5 Merge branch 'ethernet_text_churn' into integration 2026-01-06 12:45:31 -10:00
J. Nick Koston 319be3498a [ethernet_info] Eliminate heap allocations in text sensors 2026-01-06 12:44:47 -10:00
J. Nick Koston 5c482f0809 Merge branch 'pylontech_no_heap' into integration 2026-01-06 12:41:12 -10:00
J. Nick Koston bdbd275dcc Merge branch 'dsmr_no_heap' into integration 2026-01-06 12:41:07 -10:00
J. Nick Koston 776b6a6cac [pylontech] Eliminate heap allocations in text sensors 2026-01-06 12:40:10 -10:00
J. Nick Koston 559f534f13 [dsmr] Eliminate heap allocation when publishing telegram 2026-01-06 12:37:25 -10:00
J. Nick Koston be77f57fc3 Merge branch 'text_no_string' into integration 2026-01-06 12:33:33 -10:00
J. Nick Koston 45b195aba5 [wifi_info] Eliminate heap churn in text sensors 2026-01-06 12:32:41 -10:00
J. Nick Koston d07772671e Merge branch 'fix_text_heap_churn' into integration 2026-01-06 12:19:41 -10:00
J. Nick Koston 9ee5c1bb27 wip 2026-01-06 12:19:32 -10:00
J. Nick Koston 3d1589a278 Merge branch 'fix_text_heap_churn' into integration 2026-01-06 12:17:32 -10:00
J. Nick Koston 227787ab95 [text_sensor][text] Add const char* overloads to publish_state to eliminate heap churn 2026-01-06 12:16:49 -10:00
J. Nick Koston 7bd77eec31 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-06 11:52:26 -10:00
J. Nick Koston cf1444742b Merge branch 'log_coalesce' into integration 2026-01-06 08:30:57 -10:00
J. Nick Koston 195b606259 explain 2026-01-06 08:30:13 -10:00
J. Nick Koston c4d3a56cc9 [api] Coalesce log packets to reduce buffer pressure and prevent dropped state updates 2026-01-06 08:13:35 -10:00
J. Nick Koston 249d89cc5d Merge branch 'sha256_ota_fix' into integration 2026-01-06 00:51:09 -10:00
J. Nick Koston ffb15b592c cleanup 2026-01-06 00:50:43 -10:00
J. Nick Koston b40de61224 cleanup 2026-01-06 00:48:40 -10:00
J. Nick Koston 3e6d777439 fix 2026-01-06 00:46:15 -10:00
J. Nick Koston f5ae09056c cleanup 2026-01-06 00:34:36 -10:00
J. Nick Koston 72892b8913 fix 2026-01-06 00:31:40 -10:00
J. Nick Koston 84e382387d [ota] Fix ESP32-S3 OTA crash with hardware SHA acceleration on IDF 5.5.x 2026-01-06 00:09:14 -10:00
J. Nick Koston 4e80a89f61 tidy 2026-01-05 23:44:22 -10:00
J. Nick Koston b19918cdbf [debug] Use stack buffers with buf_append helper instead of std::string 2026-01-05 23:38:06 -10:00
J. Nick Koston 2288f8eb5e [debug] Use stack buffers with buf_append helper instead of std::string 2026-01-05 23:35:24 -10:00
J. Nick Koston 9420ae7795 [debug] Use stack buffers with buf_append helper instead of std::string 2026-01-05 23:32:36 -10:00
J. Nick Koston 5e573ee116 [debug] Use stack buffers with buf_append helper instead of std::string 2026-01-05 23:28:17 -10:00
J. Nick Koston 8046dc5ea5 Merge branch 'drop_to_string' into integration 2026-01-05 22:51:25 -10:00
J. Nick Koston efbd14c15c [opentherm][nau7802] Use direct format specifiers instead of to_string().c_str() 2026-01-05 22:50:51 -10:00
J. Nick Koston d51ee3d004 Merge branch 'wifi_logging_cleanup' into integration 2026-01-05 22:35:53 -10:00
J. Nick Koston 570ecd1842 tweak 2026-01-05 22:35:40 -10:00
J. Nick Koston 3502ac7bee tweak 2026-01-05 22:33:14 -10:00
J. Nick Koston 04cc713b0c Merge branch 'wifi_logging_cleanup' into integration 2026-01-05 22:29:04 -10:00
J. Nick Koston 63713cac57 [wifi] Clean up duplicate and empty logging output 2026-01-05 22:26:36 -10:00
J. Nick Koston 44ecdeb3b6 Merge branch 'wifi_fix_more_alloc' into integration 2026-01-05 19:35:52 -10:00
J. Nick Koston 913609d985 simplify code 2026-01-05 19:32:47 -10:00
J. Nick Koston a7b4ae13a3 simplify code 2026-01-05 19:32:11 -10:00
J. Nick Koston a02583028e Merge branch 'wifi_fix_more_alloc' into integration 2026-01-05 19:24:19 -10:00
J. Nick Koston 43e0f1fb35 [wifi] Eliminate heap allocations in IP address logging 2026-01-05 19:23:46 -10:00
J. Nick Koston b8faecfd4e Merge branch 'slash_workaround' into integration 2026-01-05 18:49:34 -10:00
J. Nick Koston 4b4c1c1191 [core] Auto-replace / in entity names with Unicode fraction slash during deprecation period 2026-01-05 18:46:54 -10:00
J. Nick Koston 4a499054b7 Merge branch 'bind_key_simplify' into integration 2026-01-05 18:25:01 -10:00
J. Nick Koston 2d65717e43 Merge remote-tracking branch 'origin/improv_next_url' into integration 2026-01-05 18:24:55 -10:00
J. Nick Koston d8731d376d fixes 2026-01-05 18:23:43 -10:00
J. Nick Koston d42567c5b0 [improv_base] Optimize next_url to avoid STL string operations 2026-01-05 18:20:23 -10:00
J. Nick Koston b5ea8a4627 [xiaomi_ble] Simplify set_bindkey using parse_hex and const char* 2026-01-05 18:17:58 -10:00
J. Nick Koston bc54c5aff3 Merge branch 'ble_scanner_reduce_realloc' into integration 2026-01-05 18:02:40 -10:00
J. Nick Koston 442cd60341 [ble_scanner] Use stack-based string formatting to reduce heap allocations 2026-01-05 17:55:41 -10:00
J. Nick Koston 0a9287df33 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/bedjet/bedjet_hub.cpp
#	esphome/components/esp8266/preferences.cpp
#	esphome/components/radon_eye_ble/radon_eye_listener.cpp
#	esphome/components/radon_eye_rd200/radon_eye_rd200.cpp
2026-01-05 17:48:09 -10:00
J. Nick Koston b34260d5c8 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-05 16:21:07 -10:00
J. Nick Koston 4a97bd4859 Merge branch 'host_logger_thread_safe' into integration 2026-01-05 15:26:26 -10:00
J. Nick Koston 0453c74133 Address Copilot review: fix pthread_setname_np for Linux, simplify loop() condition 2026-01-05 15:14:24 -10:00
J. Nick Koston a6a7b41b2e Merge remote-tracking branch 'origin/host_logger_thread_safe' into host_logger_thread_safe 2026-01-05 15:11:27 -10:00
J. Nick Koston 327458169c bot nits 2026-01-05 15:11:01 -10:00
J. Nick Koston f237d96121 Merge branch 'dev' into host_logger_thread_safe 2026-01-05 14:59:34 -10:00
J. Nick Koston 21b0955d4f [logger] Add thread-safe logging for host platform 2026-01-05 14:58:29 -10:00
J. Nick Koston d3a128803c add diagram 2026-01-05 14:55:48 -10:00
J. Nick Koston 813012a65d remove dead code 2026-01-05 14:53:42 -10:00
J. Nick Koston 993070156a host has plenty of ram, do not give a knob, its not needed 2026-01-05 14:50:55 -10:00
J. Nick Koston 4a3e3a3b37 host has plenty of ram, do not give a knob, its not needed 2026-01-05 14:50:46 -10:00
J. Nick Koston 602bde0e5d reduce ram 2026-01-05 14:49:24 -10:00
J. Nick Koston 4c0e45ea5d wip 2026-01-05 14:43:48 -10:00
J. Nick Koston 707337d27a tweak 2026-01-05 14:33:40 -10:00
J. Nick Koston 6ea3dd8975 tweak 2026-01-05 14:33:00 -10:00
J. Nick Koston c64514acdc tweak 2026-01-05 14:31:38 -10:00
J. Nick Koston 0d2c48a55a tweak 2026-01-05 14:29:52 -10:00
J. Nick Koston b2f1f0faad tweak 2026-01-05 14:26:55 -10:00
J. Nick Koston f0775d7ae0 host logger thread safe 2026-01-05 14:21:36 -10:00
J. Nick Koston 90597a1255 Merge branch 'esp8266_prefs_avoid_heap' into integration 2026-01-05 09:34:27 -10:00
J. Nick Koston 3fed238f79 Merge branch 'voice_assistant_format_stack' into integration 2026-01-05 09:28:10 -10:00
J. Nick Koston cc8bd2d29d dry 2026-01-05 09:26:41 -10:00
J. Nick Koston 7a0d7c5ca1 [voice_assistant] Reduce heap allocation with stack-based timer formatting 2026-01-05 09:24:33 -10:00
J. Nick Koston bc7b2d317c Merge branch 'midea_stack_format' into integration 2026-01-05 09:21:12 -10:00
J. Nick Koston 334b7168bd [midea] Reduce heap allocations with stack-based string formatting 2026-01-05 09:20:45 -10:00
J. Nick Koston 8aaa51e5c7 Merge branch 'thermopro_ble' into integration 2026-01-05 09:16:35 -10:00
J. Nick Koston d9568251dc [thermopro_ble] Reduce heap allocation with stack-based string formatting 2026-01-05 09:16:04 -10:00
J. Nick Koston 652660ca57 Merge branch 'b_parasite' into integration 2026-01-05 09:14:55 -10:00
J. Nick Koston 6b9f105b0b [b_parasite] Reduce heap allocation with stack-based string formatting 2026-01-05 09:14:26 -10:00
J. Nick Koston 8751e00077 Merge branch 'ruuvi_ble' into integration 2026-01-05 09:13:04 -10:00
J. Nick Koston 647c727708 [ruuvi_ble] Reduce heap allocation with stack-based string formatting 2026-01-05 09:12:36 -10:00
J. Nick Koston b376b78625 Merge branch 'atc_mithermometer' into integration 2026-01-05 09:10:41 -10:00
J. Nick Koston fdb4d411ce [atc_mithermometer] Reduce heap allocations with stack-based string formatting 2026-01-05 09:09:11 -10:00
J. Nick Koston a762590b35 Merge branch 'bthome_mithermometer_logging' into integration 2026-01-05 09:06:33 -10:00
J. Nick Koston 6f1185011f [bthome_mithermometer] Reduce heap allocations with stack-based string formatting 2026-01-05 09:04:12 -10:00
J. Nick Koston 8092215de1 [bthome_mithermometer] Reduce heap allocations with stack-based string formatting 2026-01-05 09:02:46 -10:00
J. Nick Koston b4a1421c71 Merge branch 'pvvx_mithermometer_format' into integration 2026-01-05 08:58:43 -10:00
J. Nick Koston fc9b0cd56c [pvvx_mithermometer] Reduce heap allocations with stack-based string formatting 2026-01-05 08:58:08 -10:00
J. Nick Koston 16c61afb15 Merge branch 'bedjet_logging' into integration 2026-01-05 08:55:52 -10:00
J. Nick Koston 754a34357d [bedjet] Use stack-based UUID formatting in logging 2026-01-05 08:55:14 -10:00
J. Nick Koston dc7aeec9ee Merge branch 'xiaomi_heap_logging' into integration 2026-01-05 08:53:13 -10:00
J. Nick Koston cc3e05dece Merge branch 'mopeka_stack_format' into integration 2026-01-05 08:53:08 -10:00
J. Nick Koston 92399e58fc Merge branch 'radon_eye_stack' into integration 2026-01-05 08:53:04 -10:00
J. Nick Koston 70792ac9c5 fix bug 2026-01-05 08:52:20 -10:00
J. Nick Koston 152a146946 reduce 2026-01-05 08:50:24 -10:00
J. Nick Koston 0184636cde [xiaomi_ble] Reduce heap allocations with stack-based string formatting 2026-01-05 08:48:29 -10:00
J. Nick Koston 215fa497d8 Merge branch 'radon_eye_stack' into integration 2026-01-05 08:38:11 -10:00
J. Nick Koston 6dbcb28012 [radon_eye_rd200, radon_eye_ble] Use stack-based string formatting in logging 2026-01-05 08:28:04 -10:00
J. Nick Koston 204a15d53f Merge branch 'airthings_stack_format_logs' into integration 2026-01-05 08:26:03 -10:00
J. Nick Koston de060e3209 Merge branch 'mopeka_stack_format' into integration 2026-01-05 08:25:55 -10:00
J. Nick Koston 879c6b87bb [mopeka] Reduce heap allocations with stack-based string formatting 2026-01-05 08:25:16 -10:00
J. Nick Koston bed16ee76a [airthings_wave_base, airthings_ble] Use stack-based string formatting in logging 2026-01-05 08:21:31 -10:00
J. Nick Koston 1be3cab71d Merge branch 'logger_esp8266' into integration 2026-01-05 08:15:34 -10:00
J. Nick Koston 4a31fd6a9c escape hatch 2026-01-05 08:10:13 -10:00
J. Nick Koston 6974e8b767 keep error log 2026-01-05 07:44:21 -10:00
J. Nick Koston 54c9f0db42 Merge branch 'dev' into esp8266_prefs_avoid_heap 2026-01-05 07:41:25 -10:00
J. Nick Koston ed03b09b61 Merge remote-tracking branch 'upstream/avoid_heap_address_str' into integration 2026-01-04 19:30:02 -10:00
J. Nick Koston f7109c6ced more 2026-01-04 19:28:10 -10:00
J. Nick Koston d4e3396ce1 Merge remote-tracking branch 'upstream/avoid_heap_address_str' into integration 2026-01-04 19:20:31 -10:00
J. Nick Koston dbfef45fbb [esp32_ble_tracker, ble_client] Reduce heap allocations with stack-based string formatting 2026-01-04 19:19:23 -10:00
J. Nick Koston dc7b5a5498 Merge branch 'no_defer_cap_port_8266' into integration 2026-01-04 18:52:01 -10:00
J. Nick Koston d46982a6af [captive_portal] Avoid defer overhead on ESP8266 when saving WiFi credentials 2026-01-04 18:51:13 -10:00
J. Nick Koston 454471d923 Merge remote-tracking branch 'origin/esp_btuid_from_raw_no_heap_alloc' into integration 2026-01-04 18:33:01 -10:00
J. Nick Koston 6dc8e8ce64 Revert "constexpr"
This reverts commit 5ed2043037.
2026-01-04 18:27:53 -10:00
J. Nick Koston 5ed2043037 constexpr 2026-01-04 18:21:06 -10:00
J. Nick Koston bd8f9d5984 [esp32_ble] Avoid heap allocation in ESPBTUUID::from_raw for string literals 2026-01-04 18:14:55 -10:00
J. Nick Koston 851f3733db Merge branch 'avoid_forced_heap_alloc_light_json_schema' into integration 2026-01-04 18:06:14 -10:00
J. Nick Koston 690cf1aec9 [light] Use zero-copy set_effect overload in JSON schema parsing 2026-01-04 18:05:48 -10:00
J. Nick Koston 0aa8cfcff5 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-04 17:03:54 -10:00
J. Nick Koston 81a230284f Merge branch 'web_server_br' into integration 2026-01-04 16:28:36 -10:00
J. Nick Koston b550e2f4f9 [web_server][captive_portal] Add Brotli compression (saves ~11KB flash) 2026-01-04 15:40:25 -10:00
J. Nick Koston 676517fff3 [web_server][captive_portal] Add Brotli compression (saves ~11KB flash) 2026-01-04 15:40:19 -10:00
J. Nick Koston a16746d30a [web_server][captive_portal] Add Brotli compression (saves ~11KB flash) 2026-01-04 15:38:15 -10:00
J. Nick Koston 4e94d1ba58 Merge branch 'get_peername_stack_save_ram' into integration 2026-01-04 14:07:08 -10:00
J. Nick Koston cd3f0e9fc4 Merge remote-tracking branch 'upstream/dev' into get_peername_stack_save_ram 2026-01-04 14:06:41 -10:00
J. Nick Koston 6e391bb083 Merge branch 'get_peername_stack_save_ram' into integration 2026-01-04 13:07:32 -10:00
J. Nick Koston 8862fcac45 Merge remote-tracking branch 'upstream/dev' into get_peername_stack_save_ram
# Conflicts:
#	esphome/components/voice_assistant/voice_assistant.cpp
2026-01-04 13:05:42 -10:00
J. Nick Koston f4d2fa8da5 Merge branch 'align_max_messages' into integration 2026-01-04 12:47:06 -10:00
J. Nick Koston 1ef6c6a416 move const 2026-01-04 12:46:35 -10:00
J. Nick Koston a1aaaedf3c Merge branch 'align_max_messages' into integration 2026-01-04 12:43:56 -10:00
J. Nick Koston 9297850afe [api] Fix message batch size mismatch and improve naming consistency 2026-01-04 12:41:01 -10:00
J. Nick Koston 4bffe5bd4a Merge remote-tracking branch 'upstream/dev' into integration 2026-01-04 11:56:33 -10:00
J. Nick Koston a336cba035 Merge branch 'get_peername_stack_save_ram' into integration 2026-01-04 11:47:52 -10:00
J. Nick Koston aa30a1d008 all 3 2026-01-04 11:47:34 -10:00
J. Nick Koston 591b5fa25b all 3 2026-01-04 11:45:27 -10:00
J. Nick Koston 96b59af983 all 3 2026-01-04 11:42:07 -10:00
J. Nick Koston 17250c7244 Merge remote-tracking branch 'upstream/get_peername_stack_save_ram' into integration 2026-01-04 11:28:41 -10:00
J. Nick Koston 520f8eb9ef simplify 2026-01-04 11:18:44 -10:00
J. Nick Koston 2d0dd93ae8 Merge remote-tracking branch 'upstream/dev' into get_peername_stack_save_ram 2026-01-04 11:16:44 -10:00
J. Nick Koston cb4a974144 simplify 2026-01-04 11:13:58 -10:00
J. Nick Koston 5143ef4f2d Merge remote-tracking branch 'upstream/dev' into integration 2026-01-04 10:56:13 -10:00
J. Nick Koston d328ccd1da Merge branch 'get_peername_stack_save_ram' into integration 2026-01-03 22:11:28 -10:00
J. Nick Koston d7006a839b Merge remote-tracking branch 'upstream/get_peername_stack_save_ram' into get_peername_stack_save_ram 2026-01-03 22:01:59 -10:00
J. Nick Koston 156ef8df64 reduce 2026-01-03 22:01:25 -10:00
J. Nick Koston cd5c04bc1e Merge branch 'dev' into get_peername_stack_save_ram 2026-01-03 21:55:03 -10:00
J. Nick Koston a4accc14c4 Merge branch 'prefs_no_churn_reuse' into integration 2026-01-03 21:21:03 -10:00
J. Nick Koston 9c37443757 guard 2026-01-03 21:20:16 -10:00
J. Nick Koston 8ac16bac7d Merge branch 'prefs_no_churn_reuse' into integration 2026-01-03 21:17:02 -10:00
J. Nick Koston 0f6b9818e4 [esp32][libretiny] Reuse preference buffer to avoid heap churn 2026-01-03 21:16:25 -10:00
J. Nick Koston 79de1bc609 Merge branch 'esp32_ble_automations' into integration 2026-01-03 15:54:36 -10:00
J. Nick Koston 93adab389e [esp32_ble_tracker] Make start_scan action idempotent 2026-01-03 15:54:15 -10:00
J. Nick Koston c2c7d4e89d Merge branch 'heap-in-iram-flash' into integration 2026-01-03 15:22:29 -10:00
J. Nick Koston ba1bbaf67d [esp32] Move heap functions to flash, saving ~6KB
This is the culmination of months of work to reduce heap churn
throughout the ESPHome codebase. By systematically eliminating
unnecessary dynamic allocations (StaticVector, FixedVector, const
char* instead of std::string, pre-allocated buffers, etc.), heap
functions are now called so infrequently that they can safely be
moved from IRAM to flash.

Enable CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH by default, which moves
malloc/free/realloc from IRAM to flash. This is safe because:
- Heap functions should never be called from ISRs
- CONFIG_SPI_MASTER_ISR_IN_IRAM is not enabled
- Audio/video use pre-allocated ring buffers, not dynamic allocation

Measured results: +6,124 bytes of heap freed.

Add heap_in_iram advanced option as an escape hatch for users who
need heap functions in IRAM for specific use cases.
2026-01-03 15:10:32 -10:00
J. Nick Koston f98cc96a6f Merge branch 'combine-logs-captive_portal' into integration 2026-01-03 14:35:05 -10:00
J. Nick Koston dff89193dd Merge branch 'combine-logs-uart' into integration 2026-01-03 14:35:01 -10:00
J. Nick Koston b868d0f254 Merge branch 'combine-logs-ethernet' into integration 2026-01-03 14:34:54 -10:00
J. Nick Koston 6d7949c686 [uart] Combine log statements to reduce loop blocking 2026-01-03 13:26:17 -10:00
J. Nick Koston f78cf6d6b3 [ethernet] Combine log statements to reduce loop blocking 2026-01-03 13:25:58 -10:00
J. Nick Koston 8f77e0712e [captive_portal] Combine log statements to reduce loop blocking 2026-01-03 13:25:38 -10:00
J. Nick Koston 1a86f7c67c Merge branch 'espnow_mac_format' into integration 2026-01-03 11:05:42 -10:00
J. Nick Koston 8a59e13bbc [espnow] Use stack-based MAC formatting and remove dead code 2026-01-03 11:05:20 -10:00
J. Nick Koston 7e31e9823b Merge branch 'wifi_esp8266_idf_format_mac_address_pretty' into integration 2026-01-03 10:59:49 -10:00
J. Nick Koston becab116c7 [wifi] Use stack-based MAC formatting in ESP8266 and IDF event handlers 2026-01-03 10:59:27 -10:00
J. Nick Koston 28bad19900 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:52:10 -10:00
J. Nick Koston eada23d587 optimize away 2026-01-03 10:51:56 -10:00
J. Nick Koston a1e5d59161 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:48:33 -10:00
J. Nick Koston 2074447120 tune 2026-01-03 10:48:24 -10:00
J. Nick Koston f267eac729 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:42:23 -10:00
J. Nick Koston 9187bf52e6 tweak 2026-01-03 10:42:06 -10:00
J. Nick Koston a95dcad380 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:23:37 -10:00
J. Nick Koston f0a496b08d [wifi] Fix LibreTiny thread safety with queue-based event handling 2026-01-03 10:22:08 -10:00
J. Nick Koston cc56702e79 Merge branch 'no_delay_startup_many_entities' into integration 2026-01-03 09:34:22 -10:00
J. Nick Koston a8e8c9d8b5 [core] Fix startup delay from setup timing logs when console connected 2026-01-03 09:33:43 -10:00
J. Nick Koston 846d46cd72 Merge branch 'wifi_roam' into integration 2026-01-03 09:27:51 -10:00
J. Nick Koston 6dbd0de0b5 tweak 2026-01-03 09:19:31 -10:00
J. Nick Koston fcab160049 Merge branch 'wifi_roam' into integration 2026-01-03 09:11:26 -10:00
J. Nick Koston c809f86507 fix refactoring error 2026-01-03 09:11:18 -10:00
J. Nick Koston a184b00051 Merge branch 'wifi_roam' into integration 2026-01-03 09:08:32 -10:00
J. Nick Koston f7d9ebcf01 reduce 2026-01-03 09:08:23 -10:00
J. Nick Koston 16f3605399 Merge branch 'dev' into get_peername_stack_save_ram 2026-01-03 08:02:34 -10:00
J. Nick Koston c95b00e7fc Merge branch 'get_rid_of_complex_bifurcated_client_server_api_strings' into integration 2026-01-03 08:01:08 -10:00
J. Nick Koston 8cbb2eef84 merge 2026-01-03 08:00:56 -10:00
J. Nick Koston 21556e714b Merge remote-tracking branch 'upstream/dev' into get_rid_of_complex_bifurcated_client_server_api_strings 2026-01-03 08:00:17 -10:00
J. Nick Koston dd9804aff4 Merge branch 'missing_password_removal' into integration 2026-01-03 07:56:51 -10:00
J. Nick Koston b93817e872 [api] Fix KeyError when running logs after password removal 2026-01-03 07:42:46 -10:00
J. Nick Koston af69ca58c6 Merge branch 'many_mesh_still_blocked_loop' into integration 2026-01-03 07:26:03 -10:00
J. Nick Koston 64261d9b04 [wifi] Combine scan result log lines to reduce loop blocking with many APs 2026-01-03 07:24:21 -10:00
J. Nick Koston e8de6627d8 document, document, document 2026-01-03 00:44:37 -10:00
J. Nick Koston 6029f24369 Merge branch 'wifi_roam' into integration 2026-01-03 00:42:31 -10:00
J. Nick Koston b4f24f6a7f Merge remote-tracking branch 'origin/wifi_roam' into wifi_roam 2026-01-03 00:42:21 -10:00
J. Nick Koston 356e6a3c97 document roam fail path 2026-01-03 00:42:06 -10:00
J. Nick Koston c4820fcc36 Merge branch 'logger_esp8266' into integration 2026-01-03 00:20:27 -10:00
J. Nick Koston 36d1ef9584 fixes 2026-01-03 00:20:02 -10:00
J. Nick Koston a5269efd48 fixes 2026-01-03 00:16:07 -10:00
J. Nick Koston 46d9cdfe93 Merge branch 'dev' into logger_esp8266 2026-01-03 00:06:49 -10:00
J. Nick Koston da34fca20c Merge branch 'dev' into wifi_roam 2026-01-02 23:57:41 -10:00
J. Nick Koston dc159737ec Merge branch 'wifi_roam' into integration 2026-01-02 23:52:08 -10:00
J. Nick Koston 0ba1fe8457 -49 is the boundray for excellent 2026-01-02 23:51:02 -10:00
J. Nick Koston a46a51e885 tweak 2026-01-02 23:43:03 -10:00
J. Nick Koston bb414f1745 Merge branch 'wifi_roam' into integration 2026-01-02 23:34:54 -10:00
J. Nick Koston 9d79a98c0d log cleanup 2026-01-02 23:34:45 -10:00
J. Nick Koston cc7e075857 Merge branch 'wifi_roam' into integration 2026-01-02 23:24:41 -10:00
J. Nick Koston b8c0dc7b04 stale comments 2026-01-02 23:24:22 -10:00
J. Nick Koston 7e313de1c1 Merge remote-tracking branch 'upstream/dev' into wifi_roam 2026-01-02 23:22:45 -10:00
J. Nick Koston 68ad5e457a fix stale comment 2026-01-02 23:22:10 -10:00
J. Nick Koston a020a3421c Merge branch 'wifi_roam' into integration 2026-01-02 23:17:30 -10:00
J. Nick Koston 8fff7f6b85 len 1 2026-01-02 23:16:01 -10:00
J. Nick Koston 27ae2881de Merge branch 'wifi_roam' into integration 2026-01-02 23:11:42 -10:00
J. Nick Koston 2ab27a6ae2 avoid inlining expensive vector ops 2026-01-02 23:11:30 -10:00
J. Nick Koston 22ad0f2f2d handle race 2026-01-02 23:09:45 -10:00
J. Nick Koston d99fd22f53 Merge branch 'wifi_roam' into integration 2026-01-02 23:06:01 -10:00
J. Nick Koston f32c190905 optimize 2026-01-02 23:05:39 -10:00
J. Nick Koston 996bd12871 optimize 2026-01-02 23:03:52 -10:00
J. Nick Koston 516c074b8f optimize 2026-01-02 22:58:18 -10:00
J. Nick Koston 1c9e0f6b22 optimize 2026-01-02 22:56:48 -10:00
J. Nick Koston 828a27b1b6 reduce some code size 2026-01-02 22:53:42 -10:00
J. Nick Koston 039ae65ed8 Update esphome/components/wifi/wifi_component.cpp 2026-01-02 22:52:01 -10:00
J. Nick Koston 2275f638fb Merge remote-tracking branch 'origin/wifi_roam' into wifi_roam 2026-01-02 22:51:29 -10:00
J. Nick Koston 369f32b496 reduce some code size 2026-01-02 22:50:38 -10:00
J. Nick Koston c6774d81cb Merge branch 'wifi_roam' into integration 2026-01-02 22:29:30 -10:00
J. Nick Koston 828e91a61b Merge remote-tracking branch 'origin/get_rid_of_complex_bifurcated_client_server_api_strings' into get_rid_of_complex_bifurcated_client_server_api_strings 2026-01-02 22:19:12 -10:00
J. Nick Koston fb255d7e7c fixes 2026-01-02 22:19:01 -10:00
J. Nick Koston c7e9eda5aa Merge branch 'dev' into get_rid_of_complex_bifurcated_client_server_api_strings 2026-01-02 22:11:24 -10:00
J. Nick Koston 979b96f7d4 cleanup 2026-01-02 21:56:38 -10:00
J. Nick Koston af8c453f7c [api] Simplify string handling by removing bifurcated client/server storage 2026-01-02 21:52:20 -10:00
Keith Burzinski 5db4574cb8 Merge branch 'dev' into get_peername_stack_save_ram 2026-01-03 01:01:07 -06:00
J. Nick Koston ae1082e3e6 Merge branch 'get_peername_stack_save_ram' into integration 2026-01-02 20:31:10 -10:00
J. Nick Koston a63ed0d616 fix merge conflict 2026-01-02 20:29:45 -10:00
J. Nick Koston c2ffd4e49a fix merge conflict 2026-01-02 20:28:37 -10:00
J. Nick Koston c2c513fd75 Merge branch 'dev' into get_peername_stack_save_ram 2026-01-02 20:26:30 -10:00
J. Nick Koston 2ed5015089 Merge branch 'api_avoid_copies' into integration 2026-01-02 20:21:47 -10:00
J. Nick Koston 48760ef927 match it to upstream change 2026-01-02 20:21:06 -10:00
J. Nick Koston 40b09e8cd4 match it to upstream change 2026-01-02 20:20:02 -10:00
J. Nick Koston 61692894e1 Merge branch 'dev' into api_avoid_copies 2026-01-02 20:19:11 -10:00
J. Nick Koston c25b732d39 Merge remote-tracking branch 'upstream/source_both_zero_copy' into integration 2026-01-02 17:02:10 -10:00
J. Nick Koston 3148cb2bdd Merge branch 'api_avoid_copies' into integration 2026-01-02 17:01:56 -10:00
J. Nick Koston 114624acbd fix conflicts 2026-01-02 16:57:41 -10:00
J. Nick Koston c82ae34ccf Merge remote-tracking branch 'upstream/dev' into get_peername_stack_save_ram
# Conflicts:
#	esphome/components/api/api_connection.cpp
#	esphome/components/api/api_frame_helper.cpp
#	esphome/components/api/api_frame_helper_noise.cpp
#	esphome/components/api/api_frame_helper_plaintext.cpp
2026-01-02 16:52:04 -10:00
J. Nick Koston cf46f71933 Merge branch 'dev' into source_both_zero_copy 2026-01-02 16:45:45 -10:00
J. Nick Koston 9fc78d424c Merge remote-tracking branch 'upstream/dev' into api_avoid_copies
# Conflicts:
#	esphome/components/api/api_connection.cpp
2026-01-02 16:44:53 -10:00
J. Nick Koston d70b3091c9 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-02 16:35:18 -10:00
J. Nick Koston 3d6c64b657 Merge branch 'dev' into wifi_roam 2026-01-02 14:28:59 -10:00
J. Nick Koston e3fe738966 Merge branch 'dev' into source_both_zero_copy 2026-01-02 14:10:27 -10:00
J. Nick Koston 8a5e06b6d2 merge 2026-01-02 14:08:09 -10:00
J. Nick Koston 560966ad98 Merge remote-tracking branch 'upstream/dev' into source_both_zero_copy
# Conflicts:
#	script/api_protobuf/api_protobuf.py
2026-01-02 14:07:55 -10:00
J. Nick Koston 7438034411 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-02 13:09:46 -10:00
J. Nick Koston 5b4bd555dd cleanup per bot 2026-01-02 12:36:44 -10:00
J. Nick Koston 9b02daae2b cleanup per bot 2026-01-02 12:35:05 -10:00
J. Nick Koston d77fc596a9 its going to drop anyways 2026-01-02 11:37:56 -10:00
J. Nick Koston 9906724828 [api] Enable zero-copy bytes for VoiceAssistantAudio and other SOURCE_BOTH messages 2026-01-02 10:56:17 -10:00
J. Nick Koston 5c890fcfc4 add roam diagram 2026-01-02 09:29:59 -10:00
J. Nick Koston 5d8346cfb6 Merge branch 'dev' into bytes_zero_copy_default_api 2026-01-02 08:17:33 -10:00
J. Nick Koston 0a98f7877c tweak 2026-01-01 22:49:21 -10:00
J. Nick Koston dd6ed4aea6 [wifi] Add basic post-connect roaming support for stationary devices 2026-01-01 17:48:20 -10:00
J. Nick Koston ab17775c3e tweaks 2026-01-01 17:45:05 -10:00
J. Nick Koston dc07926a91 tweaks 2026-01-01 17:44:39 -10:00
J. Nick Koston 291722c50e tweak 2026-01-01 17:18:21 -10:00
J. Nick Koston 8b7bb4ecef wip 2026-01-01 14:59:19 -10:00
J. Nick Koston 1def4df146 wip 2026-01-01 14:57:28 -10:00
J. Nick Koston ff33e362cf wifi roam 2026-01-01 14:55:16 -10:00
J. Nick Koston 84e764fa87 Merge branch 'abbwelcome_format' into integration 2025-12-31 23:12:36 -10:00
J. Nick Koston 54a5c9d4af tweak 2025-12-31 23:09:51 -10:00
J. Nick Koston 1303dfa960 tweak 2025-12-31 23:09:39 -10:00
J. Nick Koston 7ce30b693e Merge branch 'abbwelcome_format' into integration 2025-12-31 23:07:18 -10:00
J. Nick Koston 5caa9b8140 snprintf 2025-12-31 23:03:55 -10:00
J. Nick Koston 42746b4b6f tweak 2025-12-31 22:59:44 -10:00
J. Nick Koston 47603de7ce handle truncate 2025-12-31 22:51:42 -10:00
J. Nick Koston acb54ebb38 Merge branch 'abbwelcome_format' into integration 2025-12-31 22:46:16 -10:00
J. Nick Koston 819bc0a0f2 [abbwelcome] Use stack-based formatting to eliminate heap allocations 2025-12-31 22:45:45 -10:00
J. Nick Koston b28385da40 Merge branch 'xiaomi_cgd1' into integration 2025-12-31 22:34:22 -10:00
J. Nick Koston c6a612f580 fix seperator 2025-12-31 22:30:16 -10:00
J. Nick Koston ad7f48f16d Merge branch 'xiaomi_cgd1' into integration 2025-12-31 22:25:00 -10:00
J. Nick Koston 22502983df [xiaomi_*] Use stack-based hex formatting for bindkey logging 2025-12-31 22:24:29 -10:00
J. Nick Koston 160e649d86 Merge branch 'xiaomi_ble' into integration 2025-12-31 22:16:46 -10:00
J. Nick Koston 259ca86ed7 fix 2025-12-31 22:09:32 -10:00
J. Nick Koston 4ee1358a9f Merge branch 'uponor_smatrix' into integration 2025-12-31 22:07:02 -10:00
J. Nick Koston 8e4913d78c [uponor_smatrix] Use stack-based hex formatting in verbose logging 2025-12-31 22:06:26 -10:00
J. Nick Koston b6e05a0570 Merge branch 'vbus_hex' into integration 2025-12-31 22:04:11 -10:00
J. Nick Koston d4e2d808d7 [vbus] Use stack-based hex formatting in verbose logging 2025-12-31 22:03:40 -10:00
J. Nick Koston fd65ea1d05 Merge branch 'tee501' into integration 2025-12-31 22:00:13 -10:00
J. Nick Koston 91e9c8b63b [tee501] Use stack-based hex formatting in verbose logging 2025-12-31 21:58:37 -10:00
J. Nick Koston 22d2087563 Merge branch 'hte501' into integration 2025-12-31 21:56:43 -10:00
J. Nick Koston 7588f3b120 [hte501] Use stack-based hex formatting in verbose logging 2025-12-31 21:56:06 -10:00
J. Nick Koston 9e1c14dde5 Merge branch 'xiaomi_ble' into integration 2025-12-31 21:54:31 -10:00
J. Nick Koston 2a262babd3 Merge branch 'usb_cdc_acm_hex' into integration 2025-12-31 21:54:26 -10:00
J. Nick Koston 4ba89d9430 Merge branch 'packet_transport_hex' into integration 2025-12-31 21:54:21 -10:00
J. Nick Koston 22fff2b147 Merge branch 'seeed_mr60fda2' into integration 2025-12-31 21:54:14 -10:00
J. Nick Koston 9928e29f52 Merge branch 'zwave_proxy_hex' into integration 2025-12-31 21:54:09 -10:00
J. Nick Koston 59419a63bd Merge branch 'mopeka_std_check' into integration 2025-12-31 21:54:05 -10:00
J. Nick Koston 9501431908 [xiaomi_ble] Use stack-based hex formatting in verbose logging 2025-12-31 21:52:02 -10:00
J. Nick Koston 7c47c1e3b2 [usb_cdc_acm] Use stack-based hex formatting in verbose logging 2025-12-31 21:48:07 -10:00
J. Nick Koston d93ed1982e [packet_transport] Use stack-based format_hex_pretty_to for logging 2025-12-31 21:42:13 -10:00
J. Nick Koston df4ce52deb reduce 2025-12-31 21:37:05 -10:00
J. Nick Koston fa5aa619ad reduce 2025-12-31 21:34:42 -10:00
J. Nick Koston ecf6e62b86 [mopeka_std_check] Use stack-based format_hex_pretty_to for very verbose logging 2025-12-31 21:30:17 -10:00
J. Nick Koston 252e35c516 Merge branch 'ee895' into integration 2025-12-31 17:40:59 -10:00
J. Nick Koston 45124c05ad [ee895] Use stack-based format_hex_to for verbose logging 2025-12-31 17:40:25 -10:00
J. Nick Koston 77a95a5fd4 adjust 2025-12-31 17:30:44 -10:00
J. Nick Koston 8dd958fcd1 [api] Use stack-based format_hex_pretty_to for packet logging macros 2025-12-31 17:28:01 -10:00
J. Nick Koston 2a87a70963 Merge branch 'espnow' into integration 2025-12-31 17:25:34 -10:00
J. Nick Koston 5bfb020c1f Merge branch 'epaper_spi' into integration 2025-12-31 17:25:15 -10:00
J. Nick Koston d2afa9a120 Merge branch 'zwave_proxy_hex' into integration 2025-12-31 17:16:17 -10:00
J. Nick Koston aade54e3c9 [zwave_proxy] Use stack-based format_hex_pretty_to for very verbose logging 2025-12-31 17:10:52 -10:00
J. Nick Koston 4439d30d27 Merge branch 'seeed_mr60fda2' into integration 2025-12-31 17:04:14 -10:00
J. Nick Koston 38381a0d24 Merge branch 'seeed_mr60bha2' into integration 2025-12-31 17:04:10 -10:00
J. Nick Koston eddb386277 [seeed_mr60fda2] Use stack-based format_hex_pretty_to for verbose logging 2025-12-31 17:03:32 -10:00
J. Nick Koston dde20e82f7 [seeed_mr60bha2] Replace format_hex_pretty with stack-based format_hex_pretty_to 2025-12-31 16:58:19 -10:00
J. Nick Koston 8f856fab1b Merge branch 'qspi_dbi' into integration 2025-12-31 16:55:25 -10:00
J. Nick Koston 3e1f7a9cd8 Merge branch 'pn532_spi' into integration 2025-12-31 16:55:21 -10:00
J. Nick Koston f8e56a8565 Merge branch 'modbus_controller' into integration 2025-12-31 16:55:16 -10:00
J. Nick Koston a952d843e7 Merge branch 'modbus' into integration 2025-12-31 16:55:12 -10:00
J. Nick Koston 278fdae770 Merge branch 'mitsubishi' into integration 2025-12-31 16:55:08 -10:00
J. Nick Koston 6fc9c63f2d Merge branch 'mipi_spi' into integration 2025-12-31 16:55:03 -10:00
J. Nick Koston be6ec974e1 Merge branch 'mipi_rgb_hex' into integration 2025-12-31 16:54:58 -10:00
J. Nick Koston 9de52fb9f5 Merge branch 'mipi_dsi' into integration 2025-12-31 16:54:54 -10:00
J. Nick Koston 7993ff7602 Merge branch 'hlk_fm22x_format' into integration 2025-12-31 16:54:49 -10:00
J. Nick Koston 253ce861ab [qspi_dbi] Replace format_hex_pretty with stack-based format_hex_pretty_to 2025-12-31 16:54:13 -10:00
J. Nick Koston 1fff2f503f [pn532_spi] Replace format_hex_pretty with stack-based format_hex_pretty_to 2025-12-31 16:52:24 -10:00
J. Nick Koston 6925ab3bf1 tweak 2025-12-31 16:46:57 -10:00
J. Nick Koston d8a84e6f2b wip 2025-12-31 16:42:45 -10:00
J. Nick Koston 73b19bc5d1 [modbus_controller] Replace format_hex_pretty with stack-based format_hex_pretty_to 2025-12-31 16:38:58 -10:00
J. Nick Koston 528b374b3f [modbus] Use stack buffer for hex formatting in verbose logging 2025-12-31 16:34:36 -10:00
J. Nick Koston b7d9e3e847 [mitsubishi] Use stack buffer for hex formatting in verbose logging 2025-12-31 16:31:18 -10:00
J. Nick Koston afd4562062 [mipi_spi] Use stack buffer for hex formatting in verbose logging 2025-12-31 16:28:51 -10:00
J. Nick Koston 724829f5bd [mipi_rgb] Use stack buffer for hex formatting in init sequence logging 2025-12-31 16:25:08 -10:00
J. Nick Koston 4f1b1d7a1e [mipi_dsi] Use stack buffer for hex formatting in very verbose logging 2025-12-31 16:22:04 -10:00
J. Nick Koston b1ebdabaa9 Merge branch 'kuntze' into integration 2025-12-31 16:18:12 -10:00
J. Nick Koston b1e359750c [kuntze] Use stack buffer for hex formatting in verbose logging 2025-12-31 16:17:13 -10:00
J. Nick Koston 4bfc14fa0e Merge branch 'dump_summary' into integration 2025-12-30 13:46:48 -10:00
J. Nick Koston 71d9dff3fc fix 2025-12-30 13:46:36 -10:00
J. Nick Koston 6728a28e1d Merge branch 'dump_summary' into integration 2025-12-30 13:43:20 -10:00
J. Nick Koston c716983d5c tweak 2025-12-30 13:41:29 -10:00
J. Nick Koston 2c0c5a1b09 Merge branch 'dump_summary' into integration 2025-12-30 13:29:31 -10:00
J. Nick Koston c13bbd300d tweaks 2025-12-30 13:24:32 -10:00
J. Nick Koston ac515d6d2e tweaks 2025-12-30 13:23:21 -10:00
J. Nick Koston e7e83305e8 Merge branch 'dump_summary' into integration 2025-12-30 13:13:40 -10:00
J. Nick Koston 580498e06c missing ; 2025-12-30 13:13:31 -10:00
J. Nick Koston 2d4be9c96f Merge branch 'dump_summary' into integration 2025-12-30 13:10:03 -10:00
J. Nick Koston 52eda13ecd reduce 2025-12-30 13:09:35 -10:00
J. Nick Koston 8ab37379e8 reduce 2025-12-30 13:08:16 -10:00
J. Nick Koston fcd49fd32d reduce 2025-12-30 13:08:05 -10:00
J. Nick Koston 22b01ad440 Merge branch 'dump_summary' into integration 2025-12-30 13:04:36 -10:00
J. Nick Koston 53aa3f539b copilot suggestion is overkill and breaks things 2025-12-30 13:04:26 -10:00
J. Nick Koston f42af572b8 Merge branch 'dump_summary' into integration 2025-12-30 13:04:02 -10:00
J. Nick Koston 61b377140f copilot suggestion is overkill and breaks things 2025-12-30 13:03:48 -10:00
J. Nick Koston 957b4d532c Merge branch 'dump_summary' into integration 2025-12-30 12:06:56 -10:00
J. Nick Koston 354ca54a11 adjust 2025-12-30 12:05:36 -10:00
J. Nick Koston f0be51a49f Merge branch 'dev' into hlk_fm22x_format 2025-12-30 12:02:58 -10:00
J. Nick Koston 9ca590a125 Merge branch 'dump_summary' into integration 2025-12-30 11:53:16 -10:00
J. Nick Koston ebf5c2851b [gpio] Avoid heap allocation in dump_summary 2025-12-30 11:52:39 -10:00
J. Nick Koston 0e725a35c9 Merge branch 'light_effect_ref' into integration 2025-12-30 11:20:08 -10:00
J. Nick Koston c2865d040f Merge branch 'addressable_light_effect_ref' into integration 2025-12-30 11:19:55 -10:00
J. Nick Koston 5a4a58fd14 Merge branch 'api_avoid_copies' into integration 2025-12-30 11:19:51 -10:00
J. Nick Koston 00f4449cc0 fix ambiguous 2025-12-30 11:17:21 -10:00
J. Nick Koston 89e0797657 simple 2025-12-30 11:14:41 -10:00
J. Nick Koston cc79334da7 [addressable_light] Use StringRef to avoid allocation when saving effect name 2025-12-30 11:11:53 -10:00
J. Nick Koston 8d61d83425 [light] Use StringRef to avoid allocation in JSON effect name serialization 2025-12-30 11:07:59 -10:00
J. Nick Koston ac673852bd Merge branch 'api_avoid_copies' into integration 2025-12-30 10:50:32 -10:00
J. Nick Koston a42820dc26 should never happen but ok 2025-12-30 10:49:02 -10:00
J. Nick Koston 80e03e3951 Merge branch 'api_avoid_copies' into integration 2025-12-30 10:44:37 -10:00
J. Nick Koston f615409032 len known 2025-12-30 10:44:30 -10:00
J. Nick Koston d357a62fec Merge branch 'api_avoid_copies' into integration 2025-12-30 10:42:26 -10:00
J. Nick Koston 089e21b15a tweaks 2025-12-30 10:37:03 -10:00
J. Nick Koston 3e8857b358 tweaks 2025-12-30 10:32:06 -10:00
J. Nick Koston 03c9107826 Merge remote-tracking branch 'upstream/dev' into api_avoid_copies 2025-12-30 10:28:51 -10:00
J. Nick Koston 201ae5801a Merge branch 'ethernet_info_no_heap' into integration 2025-12-30 09:59:49 -10:00
J. Nick Koston a346b983a7 [ethernet_info] Eliminate heap allocations in DNS text sensor 2025-12-30 09:59:20 -10:00
J. Nick Koston 880cc841f4 Merge branch 'wifi_reconnect_esp_idf' into integration 2025-12-30 09:13:26 -10:00
J. Nick Koston eea2037627 [wifi] Fix ESP-IDF reporting connected before DHCP completes on reconnect 2025-12-30 08:51:00 -10:00
J. Nick Koston 065d0541d1 Merge branch 'buffering' into integration 2025-12-29 21:16:25 -10:00
J. Nick Koston 25a4d7ffab tweak 2025-12-29 21:16:11 -10:00
J. Nick Koston 10b0308bc0 tests 2025-12-29 21:11:39 -10:00
J. Nick Koston 21bd6c5b18 [core] Improve log timestamp accuracy by batching serial reads 2025-12-29 20:59:03 -10:00
J. Nick Koston fe7fa02a4e Merge remote-tracking branch 'upstream/dev' into integration 2025-12-29 17:43:52 -10:00
J. Nick Koston f2b1c51372 Merge remote-tracking branch 'upstream/esp32_default_framework_idf' into integration 2025-12-29 16:54:05 -10:00
J. Nick Koston 3903594bd3 Update esphome/components/esp32/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-29 16:53:51 -10:00
J. Nick Koston c4d73a07b2 Merge branch 'storage_should_update_cmake_cache_arudino_fix' into integration 2025-12-29 16:49:26 -10:00
J. Nick Koston 148dbee6cb Merge branch 'esp32_default_framework_idf' into integration 2025-12-29 16:49:22 -10:00
J. Nick Koston 436b4c4217 [esp32] Change default framework to ESP-IDF 2025-12-29 16:38:11 -10:00
J. Nick Koston 2297d240be cleanup 2025-12-29 16:28:14 -10:00
J. Nick Koston 1d1f2a9877 cover 2025-12-29 16:25:17 -10:00
J. Nick Koston 1472914527 cover 2025-12-29 16:24:10 -10:00
J. Nick Koston c9c0bdb1c6 Merge branch 'dev' into storage_should_update_cmake_cache_arudino_fix 2025-12-29 16:23:39 -10:00
J. Nick Koston 1e5739fb93 [core] Fix incremental build failures when adding components on ESP32-Arduino 2025-12-29 16:22:04 -10:00
J. Nick Koston 3053687273 Merge branch 'ble_client' into integration 2025-12-29 15:52:12 -10:00
J. Nick Koston 5e7d89f302 [ble_client] Use stack buffer for hex formatting in very verbose logging 2025-12-29 15:51:35 -10:00
J. Nick Koston 005dd1ea73 [ble_client] Use stack buffer for hex formatting in very verbose logging 2025-12-29 15:49:48 -10:00
J. Nick Koston 8477dfc6c2 Merge branch 'ethernet_format_hex' into integration 2025-12-29 14:55:28 -10:00
J. Nick Koston 7b274d3347 [ethernet] Use stack buffer for hex formatting in very verbose logging 2025-12-29 14:54:53 -10:00
J. Nick Koston e844d5403e Merge branch 'esp32_ble_tracker' into integration 2025-12-29 14:37:45 -10:00
J. Nick Koston d16b790243 [esp32_ble_tracker] Use stack buffer for hex formatting in very verbose logging 2025-12-29 14:34:08 -10:00
J. Nick Koston 2bcdee5a09 Merge branch 'hlk_fm22x_format' into integration 2025-12-29 14:25:27 -10:00
J. Nick Koston c413b968f3 [hlk_fm22x] Use stack buffer for hex formatting in verbose logging 2025-12-29 14:23:39 -10:00
J. Nick Koston f98ba2827c Merge branch 'i2c' into integration 2025-12-29 14:11:23 -10:00
J. Nick Koston 8f42b3d101 [i2c] Use stack buffer for hex formatting in verbose logging 2025-12-29 14:10:34 -10:00
J. Nick Koston b7e27087b4 [espnow] Use stack buffer for hex formatting in verbose logging 2025-12-29 14:04:36 -10:00
J. Nick Koston 4230d39262 Merge branch 'esp32_improv' into integration 2025-12-29 13:58:27 -10:00
J. Nick Koston fe9de00f54 [esp32_improv] Use stack buffer for hex formatting in verbose logging 2025-12-29 13:56:43 -10:00
J. Nick Koston 0aa275f475 Merge branch 'dev' into logger_esp8266 2025-12-29 13:08:24 -10:00
J. Nick Koston c94f0e16ad Merge branch 'logger_esp8266' into integration 2025-12-29 13:07:19 -10:00
J. Nick Koston c09f555e18 [logger] Exclude unused Arduino Serial objects on ESP8266 2025-12-29 13:06:33 -10:00
J. Nick Koston 70bd83f4f5 Merge remote-tracking branch 'swoboda1337/esp32-arduino-idf-source' into integration 2025-12-29 10:52:11 -10:00
J. Nick Koston 2e5403c743 [epaper_spi] Use stack buffer for hex formatting in command logging 2025-12-29 10:41:39 -10:00
J. Nick Koston eafa86e227 Merge branch 'nextion' into integration 2025-12-29 10:30:49 -10:00
J. Nick Koston 4e93fdd37a [nextion] Use stack buffers for hex formatting in upload logging 2025-12-29 10:29:57 -10:00
J. Nick Koston 05761ba972 Merge branch 'tuya_format_hex' into integration 2025-12-29 10:25:22 -10:00
J. Nick Koston 6ca9220e5b Merge branch 'cse7766' into integration 2025-12-29 10:25:17 -10:00
J. Nick Koston 98f49fa970 [cse7766] Use stack buffer for hex formatting in debug logging 2025-12-29 10:24:32 -10:00
J. Nick Koston 22656095b6 missed one 2025-12-29 10:21:11 -10:00
J. Nick Koston ede4511b12 Merge branch 'fix_opentherm_heap_alloc_logging' into integration 2025-12-29 10:15:47 -10:00
J. Nick Koston 33fafa2427 Merge branch 'shelly_dimmer' into integration 2025-12-29 10:15:37 -10:00
J. Nick Koston 5cd4df2de9 Merge branch 'mirage_protocol' into integration 2025-12-29 10:15:34 -10:00
J. Nick Koston 37b656323c Merge branch 'rc522' into integration 2025-12-29 10:15:31 -10:00
J. Nick Koston b19f0b092a Merge branch 'haier_protocol' into integration 2025-12-29 10:15:27 -10:00
J. Nick Koston f70b56bb04 Merge branch 'jsn_sr04t' into integration 2025-12-29 10:15:16 -10:00
J. Nick Koston 42333473c5 Merge branch 'a02yyuw' into integration 2025-12-29 10:15:11 -10:00
J. Nick Koston 159f9afcc0 Merge branch 'a01nyub' into integration 2025-12-29 10:15:08 -10:00
J. Nick Koston 9f0644cc02 Merge branch 'sonoff_d1' into integration 2025-12-29 10:14:52 -10:00
J. Nick Koston b2b18b26c3 [sonoff_d1] Use stack buffer for hex formatting in logging 2025-12-29 10:14:17 -10:00
Jonathan Swoboda c5be39f499 [esp32] Add IDF framework source for Arduino builds
Add ARDUINO_IDF_VERSION_LOOKUP table mapping Arduino framework versions
to their underlying ESP-IDF versions. When building with Arduino framework,
explicitly add the corresponding IDF framework source to platform_packages
to ensure consistent IDF versions are used.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 15:12:55 -05:00
J. Nick Koston e1ce6b151d [jsn_sr04t] Use stack buffer for hex formatting in error logging 2025-12-29 10:09:27 -10:00
J. Nick Koston 0bc35f5086 [a02yyuw] Use stack buffer for hex formatting in error logging 2025-12-29 10:05:46 -10:00
J. Nick Koston 6ead7f82db [a01nyub] Use stack buffer for hex formatting in error logging 2025-12-29 10:03:25 -10:00
J. Nick Koston 1f832064d1 [opentherm] Replace heap-allocating format calls with printf format specifiers in debug_error 2025-12-29 09:58:13 -10:00
J. Nick Koston b47462d64a [rc522] Use stack buffers for hex formatting in tag logging 2025-12-29 09:53:03 -10:00
J. Nick Koston fdefbeb3dc [remote_base] Use stack buffer for hex formatting in haier protocol logging` 2025-12-29 09:44:08 -10:00
J. Nick Koston 3bd1a6fcf8 [remote_base] Use stack buffer for hex formatting in mirage protocol logging 2025-12-29 09:39:27 -10:00
J. Nick Koston 80551969f1 fix 2025-12-29 09:34:43 -10:00
J. Nick Koston 29a64b9113 [shelly_dimmer] Use stack buffer for hex formatting in command logging 2025-12-29 09:31:17 -10:00
J. Nick Koston f1f0f9d7bf Merge remote-tracking branch 'upstream/ota_drop_md5' into integration 2025-12-29 08:45:46 -10:00
J. Nick Koston 8110d36f1c Merge branch 'dev' into ota_drop_md5 2025-12-29 08:45:00 -10:00
J. Nick Koston 2f5e3193c7 Merge branch 'ota_drop_md5' into integration 2025-12-28 22:35:01 -10:00
J. Nick Koston 5f387e5d6c tweaks 2025-12-28 22:34:49 -10:00
J. Nick Koston dbb87f53e1 Merge branch 'ota_drop_md5' into integration 2025-12-28 22:28:26 -10:00
J. Nick Koston fe8f9c160d Merge branch 'ota_logging_cleanups' into integration 2025-12-28 22:27:29 -10:00
J. Nick Koston d2217a2534 [ota] Remove MD5 authentication support 2025-12-28 22:26:04 -10:00
J. Nick Koston 8dd803a05e Update esphome/components/esphome/ota/ota_esphome.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-28 22:08:27 -10:00
J. Nick Koston 3ef0a7527f Merge branch 'ota_logging_cleanups' into integration 2025-12-28 22:03:11 -10:00
J. Nick Koston bf1d3c534d [ota] Use precision format specifier for auth logging 2025-12-28 22:02:46 -10:00
J. Nick Koston 600c2453f4 Merge branch 'stack_copy_not_needed_wifi' into integration 2025-12-28 21:54:25 -10:00
J. Nick Koston ab332b588f [wifi] Use precision format specifier for SSID logging to avoid stack copy 2025-12-28 21:53:53 -10:00
J. Nick Koston 495b128af9 Merge branch 'no_send_object_id' into integration 2025-12-28 21:41:59 -10:00
J. Nick Koston 70038ea0a8 tweak 2025-12-28 17:42:31 -10:00
J. Nick Koston 463a5b6af9 tweak 2025-12-28 17:37:25 -10:00
J. Nick Koston 2756a027f7 Merge branch 'object_id_no_ram' into no_send_object_id 2025-12-28 17:17:05 -10:00
J. Nick Koston 64b61809a4 Merge branch 'dev' into object_id_no_ram 2025-12-28 17:16:35 -10:00
J. Nick Koston d65284e760 Merge branch 'no_send_object_id' into integration 2025-12-28 15:34:55 -10:00
J. Nick Koston 7a091c0ac6 [api] Remove object_id from API protocol - clients compute it from name 2025-12-28 15:23:32 -10:00
J. Nick Koston c81aec9e58 Merge branch 'dev' into object_id_no_ram 2025-12-28 14:51:14 -10:00
J. Nick Koston 550c8c40d3 Merge branch 'min_chip_revision' into integration 2025-12-28 13:43:22 -10:00
J. Nick Koston cd3dadb3c9 reduce 2025-12-28 13:43:04 -10:00
J. Nick Koston c6857cb5fe Merge branch 'min_chip_revision' into integration 2025-12-28 13:31:52 -10:00
J. Nick Koston 16315d72b6 define 2025-12-28 13:30:45 -10:00
J. Nick Koston 56a0fe0a1a Merge branch 'min_chip_revision' into integration 2025-12-28 13:26:08 -10:00
J. Nick Koston 90af7e3088 [esp32] Add minimum_chip_revision setting and log chip revision at startup 2025-12-28 13:20:06 -10:00
J. Nick Koston 07e844453d Merge branch 'esp8266_waveform' into integration 2025-12-27 22:02:28 -10:00
J. Nick Koston 080e461184 tweaks 2025-12-27 21:59:44 -10:00
J. Nick Koston 05f19ea644 tweaks 2025-12-27 21:56:02 -10:00
J. Nick Koston 8751c1d32c Merge branch 'esp8266_waveform' into integration 2025-12-27 21:38:58 -10:00
J. Nick Koston ebe43228e3 tweaks 2025-12-27 21:33:08 -10:00
J. Nick Koston 0f8bef5543 fixes 2025-12-27 21:29:00 -10:00
J. Nick Koston 53fa89d0e3 tweaks 2025-12-27 21:27:34 -10:00
J. Nick Koston ca3b9a0e55 [esp8266] Exclude unused waveform code to save ~596 bytes RAM 2025-12-27 21:24:24 -10:00
J. Nick Koston f0894ab958 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 19:06:25 -10:00
J. Nick Koston c410171a63 remove old way 2025-12-27 19:06:09 -10:00
J. Nick Koston 5f7863af21 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:58:47 -10:00
J. Nick Koston 95ae7caf24 mark final 2025-12-27 18:58:35 -10:00
J. Nick Koston 4d6bc262da Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:54:31 -10:00
J. Nick Koston e698a88380 fix 2025-12-27 18:54:11 -10:00
J. Nick Koston ee94ee7e59 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:51:00 -10:00
J. Nick Koston 30b169a4cf fix 2025-12-27 18:50:34 -10:00
J. Nick Koston 47c475a03c wip 2025-12-27 18:40:14 -10:00
J. Nick Koston a522447bed Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:36:10 -10:00
J. Nick Koston e15bac46cb missed one 2025-12-27 18:35:57 -10:00
J. Nick Koston 6f5900713c wip 2025-12-27 18:32:14 -10:00
J. Nick Koston dafe9da1eb Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:24:15 -10:00
J. Nick Koston b8d246b706 fix 2025-12-27 18:24:01 -10:00
J. Nick Koston 23d88933fd Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:20:47 -10:00
J. Nick Koston 274b1e26ce tweak 2025-12-27 18:20:29 -10:00
J. Nick Koston dc51abbd82 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 18:18:55 -10:00
J. Nick Koston 0217c130dd tweak 2025-12-27 18:15:11 -10:00
J. Nick Koston 1290929684 tweak 2025-12-27 18:14:11 -10:00
J. Nick Koston 96b2888505 tweak 2025-12-27 18:06:57 -10:00
J. Nick Koston d2bab26e67 tweak 2025-12-27 18:05:26 -10:00
J. Nick Koston d404e37449 reduce 2025-12-27 17:49:25 -10:00
J. Nick Koston f9659fc693 reduce 2025-12-27 17:49:04 -10:00
J. Nick Koston ce71e7bccd Merge branch 'get_peername_stack_save_ram' into integration 2025-12-27 17:10:50 -10:00
J. Nick Koston f4cb379d6b tweaks 2025-12-27 17:01:10 -10:00
J. Nick Koston 49e0e66aee Merge branch 'dev' into get_peername_stack_save_ram 2025-12-27 16:51:46 -10:00
J. Nick Koston 3d82118bd5 Merge branch 'dev' into api_avoid_copies 2025-12-27 16:45:43 -10:00
J. Nick Koston 92f44da2cf Merge branch 'tuya_format_hex' into integration 2025-12-27 16:34:37 -10:00
J. Nick Koston db82a3f5f8 [tuya] Use stack buffers for hex logging to avoid heap allocations 2025-12-27 16:10:38 -10:00
J. Nick Koston e6891d4027 Merge branch 'ldxxxx_no_heap' into integration 2025-12-27 15:54:01 -10:00
J. Nick Koston 60c6d94083 remove tests 2025-12-27 15:48:43 -10:00
J. Nick Koston e1a5830d9f Merge branch 'zwave_no_alloc_hex' of https://github.com/esphome/esphome into zwave_no_alloc_hex 2025-12-27 15:46:23 -10:00
J. Nick Koston 783604b8b4 [ld2410][ld2412][ld2450] Use stack buffers for hex logging 2025-12-27 15:45:17 -10:00
J. Nick Koston 53ad49086d fixes 2025-12-27 15:40:32 -10:00
J. Nick Koston a2d25b532a Merge branch 'zwave_no_alloc_hex' into integration 2025-12-27 15:23:43 -10:00
J. Nick Koston 05c51b6ced Add isolated tests for hex formatting functions 2025-12-27 15:18:47 -10:00
J. Nick Koston 89f326be30 reduce 2025-12-27 15:12:30 -10:00
J. Nick Koston 38850a9ab3 more dry 2025-12-27 15:08:44 -10:00
J. Nick Koston 4d4498e81f fix max 2025-12-27 14:57:42 -10:00
J. Nick Koston d1707ac4d6 Merge branch 'zwave_no_alloc_hex' into integration 2025-12-27 14:39:36 -10:00
J. Nick Koston 61970bd1de [core] Add format_hex_pretty_to buffer helper and reduce code duplication 2025-12-27 14:34:33 -10:00
J. Nick Koston 09f03dcf0c Merge branch 'mqtt_ip_no_alloc' into integration 2025-12-27 14:08:18 -10:00
J. Nick Koston adaebd4b4e [mqtt] Avoid heap allocations when logging IP addresses 2025-12-27 14:07:07 -10:00
J. Nick Koston 9f2d34bacb Merge remote-tracking branch 'origin/no_heap_alloc_start_dnsserver' into integration 2025-12-27 14:03:44 -10:00
J. Nick Koston 6f780a63ab Merge branch 'udp_multicast_avoid_heap' into integration 2025-12-27 14:02:12 -10:00
J. Nick Koston 9b2488cd8d [udp] Avoid heap allocations when joining multicast groups 2025-12-27 14:00:38 -10:00
J. Nick Koston e76bc6b357 Merge remote-tracking branch 'origin/integration' into integration 2025-12-27 12:35:36 -10:00
J. Nick Koston 0867e96585 Merge branch 'esp-idf-5.5.2' into integration 2025-12-27 12:35:24 -10:00
J. Nick Koston 1618c69923 Merge remote-tracking branch 'upstream/dev' into esp-idf-5.5.2 2025-12-27 12:02:07 -10:00
J. Nick Koston 6dd1175fe7 Merge branch 'improv_stack_format' into integration 2025-12-27 11:30:02 -10:00
J. Nick Koston fe651f1b8d Merge branch 'wifi_no_heap_logging_cap_portal' into integration 2025-12-27 11:29:53 -10:00
J. Nick Koston 3768a269ad nolint 2025-12-27 11:29:29 -10:00
J. Nick Koston b9d80a5ef3 [esp32_improv] Use stack buffer for URL formatting to avoid heap allocation 2025-12-27 11:27:28 -10:00
J. Nick Koston 1aebe90ad5 [esp32_improv] Use stack buffer for URL formatting to avoid heap allocation 2025-12-27 11:26:24 -10:00
J. Nick Koston 06c4325525 lint 2025-12-27 11:21:44 -10:00
Jonathan Swoboda 343316ac2d [esp32] Bump to ESP-IDF 5.5.2, Arduino 3.3.5, platform 55.3.35
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-27 14:33:32 -05:00
J. Nick Koston cc0b63a277 fix 2025-12-27 09:32:22 -10:00
J. Nick Koston 4271a64ce4 fix 2025-12-27 09:31:06 -10:00
J. Nick Koston 52c692c99b [wifi] Use stack buffers for IP address logging to avoid heap allocations 2025-12-27 09:26:44 -10:00
J. Nick Koston a8fb40c946 [wifi] Use stack buffers for IP address logging to avoid heap allocations 2025-12-27 09:24:17 -10:00
J. Nick Koston 0b621bb0a3 [captive_portal] Use stack buffer for IP address logging in DNS server 2025-12-27 09:07:44 -10:00
J. Nick Koston 7bc7089fbe Merge branch 'wifi_alloc_during_connect' into integration 2025-12-27 08:58:11 -10:00
J. Nick Koston 32880e3d5a [wifi] Use wifi_ssid_to() to avoid heap allocations in automation and connection checks 2025-12-27 08:57:39 -10:00
J. Nick Koston 206793d4ab Merge remote-tracking branch 'upstream/dev' into integration 2025-12-27 08:52:13 -10:00
J. Nick Koston 47ae027026 Merge branch 'esp8266_native_framework_update' into integration 2025-12-26 23:04:31 -10:00
J. Nick Koston cfe9e6204b preen 2025-12-26 23:01:18 -10:00
J. Nick Koston 547aa59c18 Merge branch 'esp8266_native_framework_update' into integration 2025-12-26 22:37:59 -10:00
J. Nick Koston 5b9c7d1322 Update esphome/components/ota/ota_backend_esp8266.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-26 22:36:12 -10:00
J. Nick Koston d0ba608ffa add comment 2025-12-26 22:35:27 -10:00
J. Nick Koston c91f56171b Update esphome/components/ota/ota_backend_esp8266.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-26 22:34:22 -10:00
J. Nick Koston 15ad89f66d Update esphome/components/ota/ota_backend_esp8266.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-26 22:33:38 -10:00
J. Nick Koston 8f0de69e9f Merge branch 'esp8266_native_framework_update' into integration 2025-12-26 22:23:40 -10:00
J. Nick Koston 37de782e3e guard 2025-12-26 22:13:10 -10:00
J. Nick Koston a5574bbabe dry 2025-12-26 21:59:47 -10:00
J. Nick Koston 1bea4df45e guard 2025-12-26 21:51:09 -10:00
J. Nick Koston 57829ddd76 fixes 2025-12-26 20:23:13 -10:00
J. Nick Koston 99722fb04f fixes 2025-12-26 20:22:16 -10:00
J. Nick Koston faa4cf7483 fixes 2025-12-26 20:19:25 -10:00
J. Nick Koston 16e96dfbc0 fixes 2025-12-26 20:18:25 -10:00
J. Nick Koston 062195be95 native framework updater PoC 2025-12-26 20:12:27 -10:00
J. Nick Koston b2133c75f1 native framework updater PoC 2025-12-26 20:07:20 -10:00
J. Nick Koston 655a746e0d Merge branch 'wifi_listeners' into integration 2025-12-26 14:57:39 -10:00
J. Nick Koston a2ea545e10 make the bot happy 2025-12-26 14:57:26 -10:00
J. Nick Koston 6fe5d14b3f Merge branch 'wifi_listeners' into integration 2025-12-26 14:44:41 -10:00
J. Nick Koston f446860166 might as well make it span 2025-12-26 14:43:01 -10:00
J. Nick Koston 02e8603051 Merge branch 'wifi_listeners' into integration 2025-12-26 14:35:32 -10:00
J. Nick Koston 3fe4e18dc4 [wifi] Use StringRef for WiFiConnectStateListener to avoid heap allocation 2025-12-26 14:34:06 -10:00
J. Nick Koston b221673ba7 Merge branch 'ethernet_logging_less_alloc' into integration 2025-12-26 13:44:44 -10:00
J. Nick Koston e711cd0e41 dry it up 2025-12-26 13:39:57 -10:00
J. Nick Koston 307489cd59 missed one 2025-12-26 13:33:01 -10:00
J. Nick Koston e7c0d13500 Merge branch 'dev' into ethernet_logging_less_alloc 2025-12-26 12:56:06 -10:00
J. Nick Koston 3f20a54240 Merge branch 'web_server_more_strings_ram' into integration 2025-12-25 23:07:17 -10:00
J. Nick Koston e9e301c835 cleanup 2025-12-25 23:05:29 -10:00
J. Nick Koston 8c90477387 more 2025-12-25 23:02:22 -10:00
J. Nick Koston a394fe8ad2 Merge branch 'web_server_more_strings_ram' into integration 2025-12-25 22:52:46 -10:00
J. Nick Koston d642e9d85e [web_server] Move HTTP header strings to flash on ESP8266 2025-12-25 22:52:01 -10:00
J. Nick Koston fa05018b2c Merge branch 'object_id_no_ram' into integration 2025-12-25 22:26:56 -10:00
J. Nick Koston 63d7ab0d40 Merge branch 'udp_listen_logging_alloc' into integration 2025-12-25 22:03:04 -10:00
J. Nick Koston 51f95c7f9a [udp] Use stack buffer for listen address logging in dump_config 2025-12-25 22:01:57 -10:00
J. Nick Koston 2ac67b59e8 Merge branch 'ethernet_logging_less_alloc' into integration 2025-12-25 21:51:39 -10:00
J. Nick Koston 0767df02d9 [ethernet] Eliminate heap allocations in dump_config logging 2025-12-25 21:50:54 -10:00
J. Nick Koston 984822388d Merge branch 'web_server_namespace' into integration 2025-12-25 21:25:32 -10:00
J. Nick Koston cc49ec82bf [web_server] Use C++17 nested namespace syntax 2025-12-25 21:24:47 -10:00
J. Nick Koston cc18092e7a Merge branch 'alarm_control_panel_cleanup' into integration 2025-12-25 21:17:59 -10:00
J. Nick Koston 825d12553e [alarm_control_panel] Use C++17 nested namespace and remove unused include 2025-12-25 21:17:13 -10:00
J. Nick Koston 0bd82b19b3 Merge branch 'text_sensor_avoid_copies' into integration 2025-12-25 21:10:41 -10:00
J. Nick Koston 460792e180 [text_sensor] Return state by const reference to avoid copies 2025-12-25 21:09:49 -10:00
J. Nick Koston 5411008c49 Merge branch 'wifi_info_less_alloc' into integration 2025-12-25 20:47:01 -10:00
J. Nick Koston 9e13f6ac4c copilot is wrong, add comment 2025-12-25 20:46:20 -10:00
J. Nick Koston b8cb6fedb3 address copilot review comments 2025-12-25 20:38:50 -10:00
J. Nick Koston 68f36ae736 address copilot review comments 2025-12-25 20:38:38 -10:00
J. Nick Koston 6cbe3e306b Merge branch 'wifi_info_less_alloc' into integration 2025-12-25 16:03:31 -10:00
J. Nick Koston cae7163741 fixes 2025-12-25 16:03:12 -10:00
J. Nick Koston 10aee92762 Merge branch 'wifi_avoid_copy_logging' into integration 2025-12-25 16:01:04 -10:00
J. Nick Koston 736a1bb019 Merge branch 'wifi_info_less_alloc' into integration 2025-12-25 16:00:58 -10:00
J. Nick Koston ca652b2065 [wifi_info] Reduce heap allocations in text sensor formatting 2025-12-25 15:58:17 -10:00
J. Nick Koston 7608b8ee84 [wifi] Avoid unnecessary string copy in failed connection logging 2025-12-25 15:06:36 -10:00
J. Nick Koston d490594609 Merge remote-tracking branch 'upstream/response_api' into integration 2025-12-25 14:51:28 -10:00
J. Nick Koston 8715a60b7a [api] Use StringRef in send_action_response and send_execute_service_response 2025-12-25 14:48:19 -10:00
J. Nick Koston dd99c565ca Merge remote-tracking branch 'upstream/siren_zero_copy' into integration 2025-12-25 14:37:45 -10:00
J. Nick Koston 20df6a7f9a [api] Use pointer to FixedVector for siren tones field 2025-12-25 14:36:06 -10:00
J. Nick Koston 3e4631baa9 Merge remote-tracking branch 'upstream/bytes_zero_copy_default_api' into integration 2025-12-25 14:20:31 -10:00
J. Nick Koston 6af34f1e2a Merge remote-tracking branch 'upstream/handle_action_response_opt' into integration 2025-12-25 14:20:28 -10:00
J. Nick Koston 0ba15b51c6 Merge remote-tracking branch 'upstream/voice_assist_zero_copy' into integration 2025-12-25 14:20:22 -10:00
J. Nick Koston 8004602ef2 [voice_assistant] Use zero-copy buffer access for audio data` 2025-12-25 14:14:06 -10:00
J. Nick Koston a3ec57eaf4 [api] Use StringRef in handle_action_response to avoid temporary string 2025-12-25 14:01:40 -10:00
J. Nick Koston 98460ac828 [api] Auto-generate zero-copy pointer access for incoming API bytes fields 2025-12-25 13:56:08 -10:00
J. Nick Koston 7c739592a8 Merge branch 'dev' into get_peername_stack_save_ram 2025-12-25 09:02:44 -10:00
J. Nick Koston 2b10408e28 Merge remote-tracking branch 'upstream/string_ref_for_all_incoming_api_strings' into integration 2025-12-25 09:02:03 -10:00
J. Nick Koston 33d1efe27c tidy 2025-12-24 22:21:00 -10:00
J. Nick Koston 0e9aaf1a8b fixes 2025-12-24 22:07:48 -10:00
J. Nick Koston 7f4fad74c2 fixes 2025-12-24 22:07:35 -10:00
J. Nick Koston 8b72c3c0ef [api] Auto-generate StringRef for incoming API string fields 2025-12-24 22:05:19 -10:00
J. Nick Koston da1955fefc dry up tests 2025-12-23 07:54:52 -10:00
J. Nick Koston 8505a4dfaf dry up tests 2025-12-23 07:52:33 -10:00
J. Nick Koston 071e42d4e7 Merge remote-tracking branch 'origin/object_id_no_ram' into object_id_no_ram 2025-12-23 07:46:07 -10:00
J. Nick Koston 38beb613c2 simplify 2025-12-23 07:45:46 -10:00
J. Nick Koston 058c637b59 Merge branch 'dev' into object_id_no_ram 2025-12-23 06:59:16 -10:00
J. Nick Koston 89ef523990 tweak 2025-12-23 01:01:20 -10:00
J. Nick Koston 0ec741c425 one more case 2025-12-23 00:48:25 -10:00
J. Nick Koston c265436b07 cover 2025-12-23 00:45:25 -10:00
J. Nick Koston 04a75cf200 cover 2025-12-23 00:24:45 -10:00
J. Nick Koston 83598d6798 cover 2025-12-23 00:21:20 -10:00
J. Nick Koston fa39b6bebd fixes 2025-12-23 00:16:53 -10:00
J. Nick Koston 1beec0ecf1 bug for bug compat 2025-12-23 00:05:12 -10:00
J. Nick Koston 3ef4e0bc47 fixes 2025-12-23 00:00:03 -10:00
J. Nick Koston bda2db9184 Merge branch 'migrate_remain_get_object_id' into object_id_no_ram 2025-12-22 23:19:25 -10:00
J. Nick Koston 3009da14f1 tweaks 2025-12-22 23:17:15 -10:00
J. Nick Koston d334d0d458 tweaks 2025-12-22 23:16:28 -10:00
J. Nick Koston 25b340cbbf Merge branch 'migrate_remain_get_object_id' into object_id_no_ram 2025-12-22 23:13:47 -10:00
J. Nick Koston fa2bc21d3d tweaks 2025-12-22 23:13:28 -10:00
J. Nick Koston 83d65cff5d Merge branch 'migrate_remain_get_object_id' into object_id_no_ram 2025-12-22 23:12:09 -10:00
J. Nick Koston 9205cb3d67 tweaks 2025-12-22 23:11:42 -10:00
J. Nick Koston f9a4a8a82e tweaks 2025-12-22 23:11:12 -10:00
J. Nick Koston 2d6b9b3888 more cover 2025-12-22 22:06:48 -10:00
J. Nick Koston da8e23f968 more cover 2025-12-22 21:58:58 -10:00
J. Nick Koston 4bec2dc75c tweak 2025-12-22 21:51:57 -10:00
J. Nick Koston 6d5ab00385 tweak 2025-12-22 21:42:50 -10:00
J. Nick Koston 3e1db740ea cover 2025-12-22 21:40:10 -10:00
J. Nick Koston e13f48b348 preen 2025-12-22 20:10:36 -10:00
J. Nick Koston 9f2d2eed8c preen 2025-12-22 20:08:38 -10:00
J. Nick Koston b6b871cb73 preen 2025-12-22 20:07:02 -10:00
J. Nick Koston 452246e1c5 [core] Remove object_id RAM storage - no longer in hot path after #12627 2025-12-22 20:01:57 -10:00
J. Nick Koston 7944fe6993 [core] Deprecate get_object_id() and migrate remaining usages to get_object_id_to() 2025-12-22 15:13:59 -10:00
J. Nick Koston 6ae3d9c769 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-22 12:09:02 -10:00
J. Nick Koston 689e1d6ca0 Merge branch 'web_server_stack_format' into integration 2025-12-22 11:11:56 -10:00
J. Nick Koston 7b82b3b584 reduce churn 2025-12-22 11:11:16 -10:00
J. Nick Koston 36c0553cf7 Merge branch 'web_server_stack_format' into integration 2025-12-22 11:09:56 -10:00
J. Nick Koston d3b3358527 inline it 2025-12-22 11:09:38 -10:00
J. Nick Koston b950d65a7b Merge branch 'move_comment_build_info' into integration 2025-12-22 10:56:34 -10:00
J. Nick Koston b2a6e6e078 undeprecate get_comment 2025-12-22 10:53:11 -10:00
J. Nick Koston 972cf01763 Merge remote-tracking branch 'origin/safe_mode_blocking_on_success' into integration 2025-12-22 10:49:24 -10:00
J. Nick Koston 029df4ff3d [safe_mode] Remove unnecessary blocking sync from successful boot reset 2025-12-22 10:48:10 -10:00
J. Nick Koston 21ba0e5a2b Merge remote-tracking branch 'origin/safe_mode_blocking_on_success' into integration 2025-12-22 10:46:10 -10:00
J. Nick Koston 8bb57f90de Merge branch 'web_server_json_priv' into integration 2025-12-22 10:45:59 -10:00
J. Nick Koston 145d09c8dd [safe_mode] Remove unnecessary blocking sync from successful boot reset 2025-12-22 10:41:47 -10:00
J. Nick Koston 5373393714 [safe_mode] Remove unnecessary blocking sync from successful boot reset 2025-12-22 10:39:30 -10:00
J. Nick Koston 21f6fefd98 [web_server] Make internal JSON helper methods private 2025-12-22 10:31:24 -10:00
J. Nick Koston efc30ed198 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-22 10:13:57 -10:00
J. Nick Koston 63005eaa06 Merge remote-tracking branch 'swoboda1337/deprecate-using-esp-idf' into integration 2025-12-22 09:20:05 -10:00
Jonathan Swoboda 676fbf6161 Fix 2025-12-22 14:08:27 -05:00
Jonathan Swoboda fb009f47f1 Deprecate again 2025-12-22 14:08:04 -05:00
J. Nick Koston b272966d19 Merge branch 'deprecate-using-esp-idf' into integration 2025-12-22 08:48:51 -10:00
J. Nick Koston b0c99ec1ce Merge branch 'cleanup-old-deprecations' into integration 2025-12-22 08:48:47 -10:00
J. Nick Koston 218c8e4d75 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-22 08:48:37 -10:00
J. Nick Koston 2a53a89cee Merge branch 'dev' into esp8266_prefs_avoid_heap 2025-12-22 07:58:00 -10:00
J. Nick Koston b191461929 Merge branch 'dev' into move_comment_build_info 2025-12-22 07:57:34 -10:00
Jonathan Swoboda 03db8e4f54 Fix 2025-12-22 12:22:04 -05:00
Jonathan Swoboda ce86f01cba Change 2025-12-22 12:02:26 -05:00
Jonathan Swoboda bee5847464 Fix 2025-12-22 11:34:49 -05:00
Jonathan Swoboda 4ffbdd9a3a Fix 2025-12-22 11:23:43 -05:00
Jonathan Swoboda c5ac62676c Fix 2025-12-22 11:19:56 -05:00
Jonathan Swoboda 63b8fa004c [core] Fix mdns and network for using_esp_idf deprecation
- mdns: Remove ESPmDNS Arduino library for ESP32, use IDF component for both frameworks
- network: Use using_arduino for IPv6 to maintain Arduino behavior (always True)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-22 11:09:37 -05:00
Jonathan Swoboda 66b46ea81e [core] Deprecate using_esp_idf, replace with is_esp32
Arduino on ESP32 now builds ESP-IDF as a component, so add_idf_sdkconfig_option()
and add_idf_component() work with both Arduino and ESP-IDF frameworks.

The using_esp_idf property is deprecated and now emits a warning. All internal
usages have been replaced with is_esp32.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-22 11:00:27 -05:00
Jonathan Swoboda fc019bf3e3 [core] Remove deprecated config options from before 2025
Remove old deprecated configuration options that have been showing
error messages for years:

- bedjet/climate: ble_client_id, time_id, receive_timeout (2022)
- bh1750: resolution, measurement_duration (2022)
- ethernet: enable_mdns (2021)
- wifi: enable_mdns (2021)
- i2c: multiplexer (2021)
- uart: invert (2021)
- tca9548a: scan (2021)
- tuya/light: rgb_datapoint, hsv_datapoint (2023)
- remote_base: receiver_id in triggers/dumpers, coolix data (2020-2023)
- sensor: last_reset_type (2021)
- template/switch: restore_state (2023)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-22 10:46:53 -05:00
J. Nick Koston da872dcbf3 Merge branch 'web_server_stack_format' into integration 2025-12-21 22:26:12 -10:00
J. Nick Koston a015cbedfe Merge branch 'dev' into api_avoid_copies 2025-12-21 22:03:47 -10:00
J. Nick Koston c7006f8c33 Merge remote-tracking branch 'upstream/dev' into web_server_stack_format 2025-12-21 22:01:29 -10:00
J. Nick Koston fe84aba2ee Merge branch 'storage_class_optimize' into integration 2025-12-21 19:30:10 -10:00
J. Nick Koston f17a0000aa lvgl has a special case 2025-12-21 17:41:48 -10:00
J. Nick Koston 8db6ff4039 Merge branch 'storage_class_optimize' into integration 2025-12-21 17:33:16 -10:00
J. Nick Koston ff808618da better to be a kw 2025-12-21 17:27:49 -10:00
J. Nick Koston 57baf7ac7b [codegen] Add static storage class to global variables for size optimization 2025-12-21 17:20:01 -10:00
J. Nick Koston da8c4cd654 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-21 12:13:04 -10:00
J. Nick Koston 9aff4a15a3 Merge branch 'esp32_camera_latancy_reduce' into integration 2025-12-21 07:53:18 -10:00
J. Nick Koston dbf494fd98 Merge branch 'fix_slow_esp32_camera_at_high_fps' into esp32_camera_latancy_reduce 2025-12-21 07:53:07 -10:00
J. Nick Koston 219cf26d98 tweak logging 2025-12-21 07:36:25 -10:00
J. Nick Koston 14ea235939 Merge branch 'esp32_camera_latancy_reduce' into integration 2025-12-20 21:59:01 -10:00
J. Nick Koston 26f1be40dc pro 2025-12-20 21:58:24 -10:00
J. Nick Koston 0467fdbb61 Merge branch 'esp32_camera_latancy_reduce' into integration 2025-12-20 21:31:46 -10:00
J. Nick Koston c1463a569c reorder 2025-12-20 21:31:30 -10:00
J. Nick Koston 6dd41a14c4 try send right away 2025-12-20 21:17:19 -10:00
J. Nick Koston 9855d86616 try send right away 2025-12-20 21:10:22 -10:00
J. Nick Koston ffe459e666 [esp32_camera] Reduce loop overhead and improve frame latency with wake_loop_threadsafe 2025-12-20 15:30:24 -10:00
J. Nick Koston 1f15023d30 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-20 14:49:34 -10:00
J. Nick Koston 9d01357e8a Merge branch 'ha_state_only_copy_state' into integration 2025-12-20 11:46:04 -10:00
J. Nick Koston d6cf80f95a Merge remote-tracking branch 'origin/syslog_no_heap' into integration 2025-12-20 11:26:06 -10:00
J. Nick Koston 8d14c1ceb1 Merge remote-tracking branch 'origin/no_alloc_object_id' into integration 2025-12-20 11:25:54 -10:00
J. Nick Koston 9ca2b0adb7 Merge remote-tracking branch 'origin/syslog_ns' into integration 2025-12-20 11:25:40 -10:00
J. Nick Koston 945d5890b5 Revert "[improv_serial] Use stack buffer for RSSI formatting"
This reverts commit c0ab783ba2.
2025-12-20 11:25:22 -10:00
J. Nick Koston 2b53976b0f [syslog] Use C++17 nested namespace syntax 2025-12-20 11:23:21 -10:00
J. Nick Koston 589942f52c simplify logic 2025-12-20 11:11:54 -10:00
J. Nick Koston a9c294bc03 copilot edge cases 2025-12-20 11:09:52 -10:00
J. Nick Koston a0d1a10d17 Update tests/integration/test_syslog.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-20 11:00:31 -10:00
J. Nick Koston 496c09b333 bounds fixes 2025-12-20 11:00:03 -10:00
J. Nick Koston 1dfb808590 Merge branch 'improv_serial_stack_format' into integration 2025-12-20 10:58:24 -10:00
J. Nick Koston c0ab783ba2 [improv_serial] Use stack buffer for RSSI formatting 2025-12-20 10:55:16 -10:00
J. Nick Koston 6b7115f40e Merge branch 'web_server_no_heap_churn_prints' into integration 2025-12-20 10:49:46 -10:00
J. Nick Koston 42610d5a6f 8266 2025-12-20 10:48:52 -10:00
J. Nick Koston ad17c8524c Merge branch 'web_server_no_heap_churn_prints' into integration 2025-12-20 10:41:15 -10:00
J. Nick Koston 1a60ce8cc6 Merge branch 'dev' into no_alloc_object_id 2025-12-20 10:40:52 -10:00
J. Nick Koston de3e72af04 [web_server] Replace str_sprintf with stack buffers 2025-12-20 10:39:19 -10:00
J. Nick Koston 43046b2c55 Merge remote-tracking branch 'origin/syslog_no_heap' into integration 2025-12-20 10:31:48 -10:00
J. Nick Koston 808f1ac078 Merge branch 'no_alloc_object_id' into integration 2025-12-20 10:31:40 -10:00
J. Nick Koston c22eff24d8 [syslog] Eliminate heap allocations in log path 2025-12-20 10:24:46 -10:00
J. Nick Koston f470cf5c87 add missing USE_API guard 2025-12-20 10:05:50 -10:00
J. Nick Koston 832d232814 Merge branch 'fix_slow_esp32_camera_at_high_fps' into integration 2025-12-20 09:13:13 -10:00
J. Nick Koston 6efb167b65 edge case 2025-12-20 09:12:55 -10:00
J. Nick Koston 4d99632a61 [esp32_camera] Throttle frame logging to reduce overhead and improve throughput 2025-12-20 09:02:39 -10:00
J. Nick Koston 6cb66559bc fix test 2025-12-20 08:42:52 -10:00
J. Nick Koston e812d8683a tests 2025-12-20 07:23:55 -10:00
J. Nick Koston cc9f42cc9a [api] Add zero-copy support for Home Assistant state response messages 2025-12-20 07:22:36 -10:00
J. Nick Koston 89012f80a9 Merge branch 'dev' into api_avoid_copies 2025-12-20 06:48:24 -10:00
J. Nick Koston 9a54cc12ba Merge branch 'dev' into no_alloc_object_id 2025-12-20 06:47:49 -10:00
J. Nick Koston bed779b1c9 Merge branch 'alarm_control_flakey' into integration 2025-12-19 21:18:08 -10:00
J. Nick Koston a31bef5390 [tests] Fix race condition in alarm control panel state transitions test 2025-12-19 21:01:31 -10:00
J. Nick Koston 2d792ddf40 Merge branch 'noise_api_zero_copy' into integration 2025-12-19 20:12:58 -10:00
J. Nick Koston 7365885464 Merge branch 'dev' into noise_api_zero_copy 2025-12-19 20:12:47 -10:00
J. Nick Koston df5193ff73 fix merge 2025-12-19 20:11:21 -10:00
J. Nick Koston 2d6103f0d0 Merge branch 'text_sensor_avoid_copies_const_ref' into integration 2025-12-19 20:07:35 -10:00
J. Nick Koston 4036671583 Update esphome/components/sensor/sensor.cpp 2025-12-19 20:06:22 -10:00
J. Nick Koston 4a1db67566 Update esphome/components/sensor/sensor.cpp 2025-12-19 20:06:10 -10:00
J. Nick Koston 0814419d61 Update esphome/components/text_sensor/text_sensor.h 2025-12-19 20:05:30 -10:00
J. Nick Koston c799ce05f7 Update esphome/components/text_sensor/text_sensor.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 20:05:11 -10:00
J. Nick Koston 8088f09902 Update esphome/components/text_sensor/text_sensor.h 2025-12-19 20:05:05 -10:00
J. Nick Koston 0cff5326bc Update esphome/components/text_sensor/text_sensor.cpp 2025-12-19 20:04:36 -10:00
J. Nick Koston 60d66365ad Update esphome/components/sensor/sensor.cpp 2025-12-19 20:04:17 -10:00
J. Nick Koston f727edab58 Update esphome/components/text_sensor/text_sensor.cpp 2025-12-19 20:03:43 -10:00
J. Nick Koston a0647cbe71 Update esphome/components/text_sensor/text_sensor.cpp 2025-12-19 20:03:14 -10:00
J. Nick Koston 0543d65969 Update esphome/components/text_sensor/text_sensor.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 20:02:54 -10:00
J. Nick Koston 4bfe09768c Update esphome/components/sensor/sensor.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 20:02:31 -10:00
J. Nick Koston 4d0a54d9f0 Update esphome/components/sensor/sensor.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 20:02:24 -10:00
J. Nick Koston 4739e9cabe Merge branch 'dev' into text_sensor_avoid_copies_const_ref 2025-12-19 19:13:33 -10:00
J. Nick Koston 4c4c6fb257 Merge branch 'parition_callbacks' into text_sensor_avoid_copies_const_ref 2025-12-19 19:12:10 -10:00
J. Nick Koston 68b7fbdecf Merge branch 'lazy_allocate_entity_callbacks' - add LazyCallbackManager for other entities 2025-12-19 17:19:39 -10:00
J. Nick Koston e7ea17fcba [core] Migrate entities to use lazy callbacks 2025-12-19 17:13:27 -10:00
J. Nick Koston 4eea8082cd Merge branch 'name_with_suffix_ble' into integration 2025-12-19 16:01:24 -10:00
J. Nick Koston 78899831cf dry 2025-12-19 15:55:20 -10:00
J. Nick Koston 6cac302c01 Merge branch 'name_with_suffix_ble' into integration 2025-12-19 15:52:45 -10:00
J. Nick Koston a76461cf5f [esp32_ble] Avoid string allocation when setting BLE device name 2025-12-19 15:50:25 -10:00
J. Nick Koston 6a9a6554e1 Merge branch 'no_alloc_object_id' into integration 2025-12-19 15:25:38 -10:00
J. Nick Koston 6904f0f3c4 fix 2025-12-19 15:25:25 -10:00
J. Nick Koston 7eca8905ea refactor 2025-12-19 15:13:16 -10:00
J. Nick Koston 01224f25f7 tweak 2025-12-19 15:08:02 -10:00
J. Nick Koston cd6240541b [core] Add zero-allocation get_object_id_to() method 2025-12-19 15:03:27 -10:00
J. Nick Koston 94fcd18306 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/fan/fan_traits.h
#	esphome/components/http_request/ota/ota_http_request.cpp
#	tests/integration/test_alarm_control_panel_state_transitions.py
2025-12-19 14:22:19 -10:00
J. Nick Koston da472f3f79 Merge branch 'dev' into noise_api_zero_copy 2025-12-19 12:46:07 -10:00
J. Nick Koston 3fff2f2f0a Merge branch 'web_server_stack_format' into integration 2025-12-19 10:50:16 -10:00
J. Nick Koston 04eb64f361 safer 2025-12-19 10:49:19 -10:00
J. Nick Koston 4464e464b6 safer 2025-12-19 10:48:52 -10:00
J. Nick Koston 20a12ca02a Merge branch 'web_server_stack_format' into integration 2025-12-19 10:20:38 -10:00
J. Nick Koston b2a43a3a69 [web_server] Use stack buffers for value formatting to reduce flash usage 2025-12-19 10:18:58 -10:00
J. Nick Koston 097617cb4e Merge remote-tracking branch 'upstream/dev' into integration 2025-12-19 09:22:29 -10:00
J. Nick Koston 043204baa6 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-19 06:34:49 -10:00
J. Nick Koston 92157c89bc cleanup 2025-12-19 06:29:57 -10:00
J. Nick Koston 25f83384a4 cleanup 2025-12-19 06:29:36 -10:00
J. Nick Koston 86119c3439 Merge branch 'get_peername_stack_save_ram' into integration 2025-12-18 22:18:00 -10:00
J. Nick Koston cf404c34d0 [api] Use stack buffers for peername logging to reduce per-connection memory 2025-12-18 22:13:27 -10:00
J. Nick Koston ce1c6721b1 Merge branch 'union_iter' into integration 2025-12-18 16:55:06 -10:00
J. Nick Koston a7f82f5201 state machine 2025-12-18 16:50:41 -10:00
J. Nick Koston 38afc5149a [api] Use union for iterators to reduce APIConnection size by ~16 bytes 2025-12-18 16:18:45 -10:00
J. Nick Koston 7a5a768c04 Merge remote-tracking branch 'kbx81/20251218-ble-disable-fixes' into integration 2025-12-18 15:21:57 -10:00
kbx81 37e2a114db [esp32_ble, esp32_ble_tracker] Fix crash, error messages when ble.disable called during boot 2025-12-18 18:58:26 -06:00
J. Nick Koston b5950d41b5 Merge remote-tracking branch 'upstream/move_comment_build_info' into integration 2025-12-18 11:19:51 -10:00
J. Nick Koston 3a69cb9c13 tidy 2025-12-18 07:53:48 -10:00
J. Nick Koston 5547f9f5d6 span 2025-12-18 06:58:32 -10:00
J. Nick Koston 12d8e2ada2 tweaks 2025-12-18 06:56:12 -10:00
J. Nick Koston 455091a03f tweaks 2025-12-18 06:55:02 -10:00
J. Nick Koston 23ee8bdcaf [core] Move comment to PROGMEM on ESP8266 2025-12-18 06:48:23 -10:00
J. Nick Koston cd93468225 [core] Move comment to PROGMEM on ESP8266 2025-12-18 06:41:23 -10:00
J. Nick Koston bef017fd3e Merge branch 'encode_message_dead_code' into integration 2025-12-17 20:05:59 -10:00
J. Nick Koston 6707ac6a0f [api] Remove unused force parameter from encode_message 2025-12-17 20:03:40 -10:00
J. Nick Koston ec55dcbe41 Merge branch 'socket_reorg_cleanup' into integration 2025-12-17 19:28:20 -10:00
J. Nick Koston 655f493eaa [socket] Refactor socket implementations for memory efficiency and code quality 2025-12-17 19:20:35 -10:00
J. Nick Koston 50f0f7595b Merge remote-tracking branch 'upstream/dev' into integration 2025-12-17 18:50:37 -10:00
J. Nick Koston c6b33586c1 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-17 15:54:10 -10:00
J. Nick Koston a97f637cb9 Merge branch 'wifi_connect_blocked_loop_logging' into integration 2025-12-17 14:14:11 -10:00
J. Nick Koston 0185541000 [wifi] Reduce scan logging to prevent blocking loop during connection 2025-12-17 14:13:37 -10:00
J. Nick Koston ce18b4c3ca Merge branch 'prefs_snprintf_once' into integration 2025-12-17 14:01:12 -10:00
J. Nick Koston 60b266e73d [esp32][libretiny] Avoid duplicate snprintf when syncing preferences 2025-12-17 14:00:19 -10:00
J. Nick Koston 4c8a2fe3d4 Merge branch 'fan_zero_copy' into noise_api_zero_copy 2025-12-17 16:41:26 -07:00
J. Nick Koston 190ebecd7b Merge branch 'climate_zero_copy' into fan_zero_copy 2025-12-17 16:41:18 -07:00
J. Nick Koston 71b6fc4baa Merge branch 'dev' into climate_zero_copy 2025-12-17 16:41:06 -07:00
J. Nick Koston bec60c4da8 Merge branch 'dev' into api_avoid_copies 2025-12-17 16:40:39 -07:00
J. Nick Koston df2936f686 Merge branch 'dev' into parition_callbacks 2025-12-17 16:40:30 -07:00
J. Nick Koston 1fb89e5223 Merge branch 'buildinfo' into integration 2025-12-17 13:27:58 -10:00
J. Nick Koston 8c185254ef give 6 months of get_compilation_time for back compat 2025-12-17 13:04:46 -10:00
David Woodhouse 14ecb906a1 Merge branch 'dev' into buildinfo 2025-12-17 22:59:57 +00:00
David Woodhouse 0688abdbd8 Merge branch 'dev' into buildinfo 2025-12-17 20:35:06 +00:00
David Woodhouse 745f5b8dd2 Merge branch 'dev' into buildinfo 2025-12-17 19:15:48 +00:00
David Woodhouse 01d8775005 Merge branch 'dev' into buildinfo 2025-12-17 18:04:45 +00:00
J. Nick Koston 7701371bb4 Merge branch 'fix-bk72xx-millis-ambiguity' into integration 2025-12-17 07:18:19 -10:00
Jonathan Swoboda eb2392b33a [libretiny] Fix millis() ambiguity on BK72XX
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-17 11:25:21 -05:00
David Woodhouse 7e36112687 Merge branch 'dev' into buildinfo 2025-12-17 09:32:40 +00:00
David Woodhouse 77d914e67f Merge branch 'dev' into buildinfo 2025-12-17 01:52:36 +00:00
David Woodhouse f2f30337a0 Merge branch 'dev' into buildinfo 2025-12-17 00:44:15 +00:00
David Woodhouse 71f2331bc8 Fix clang-format: use lowercase buf_size variable name 2025-12-17 00:42:46 +00:00
David Woodhouse 8358ef0096 Use ESPHOME_strncpy_P in get_build_time_string()
Replace platform-specific ifdef with cross-platform ESPHOME_strncpy_P
macro for consistency.
2025-12-16 23:06:31 +00:00
David Woodhouse f8c9cf8fd9 Use PROGMEM for version text sensor strings on ESP8266
Build version string incrementally from PROGMEM literals using
ESPHOME_strncpy_P and ESPHOME_strncat_P. Write hash and build time
directly into buffer without temporary variables. Calculate buffer
size based on actual components needed.

Add ESPHOME_strncat_P macro to progmem.h for cross-platform PROGMEM
string concatenation.
2025-12-16 23:05:07 +00:00
David Woodhouse 8429684fce Fix clang-format: use uppercase PREFIX constant name 2025-12-16 19:46:04 +00:00
David Woodhouse a30052e7c0 Use PROGMEM for version text sensor strings on ESP8266
Build version string incrementally from PROGMEM literal prefix, avoiding
format strings in RAM. Copy from PROGMEM on ESP8266, use directly on
other platforms.
2025-12-16 19:22:42 +00:00
David Woodhouse 175250deb0 Use PROGMEM for MQTT version format string on ESP8266
Store format string in PROGMEM and copy to RAM buffer on ESP8266 before
use. On other platforms, use the format string directly. This saves RAM
on ESP8266 while maintaining the same functionality.
2025-12-16 19:20:50 +00:00
David Woodhouse 12734ba258 Revert "Use PROGMEM format strings to reduce RAM usage on ESP8266"
This reverts commit da67c47a76.
2025-12-16 19:03:13 +00:00
David Woodhouse da67c47a76 Use PROGMEM format strings to reduce RAM usage on ESP8266
Replace str_sprintf() with snprintf_P() and PSTR() to keep format
strings in flash instead of RAM. Also removes 'config hash 0x' prefix
to save additional bytes.
2025-12-16 18:13:35 +00:00
David Woodhouse 38167c268f Add get_config_version_hash() and make hash functions constexpr
Add Application::get_config_version_hash() as a constexpr that returns
fnv1a_hash_extend(config_hash, ESPHOME_VERSION).

Make get_config_hash(), get_build_time(), fnv1a_hash(), and
fnv1a_hash_extend() constexpr inline functions.

Replace open-coded fnv1a_hash_extend(config_hash, ESPHOME_VERSION)
calls with get_config_version_hash() in sensor and wifi components.

Remove now-unnecessary version.h includes from component files.
2025-12-16 17:15:19 +00:00
David Woodhouse 7298db0a7e Add tests for source file removal detection in copy_src_tree
Add tests covering the logic that detects when source files are removed:
- test_copy_src_tree_detects_removed_source_file: Verifies that removing
  a regular source file triggers sources_changed flag
- test_copy_src_tree_ignores_removed_generated_file: Verifies that removing
  a generated file (like build_info_data.h) does not trigger sources_changed
2025-12-16 16:45:28 +00:00
J. Nick Koston 6eb8095480 Merge branch 'dev' into buildinfo 2025-12-16 10:29:51 -06:00
David Woodhouse 3679a81220 Merge branch 'dev' into buildinfo 2025-12-16 15:55:36 +00:00
David Woodhouse dfae9e5750 Merge branch 'dev' into buildinfo 2025-12-16 10:21:02 +00:00
David Woodhouse 87f88b8a9a Add version.h includes to sensor components
Add missing version.h includes to sen5x, sgp30, and sgp4x components
for ESPHOME_VERSION definition.
2025-12-16 00:32:30 +00:00
David Woodhouse ba79a8e6c8 Merge branch 'dev' into buildinfo 2025-12-16 00:19:29 +00:00
David Woodhouse e8a3a8380d Remove stray debug 2025-12-16 00:18:56 +00:00
David Woodhouse 305a58cb84 Use config_hash in MQTT and version sensor
Change MQTT sw_version and version text sensor to display config_hash
instead of build_time_str. Format: "(config hash 0xXXXXXXXX)"

Version sensor with hide_timestamp=false also includes build time:
"(config hash 0xXXXXXXXX, built: YYYY-MM-DD HH:MM:SS +ZZZZ)"
2025-12-16 00:09:28 +00:00
David Woodhouse f231fc856b Use fnv1a_hash_extend with config_hash and version for wifi preferences
Change wifi component to use fnv1a_hash_extend(config_hash, ESPHOME_VERSION)
instead of fnv1_hash(compilation_time) for the preferences hash.

This ensures wifi settings are invalidated on config or version changes,
not just on recompilation.
2025-12-16 00:05:43 +00:00
David Woodhouse 69fa5020d2 Re-remove compilation_time_ from the app 2025-12-15 23:23:46 +00:00
David Woodhouse f5592595bc Use fnv1a_hash_extend with config_hash and version for sensor baselines
Change sen5x, sgp30, and sgp4x components to use fnv1a_hash_extend()
starting with config_hash and ESPHOME_VERSION, then extending with the
sensor serial number. This replaces the previous use of fnv1_hash with
compilation_time.

This ensures baseline storage is invalidated on config or version
changes, not just on recompilation.
2025-12-15 23:22:23 +00:00
David Woodhouse 4a58ab6310 Restore switch to build_time_str in mqtt sw_version and version sensor 2025-12-15 23:14:25 +00:00
David Woodhouse a5ff374540 Merge branch 'dev' of github.com:esphome/esphome into buildinfo 2025-12-15 23:12:40 +00:00
David Woodhouse ffbbf37fc2 Revert "Revert API compilation_time to old locale-dependent format"
This reverts commit d2b5398fad.
2025-12-15 23:12:21 +00:00
J. Nick Koston 682acf81b2 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-15 15:35:46 -06:00
David Woodhouse d2b5398fad Revert API compilation_time to old locale-dependent format
Keep the API DeviceInfo compilation_time field using the old
get_compilation_time_ref() format for backward compatibility.

The text sensor build_time_str continues to use the new ISO 8601 format.
2025-12-15 21:01:15 +00:00
J. Nick Koston 3ebbc1e769 overloads 2025-12-15 13:28:59 -06:00
J. Nick Koston 9578a02fe3 overloads 2025-12-15 13:27:51 -06:00
J. Nick Koston 68edb5c9a0 Merge branch 'noise_api_zero_copy' into integration 2025-12-15 13:19:52 -06:00
David Woodhouse d911ae94fe Fix BUILD_TIME_STR_SIZE for ISO 8601 format
Increase buffer from 24 to 26 bytes to accommodate the ISO 8601 format
with timezone: "YYYY-MM-DD HH:MM:SS +ZZZZ" (25 chars + null terminator).

The old format "Dec 15 2025, 18:14:59" was 20 chars, but the new format
needs 25 chars. The 24-byte buffer was truncating the timezone to "+00"
instead of "+0000".
2025-12-15 18:53:56 +00:00
J. Nick Koston 487b66d92a Merge branch 'api_avoid_copies' into integration 2025-12-15 12:46:14 -06:00
J. Nick Koston fc4869e2f9 Merge branch 'select_avoid_copies' into integration 2025-12-15 12:46:10 -06:00
J. Nick Koston 109e6c9719 Merge branch 'text_avoid_copies_const_ref' into integration 2025-12-15 12:46:06 -06:00
J. Nick Koston 3c42e534b3 Merge branch 'text_sensor_avoid_copies_const_ref' into integration 2025-12-15 12:46:02 -06:00
J. Nick Koston b956c7798b [api] Avoid string copies in Home Assistant state subscription callbacks 2025-12-15 12:45:15 -06:00
J. Nick Koston f8c0cd9ff6 [select] Eliminate string allocation in state callbacks 2025-12-15 12:39:52 -06:00
J. Nick Koston e27c693051 [text] Avoid string copies in callbacks by passing const ref 2025-12-15 12:29:15 -06:00
J. Nick Koston f6f1961e0e [text_sensor] Avoid string copies in callbacks by passing const ref 2025-12-15 12:24:34 -06:00
J. Nick Koston ab0ca3006a Merge branch 'dev' into parition_callbacks 2025-12-15 12:20:54 -06:00
David Woodhouse af1e0e6489 Merge branch 'dev' into buildinfo 2025-12-15 18:10:50 +00:00
J. Nick Koston dab6b54e97 Merge branch 'fix-http-request-content-length' into integration 2025-12-15 11:48:06 -06:00
David Woodhouse fd32139d89 Use new ISO format for compilation_time in API DeviceInfo
Change the API's DeviceInfo response to use the new ISO 8601 format
with timezone for compilation_time field by calling get_build_time_string()
instead of get_compilation_time_ref().

Update the placeholder build_info_data.h to match the new format.

Update integration test to expect the new format for compilation_time.
2025-12-15 17:44:35 +00:00
J. Nick Koston 245e7682c1 Merge remote-tracking branch 'swoboda1337/esp32-remove-arduino-core' into integration 2025-12-15 11:32:08 -06:00
David Woodhouse 93bf1c8452 Merge branch 'dev' into buildinfo 2025-12-15 17:00:31 +00:00
David Woodhouse 0a63c50e1e Add test for build_info regeneration behaviour
Test verifies that:
- When source files change, build_info is regenerated with new timestamp
- When no files change, build_info is preserved with same timestamp

The test runs copy_src_tree() three times in the same environment:
1. Initial run creates build_info
2. Second run with no changes preserves the timestamp
3. Third run with changed source file regenerates with new timestamp
2025-12-15 16:59:51 +00:00
David Woodhouse 87a125f303 Add test coverage for build_info.json change detection
Add tests to cover:
- Detection of config_hash changes in existing build_info.json
- Detection of esphome_version changes in existing build_info.json
- Handling of invalid/corrupted build_info.json files

These tests cover the exception handling and change detection logic
in copy_src_tree() that checks the existing build_info.json.
2025-12-15 16:45:15 +00:00
Jonathan Swoboda e57e1f5094 Fix 2025-12-15 11:44:14 -05:00
David Woodhouse 09e9b58eb6 Change build_time_str format to ISO 8601 with timezone
Use YYYY-MM-DD HH:MM:SS +ZZZZ format instead of the locale-dependent
'%b %d %Y, %H:%M:%S' format. This provides:
- Unambiguous date format (YYYY-MM-DD)
- Timezone information
- Locale-independent formatting
- Better sortability and parseability

Example: "2025-12-15 16:30:27 +0000" instead of "Dec 15 2025, 16:30:27"

Tests validate the format using strptime with '%Y-%m-%d %H:%M:%S %z'.
2025-12-15 16:38:44 +00:00
David Woodhouse c451fbd697 Postpone breaking changes for another PR
I think we need to put a little more thought into whether we really
want the build time in each of these, or whether it should be just
the config_hash (perhaps extended with version, and in some cases
the component's own serial number or other identifier).

So put the old compilation_time_ and its access methods back, so
this PR only adds the *new* fields. We can migrate users over and
then remove the compilation_time_ separately.
2025-12-15 16:26:15 +00:00
Jonathan Swoboda 853372a814 Fix 2025-12-15 10:48:48 -05:00
Jonathan Swoboda db91ac9c75 Fix 2025-12-15 10:45:59 -05:00
David Woodhouse d83fd263b0 Don't rebuild build_time_str
It's already in the JSON now
2025-12-15 15:44:12 +00:00
Jonathan Swoboda 415a1dd75a Merge branch 'dev' into esp32-remove-arduino-core 2025-12-15 10:43:14 -05:00
J. Nick Koston ed4f90db8f Merge remote-tracking branch 'upstream/libretiny_prefs' into integration 2025-12-15 09:21:51 -06:00
J. Nick Koston 9dc06f04b1 Merge branch 'dev' into libretiny_prefs 2025-12-15 09:21:36 -06:00
Jonathan Swoboda fe315a4cf8 Clean 2025-12-15 10:20:52 -05:00
Jonathan Swoboda b9d59f5a00 [esp32] Remove Arduino-specific code from core.cpp, use initArduino
- Remove all USE_ARDUINO conditionals from core.cpp
- Add weak initArduino() stub that gets overridden when Arduino is present
- Call initArduino() in app_main() to initialize Arduino framework
- Remove CONFIG_AUTOSTART_ARDUINO (no longer needed)
- Fix deprecated hal/cpu_hal.h include, use esp_cpu.h instead
- Remove old ESP-IDF version conditionals (now IDF 5.x+ only)
- Clean up and sort includes alphabetically

This unifies the ESP32 startup code path - Arduino initialization is now
handled by calling initArduino() rather than using CONFIG_AUTOSTART_ARDUINO
which would start Arduino's own main loop.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 10:19:20 -05:00
J. Nick Koston efc53ddd77 Merge remote-tracking branch 'upstream/esp32_prefs_uint32_str' into integration 2025-12-15 09:11:16 -06:00
J. Nick Koston 0bc81633bf at boundry 2025-12-15 09:06:33 -06:00
J. Nick Koston cf20e0d772 libretiny prefs 2025-12-15 09:03:42 -06:00
David Woodhouse bc5444cbe1 Merge branch 'dev' into buildinfo 2025-12-15 14:40:52 +00:00
Pascal Vizeli 2dbaedbda2 Simplify condition check - remove redundant bufsize > 0 check
The bufsize > 0 check is redundant because the previous if statement
already handles all cases where bufsize <= 0, ensuring that by the time
we reach this condition, bufsize is always positive.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 12:17:47 +00:00
David Woodhouse 5eab42441e Fix dummy_main.cpp to match new pre_setup signature
Remove compilation timestamp argument as build time is now handled
through build_info_data.h instead of being passed to pre_setup().
2025-12-15 09:06:49 +00:00
David Woodhouse 0f22b23d9a clang-tidy CI fix
...but this is weird. Why are we copying into a local buffer
at all instead of just using the original string?
2025-12-15 17:11:04 +09:00
David Woodhouse b27229d9b9 Merge branch 'dev' into buildinfo 2025-12-15 08:11:00 +00:00
J. Nick Koston 6a5dc6e7f5 Merge branch 'esp32_prefs_uint32_str' into integration 2025-12-14 22:29:28 -06:00
J. Nick Koston ee5a3088b9 tweak 2025-12-14 22:17:45 -06:00
J. Nick Koston 6c166c904c [esp32] Replace std::string with char[12] for NVS preference keys 2025-12-14 22:06:42 -06:00
J. Nick Koston 995cf8be9c Merge remote-tracking branch 'upstream/dev' into integration 2025-12-14 21:34:22 -06:00
J. Nick Koston 45f413de0e Merge branch 'wifi_timeout' into integration 2025-12-14 15:30:58 -06:00
J. Nick Koston 24e490ef26 Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 15:17:05 -06:00
J. Nick Koston d9296a907d Revert "recovery"
This reverts commit 712da5c2ae.
2025-12-14 15:13:22 -06:00
J. Nick Koston 0a979cf26a Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 15:07:48 -06:00
J. Nick Koston 712da5c2ae recovery 2025-12-14 15:07:22 -06:00
J. Nick Koston 09573b5e5f Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 14:40:38 -06:00
J. Nick Koston 11c9e974ac tweak 2025-12-14 14:38:02 -06:00
J. Nick Koston 3786c84bbe Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 14:32:02 -06:00
J. Nick Koston c8b48df8f2 tweak 2025-12-14 14:31:41 -06:00
J. Nick Koston 1de743d85e Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 14:25:41 -06:00
J. Nick Koston f22396a097 fixes 2025-12-14 14:25:23 -06:00
J. Nick Koston 8cdee86334 Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 14:20:19 -06:00
J. Nick Koston 7801420eca one more failure more 2025-12-14 14:18:59 -06:00
J. Nick Koston 4928862622 esp32 has same bug 2025-12-14 13:42:59 -06:00
J. Nick Koston 6939b67e47 esp32 has same bug 2025-12-14 13:42:10 -06:00
J. Nick Koston 0b32add874 Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 13:38:05 -06:00
J. Nick Koston 616dae5bf9 fix missing s_sta_connecting = false; 2025-12-14 13:37:48 -06:00
J. Nick Koston bd539fa34f Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout 2025-12-14 13:27:09 -06:00
J. Nick Koston 8ce2cc564f make sure we are disconnected on timeout 2025-12-14 13:26:54 -06:00
J. Nick Koston 2696297428 Merge branch 'ota_timeout_fix' into wifi_timeout 2025-12-14 12:45:57 -06:00
J. Nick Koston 7eff3217aa [ota] Match client timeout to device timeout to prevent premature failures 2025-12-14 12:34:54 -06:00
J. Nick Koston af04eaaba0 [wifi] Fix premature connection timeout on LibreTiny/Beken 2025-12-14 12:19:58 -06:00
Pascal Vizeli c4d9ed7b70 [http_request] Fix infinite loop on read error in update component
The update component had the same infinite loop issue as the OTA component
when network read errors occurred. If container->read() returned an error
(negative value), it would be added to read_index and the loop would continue
indefinitely since get_bytes_read() would never reach content_length.

This fix breaks out of the read loop on any read error (read_bytes <= 0),
preventing watchdog resets and infinite loops during manifest downloads.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 17:06:53 +00:00
Pascal Vizeli f20f3e0525 [http_request] Fix infinite loop when server doesn't send Content-Length header
This commit fixes an issue where the http_request component would enter
an infinite loop when an HTTP server doesn't send a Content-Length header
or closes the connection prematurely.

The read loop was assuming read operations would always return data, but:
1. When the stream pointer becomes invalid (connection closed), read() returns -1
2. When no more data is available, read() returns 0

Without these checks, the loop would continue indefinitely, causing:
- "Stream pointer vanished!" errors (Arduino platform)
- CPU spinning on zero-byte reads
- Watchdog timeouts

The fix adds validation checks to break out of read loops when
read() returns <= 0 (covering both error and end-of-stream conditions).

This is applied to:
- Response capture loops (http_request.h)
- OTA firmware download loop (ota_http_request.cpp)
- MD5 verification download loop (ota_http_request.cpp)

This allows graceful handling of non-compliant HTTP servers while
maintaining compatibility with properly formatted responses.

Fixes esphome/issues#6682

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 16:18:37 +00:00
J. Nick Koston 2bfa1aacd8 Merge branch 'skip_wifi_rssi_publish_when_discoed' into integration 2025-12-14 09:55:42 -06:00
J. Nick Koston 1b551b0897 [wifi_signal] Skip publishing disconnected RSSI value 2025-12-14 09:55:09 -06:00
J. Nick Koston 7e1bd289b3 Merge branch 'fix-polling-component-schema' into integration 2025-12-14 09:38:15 -06:00
J. Nick Koston cf373edd81 Merge branch 'lwip_raw_tcp_impl_getpeername' into integration 2025-12-14 09:38:07 -06:00
J. Nick Koston 0d7fbb79b3 Merge branch 'events_trusted_domains' into integration 2025-12-14 09:38:01 -06:00
J. Nick Koston c87771184e Merge branch 'fix-epaper-spi-update-interval-never' into integration 2025-12-14 09:37:56 -06:00
J. Nick Koston 1185abadc1 Merge branch 'always_lru_enable_idf_web_server' into integration 2025-12-14 09:37:49 -06:00
J. Nick Koston 6f6c65509d [web_server_idf] Always enable LRU purge to prevent socket exhaustion 2025-12-14 09:37:11 -06:00
J. Nick Koston f50ffb2b92 cover 2025-12-14 09:09:24 -06:00
J. Nick Koston 4892bfb6e4 [dashboard] Add ESPHOME_TRUSTED_DOMAINS support to events WebSocket 2025-12-14 09:00:27 -06:00
Jonathan Swoboda 586e82bfa5 [core] Fix polling_component_schema and use SCHEDULER_DONT_RUN constant
- Fix polling_component_schema to use update_interval validator when
  default_update_interval is None (was using None as validator)
- Replace hardcoded 4294967295 with SCHEDULER_DONT_RUN constant in
  update_interval function

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-14 09:41:56 -05:00
J. Nick Koston 512a7df007 [socket] Fix getpeername() returning local address instead of remote in LWIP raw TCP 2025-12-13 22:49:05 -06:00
J. Nick Koston 0e60aefdec Merge remote-tracking branch 'upstream/dev' into integration 2025-12-13 22:15:41 -06:00
David Woodhouse 1ebfd5b4eb Update test for new get_build_info behaviour
get_build_info() now always returns current time instead of preserving
the existing build_time. The timestamp preservation logic is now handled
in copy_src_tree() based on sources_changed flag.
2025-12-14 09:07:44 +09:00
David Woodhouse 4bde4dbdc8 Fix KeyError when build_info_data.h not in source_files_copy
Use pop(t, None) instead of pop(t) to handle case where
build_info_data.h might not be in the component resources.
2025-12-14 08:55:25 +09:00
David Woodhouse 841d9664d3 Fix build system to relink when source files change
- Make copy_file_if_changed() return bool indicating if file was copied
- Track sources_changed in copy_src_tree() to detect when source files change
- Only update build_info timestamp when sources/config/version change
- Exclude generated files (build_info_data.h) from sources_changed tracking
- Add build_info_data.h to ignore_targets to prevent copying from resources
- Track changes to generated headers (defines.h, esphome.h, version.h)
- Check for config_hash or version changes to trigger rebuild
- Pretty-print build_info.json with indentation and trailing newline
- Update mock_copy_file_if_changed to return True by default

This fixes the issue where changing a source file would recompile the .o
file but not relink the final program executable.
2025-12-14 08:51:59 +09:00
J. Nick Koston 16107ad788 bot comments 2025-12-13 10:34:09 -06:00
J. Nick Koston 8299656375 Update esphome/components/sgp4x/sgp4x.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-13 10:32:39 -06:00
J. Nick Koston 184ac0c1e7 Update esphome/components/sgp30/sgp30.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-13 10:32:33 -06:00
J. Nick Koston 6198618044 Update esphome/components/sen5x/sen5x.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-13 10:32:25 -06:00
J. Nick Koston ba0f559856 better cover 2025-12-13 10:10:24 -06:00
J. Nick Koston 0539c5d4d2 cover 2025-12-13 10:02:54 -06:00
J. Nick Koston bb35ed5f53 tidy 2025-12-13 09:54:07 -06:00
J. Nick Koston de500450d9 coverage for hash order change 2025-12-13 09:45:17 -06:00
J. Nick Koston b4a54f2df1 sort so config hash does not change 2025-12-13 09:40:26 -06:00
J. Nick Koston cf8708b888 writer coverage 2025-12-13 09:28:52 -06:00
J. Nick Koston 15494c0d28 Merge branch 'buildinfo' of https://github.com/dwmw2/esphome into buildinfo 2025-12-13 09:25:32 -06:00
J. Nick Koston 4bf810fcd1 a bit of future proofing to avoid many dumps if it gets reused 2025-12-13 09:25:21 -06:00
J. Nick Koston 959a2e8ddd Merge branch 'dev' into buildinfo 2025-12-13 09:22:09 -06:00
J. Nick Koston 4b937b5228 some coverage 2025-12-13 09:21:53 -06:00
J. Nick Koston 0c7c1d3c57 check version as well 2025-12-13 09:13:28 -06:00
J. Nick Koston d31be6ed9d check version as well 2025-12-13 09:10:40 -06:00
J. Nick Koston dce5face4e simplify more 2025-12-13 09:01:39 -06:00
J. Nick Koston 6d91f1cd77 tests 2025-12-13 08:56:12 -06:00
J. Nick Koston 67937aeda4 tests 2025-12-13 08:55:26 -06:00
J. Nick Koston 1543f56f70 simplify approach 2025-12-13 08:53:51 -06:00
J. Nick Koston 2fc3ef61ea adjust 2025-12-12 21:42:07 -06:00
J. Nick Koston 145475e461 tidy 2025-12-12 21:31:43 -06:00
J. Nick Koston b1fb705864 [esp8266] Avoid heap allocation in preferences save/load 2025-12-12 21:28:21 -06:00
David Woodhouse 15d2d3ff96 Update esphome/core/buildinfo.cpp
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-12-13 12:13:01 +09:00
David Woodhouse d016302e36 Convert buildinfo.h to C++17 nested namespace syntax 2025-12-13 12:05:05 +09:00
David Woodhouse fe798dff81 Update esphome/writer.py
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-12-13 12:03:43 +09:00
J. Nick Koston 75b8279361 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-12 21:03:28 -06:00
David Woodhouse 17db6bee3c Update esphome/__main__.py
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-12-13 12:03:12 +09:00
David Woodhouse e7c8892d6d Merge branch 'dev' into buildinfo 2025-12-13 12:00:08 +09:00
David Woodhouse 12e0d6bdcc Create and use buildinfo.json instead of parsing linker script
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-12-13 11:57:04 +09:00
David Woodhouse d8c52297ab Add type hints to _encode_string_symbols function 2025-12-13 11:54:24 +09:00
David Woodhouse eda0a391ca Extract duplicate string encoding logic into helper function 2025-12-13 11:26:37 +09:00
David Woodhouse 94fefb1405 Limit OSError exception catch to file open operation only 2025-12-13 11:26:37 +09:00
David Woodhouse da96ffb923 Convert buildinfo to C++17 nested namespace syntax 2025-12-13 11:26:37 +09:00
David Woodhouse d7451257a5 Merge branch 'dev' into buildinfo 2025-12-13 11:20:39 +09:00
J. Nick Koston b10a87c1b0 Merge branch 'factory_reset_waste' into integration 2025-12-12 20:14:42 -06:00
J. Nick Koston f2505ce453 tidy 2025-12-12 20:14:31 -06:00
David Woodhouse 32797fbe00 Generate buildinfo.ld directly, use fnv1a_32bit_hash()
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-12-13 11:11:59 +09:00
J. Nick Koston ec7143d835 Merge branch 'factory_reset_waste' into integration 2025-12-12 20:09:19 -06:00
J. Nick Koston d77f9c96b9 [factory_reset] Optimize memory by storing interval as uint16_t seconds 2025-12-12 20:08:00 -06:00
J. Nick Koston 4329794924 Merge branch 'ota_align_password' into integration 2025-12-12 19:39:06 -06:00
J. Nick Koston 99b0b974ad [esphome] Improve OTA field alignment to save 4 bytes on 32-bit 2025-12-12 19:38:44 -06:00
J. Nick Koston 9dafafa07c Merge branch 'memory_api' into integration 2025-12-12 19:25:14 -06:00
J. Nick Koston 200cd8cace Merge branch 'str_helpers' into integration 2025-12-12 19:25:09 -06:00
J. Nick Koston ce717e2276 Merge branch 'integration' into memory_api 2025-12-12 19:24:21 -06:00
J. Nick Koston 20b6d28c90 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-12 19:24:14 -06:00
Jonathan Swoboda b8c00e6452 Merge branch 'dev' into fix-epaper-spi-update-interval-never 2025-12-12 17:25:02 -05:00
Jonathan Swoboda 1d081fd510 [epaper_spi] Fix update_interval: never validation error
- Add full_display_schema() function to display component to allow
  configurable default update_interval
- Fix epaper_spi to use 60s default update_interval instead of 1s
- Fix minimum update_interval validation to allow "never" value
- Keep FULL_DISPLAY_SCHEMA constant for backward compatibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:59:50 -05:00
David Woodhouse a86095d865 Merge branch 'dev' into buildinfo 2025-12-13 06:24:20 +09:00
David Woodhouse e728e8ed0c Apply clang-format suggestions to buildinfo.cpp
- Use <cstdint> instead of <stdint.h>
- Rename config_hash_struct to ConfigHashStruct for naming consistency
2025-12-13 06:17:28 +09:00
J. Nick Koston 80fda97c60 [core] Refactor str_snake_case and str_sanitize to use constexpr helpers 2025-12-12 13:13:07 -06:00
J. Nick Koston b2a1448fe4 Merge branch 'integration' into memory_api 2025-12-12 12:37:42 -06:00
J. Nick Koston e05e5bc82c Merge branch 'wifi_cleanups' into integration 2025-12-12 12:37:36 -06:00
J. Nick Koston eeefc0e6c4 [wifi] Replace optional with sentinel values to reduce RAM and clarify API 2025-12-12 12:35:30 -06:00
J. Nick Koston d54088d1fb Merge branch 'integration' into memory_api 2025-12-12 11:39:41 -06:00
J. Nick Koston 16a532f565 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-12 11:39:31 -06:00
David Woodhouse 7d3afe5de0 Merge branch 'dev' into buildinfo 2025-12-13 01:45:43 +09:00
David Woodhouse b5703523f9 nolint for the macros that have to be macros 2025-12-13 01:44:25 +09:00
David Woodhouse 07d784b0bf Pass config hash and build date in as strings via linker symbols
This saves the RAM we were using to build it at runtime.
2025-12-13 01:39:29 +09:00
David Woodhouse 25805da008 Merge branch 'dev' into buildinfo 2025-12-12 09:54:47 +09:00
David Woodhouse ccebe613e2 Optimize buildinfo RAM usage on 32-bit platforms
Use direct symbol access on 32-bit platforms to avoid 8 bytes of RAM
overhead. Keep indirection workaround only on 64-bit platforms where
PC-relative relocations cause linking issues.
2025-12-12 01:51:12 +09:00
David Woodhouse 295b317809 Optimize get_build_time_string to avoid repeated formatting
Apply same concurrency fix as get_config_hash to prevent race
conditions when multiple threads access the function.
2025-12-11 22:54:19 +09:00
David Woodhouse 58fddeb74f Optimize get_config_hash to avoid repeated snprintf calls
Check if hash string is already formatted before calling snprintf,
since static variables in BSS are zero-initialized.
2025-12-11 22:53:03 +09:00
David Woodhouse 54ed6154eb Expand non-const comment 2025-12-11 22:49:32 +09:00
David Woodhouse 0b1ea8f2ca Add nolint for non-const buildinfo variables
Variables must remain non-const to prevent compiler optimization
that would bypass the indirection workaround for PC-relative
relocation issues.
2025-12-11 22:48:02 +09:00
David Woodhouse 478f12f75e Remove const from buildinfo static variables
The const qualifier allows compiler optimization that bypasses our
indirection workaround, causing PC-relative relocations that fail
on some platforms. Keep variables non-const to force data section
relocations.
2025-12-11 22:46:09 +09:00
David Woodhouse cfdb5a82e2 Replace __DATE__/__TIME__ with buildinfo functions
- Add get_build_time_string() function to format build time consistently
- Replace __DATE__ ", " __TIME__ in App.pre_setup() with buildinfo call
- Eliminates dependency on compiler-provided date/time macros
- Ensures consistent build time across all build information displays
2025-12-11 22:24:30 +09:00
David Woodhouse edc320fef8 Add buildinfo system with config hash and build time
To allow for more selective managed updates, allow the config hash and
build time to be built into the image itself.

To avoid triggering unneeded rebuilds, do this through a linker script
so that the new config hash and timestamp are included only if the
firmware is actually relinked.

Add a _check_and_emit_buildinfo() step after building, which prints
the information after the firmware was rebuilt. A subsequent commit
will emit a manifest here, or at least the HMAC-MD5 for signing OTA
updates using the hmac_key configured in this image.
2025-12-11 22:24:30 +09:00
J. Nick Koston d7cb3d8e35 Merge branch 'integration' into memory_api 2025-12-10 22:32:19 +01:00
J. Nick Koston 6519b90829 Merge branch 'noise_prologue_not_released' into integration 2025-12-10 22:31:59 +01:00
J. Nick Koston 5c39ff7b5c [api] Release prologue memory after noise handshake completes 2025-12-10 22:31:09 +01:00
J. Nick Koston 4f9c00382e Merge branch 'integration' into memory_api 2025-12-10 13:50:46 +01:00
J. Nick Koston afd9fc6c96 Merge branch 'visual_overrides_rarely_used' into integration 2025-12-10 13:50:33 +01:00
J. Nick Koston a3017ca3be [climate] Save 48 bytes per entity by conditionally compiling visual overrides 2025-12-10 13:46:50 +01:00
J. Nick Koston 2d3ccab0b3 [api] Add zero-copy support for noise encryption key requests 2025-12-10 12:48:04 +01:00
J. Nick Koston fdd560b165 [fan] Add zero-copy support for API preset mode commands 2025-12-10 12:40:35 +01:00
J. Nick Koston 6b810b340a fix 2025-12-10 12:38:04 +01:00
J. Nick Koston 3cd14fa39d [climate] Add zero-copy support for API custom fan mode and preset commands 2025-12-10 10:45:07 +01:00
J. Nick Koston 5b83e9e81b Merge branch 'integration' into memory_api 2025-12-10 04:34:28 +01:00
J. Nick Koston e85aa1e24b Merge remote-tracking branch 'upstream/dev' into integration 2025-12-10 04:34:16 +01:00
J. Nick Koston 95609480b7 Merge branch 'integration' into memory_api 2025-12-10 04:01:12 +01:00
J. Nick Koston 7dca3c9eee Merge branch 'esp8266_wake' into integration 2025-12-10 04:01:07 +01:00
J. Nick Koston cbbb3bbabc wake flag 2025-12-10 04:00:54 +01:00
J. Nick Koston 3aaca9e668 Merge branch 'integration' into memory_api 2025-12-10 03:57:59 +01:00
J. Nick Koston 33bba52a79 Merge branch 'esp8266_wake' into integration 2025-12-10 03:57:54 +01:00
J. Nick Koston e160fcce0e fixes 2025-12-10 03:51:20 +01:00
J. Nick Koston fa58cf7f9f Merge branch 'integration' into memory_api 2025-12-10 03:25:47 +01:00
J. Nick Koston 5b9053c678 Merge branch 'esp8266_wake' into integration 2025-12-10 03:25:41 +01:00
J. Nick Koston a9a3103a0d more legacy code that clang-tidy is complaining about 2025-12-10 03:25:31 +01:00
J. Nick Koston ccd0df87ac Merge branch 'integration' into memory_api 2025-12-10 03:21:03 +01:00
J. Nick Koston 79b6f2a288 Merge branch 'esp8266_wake' into integration 2025-12-10 03:20:58 +01:00
J. Nick Koston 795ace5eaa make clang-tidy happy 2025-12-10 03:17:17 +01:00
J. Nick Koston 0a5e8af69f Merge branch 'integration' into memory_api 2025-12-10 03:10:49 +01:00
J. Nick Koston a84de27831 Merge branch 'esp8266_wake' into integration 2025-12-10 03:10:37 +01:00
J. Nick Koston a4e81dc176 [socket] Wake loop immediately on socket data for ESP8266 2025-12-10 03:09:47 +01:00
J. Nick Koston 882838c389 Merge branch 'integration' into memory_api 2025-12-10 02:35:03 +01:00
J. Nick Koston 564bc7caf1 Merge branch 'noise_eliminate_temp_std_vector' into integration 2025-12-10 02:34:58 +01:00
J. Nick Koston f10a2ed6bc fix buffer overflow 2025-12-10 02:26:49 +01:00
J. Nick Koston d442095d9a fix buffer overflow 2025-12-10 02:26:12 +01:00
J. Nick Koston d52981fe01 Merge branch 'integration' into memory_api 2025-12-10 02:22:38 +01:00
J. Nick Koston 29f2b358d1 Merge branch 'noise_eliminate_temp_std_vector' into integration 2025-12-10 02:22:30 +01:00
J. Nick Koston 9fd952c18b [core] Eliminate temporary vector in base64_decode buffer overload 2025-12-10 02:18:23 +01:00
J. Nick Koston 45e843779c Merge branch 'integration' into memory_api 2025-12-10 02:04:37 +01:00
J. Nick Koston a56c8e4d37 Merge branch 'parse_hex_constexpr' into integration 2025-12-10 02:04:23 +01:00
J. Nick Koston 0ece36ecc5 [core] Add constexpr parse_hex_char helper and simplify parse_hex 2025-12-10 02:02:53 +01:00
J. Nick Koston 231199defe Merge branch 'integration' into memory_api 2025-12-10 01:50:33 +01:00
J. Nick Koston eb2781e418 Merge branch 'ble_mac_address_formatting_cleanup' into integration 2025-12-10 01:50:27 +01:00
J. Nick Koston 7bdee7261d Update esphome/components/esp32_ble_client/ble_client_base.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 01:50:06 +01:00
J. Nick Koston efbd202518 Merge branch 'integration' into memory_api 2025-12-10 01:47:10 +01:00
J. Nick Koston f50feca026 Merge branch 'ble_mac_address_formatting_cleanup' into integration 2025-12-10 01:46:56 +01:00
J. Nick Koston 602f25ba89 [esp32_ble_client] Use stack-based MAC formatting in auth logging 2025-12-10 01:46:28 +01:00
J. Nick Koston 56f699e897 Merge branch 'integration' into memory_api 2025-12-10 01:36:18 +01:00
J. Nick Koston efbdbc63d0 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-10 01:36:11 +01:00
J. Nick Koston e0147aab16 Merge branch 'light_effects_call_zero_copy' into integration 2025-12-09 23:52:12 +01:00
J. Nick Koston 724fb222dc Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/api/api_connection.cpp
#	esphome/components/api/api_server.cpp
#	esphome/components/api/api_server.h
#	esphome/components/wifi_signal/wifi_signal_sensor.h
#	esphome/core/string_ref.h
2025-12-09 23:51:44 +01:00
J. Nick Koston 8525f24a3b [light] Add zero-copy support for API effect commands 2025-12-09 21:53:03 +01:00
J. Nick Koston b953c0322c Merge branch 'integration' into memory_api 2025-12-07 22:13:53 -06:00
J. Nick Koston ed8b21aec3 Merge branch 'libretiny_wifi' into integration 2025-12-07 22:13:42 -06:00
J. Nick Koston 590f9ca488 Merge branch 'dev' into libretiny_wifi 2025-12-07 22:00:15 -06:00
J. Nick Koston da4bd321f0 [libretiny] Fix WiFi scan timeout loop when scan fails 2025-12-07 21:54:09 -06:00
J. Nick Koston 26475cd7d3 Merge branch 'integration' into memory_api 2025-12-07 18:51:22 -06:00
J. Nick Koston 50ce7b361a Merge branch 'wifi_scan_failure_recover' into integration 2025-12-07 18:51:16 -06:00
J. Nick Koston 02acfeac2c [wifi] Fix scan timeout loop when scan returns zero networks 2025-12-07 18:50:43 -06:00
J. Nick Koston dd65488f91 Merge branch 'integration' into memory_api 2025-12-07 15:27:09 -06:00
J. Nick Koston 659f257703 Merge branch 'stale_wifi_signal_on_connect' into integration 2025-12-07 15:27:01 -06:00
J. Nick Koston 9c28bbcfa8 [wifi_signal] Update signal strength immediately on WiFi connect/disconnect 2025-12-07 15:25:04 -06:00
J. Nick Koston dbbb5f25e3 Merge branch 'integration' into memory_api 2025-12-07 13:22:04 -06:00
J. Nick Koston 40f865e185 Merge branch 'text_pattern' into integration 2025-12-07 13:21:55 -06:00
J. Nick Koston 6b0128b683 Merge branch 'text_sensor_filters_no_alloc' into integration 2025-12-07 13:21:47 -06:00
J. Nick Koston 475ce1f3fa tweaks 2025-12-07 12:43:02 -06:00
J. Nick Koston d881e6055e tweak 2025-12-07 10:31:33 -06:00
J. Nick Koston 188148546e [text] Store pattern as const char* to reduce memory usage 2025-12-06 23:55:38 -06:00
J. Nick Koston e63673f5ef [text] Store pattern as const char* to reduce memory usage 2025-12-06 23:55:15 -06:00
J. Nick Koston 789faca7c4 [text] Store pattern as const char* to reduce memory usage 2025-12-06 23:50:48 -06:00
J. Nick Koston 0610b3a60a [text] Store pattern as const char* to reduce memory usage 2025-12-06 23:49:09 -06:00
J. Nick Koston 36036014cc reduce 2025-12-06 23:30:15 -06:00
J. Nick Koston 5264584202 reduce 2025-12-06 23:29:26 -06:00
J. Nick Koston 716a868da6 reduce 2025-12-06 23:29:10 -06:00
J. Nick Koston 02fcd83461 Merge branch 'text_sensor_filters_no_alloc' into integration 2025-12-06 22:55:54 -06:00
J. Nick Koston f3a039e70f cover 2025-12-06 22:55:28 -06:00
J. Nick Koston 81f4add324 [text_sensor] Use StringRef for filter static data to avoid heap allocation 2025-12-06 22:31:21 -06:00
J. Nick Koston 8fd7c00613 [text_sensor] Use StringRef for filter static data to avoid heap allocation 2025-12-06 22:29:24 -06:00
J. Nick Koston 49e7ccd937 [text_sensor] Use StringRef for filter static data to avoid heap allocation 2025-12-06 22:25:00 -06:00
J. Nick Koston c90e91eef8 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-06 21:53:51 -06:00
J. Nick Koston a100caff9f Merge branch 'zero_copy_select' into integration 2025-12-06 21:33:32 -06:00
J. Nick Koston 96108a1277 [select] Add zero-copy support for API select commands 2025-12-06 14:35:43 -06:00
J. Nick Koston f23428fbaf Merge remote-tracking branch 'upstream/dev' into integration 2025-12-06 14:10:44 -06:00
J. Nick Koston aba883a7a7 Merge branch 'retry_no_double_copy' into integration 2025-12-05 20:52:07 -06:00
J. Nick Koston 554ce30fca add missing overloads 2025-12-05 20:46:26 -06:00
J. Nick Koston 05dd1e4602 [scheduler] Avoid std::string allocation in RetryArgs 2025-12-05 20:38:57 -06:00
J. Nick Koston d89aeca65a Merge remote-tracking branch 'upstream/dev' into integration 2025-12-05 15:58:18 -06:00
J. Nick Koston 948a6f2134 Merge branch 'batch_cleanup' into integration 2025-12-04 22:50:56 -06:00
J. Nick Koston 5cb2128cd5 [api] Simplify MessageCreator to trivially copyable type 2025-12-04 22:50:20 -06:00
J. Nick Koston 202b580e71 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-04 21:43:05 -06:00
J. Nick Koston ad688a88b0 Merge branch 'back_to_loop_check_for_api_reboot' into integration 2025-12-04 17:50:45 -06:00
J. Nick Koston 501a5f8df4 Update esphome/components/api/api_server.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-04 17:49:49 -06:00
J. Nick Koston 2134e4eaea Merge branch 'back_to_loop_check_for_api_reboot' into integration 2025-12-04 17:08:03 -06:00
J. Nick Koston 5f2afe4b82 tweak 2025-12-04 17:04:44 -06:00
J. Nick Koston d950d3868d fix 2025-12-04 17:01:38 -06:00
J. Nick Koston 2b54f96d67 [api] Use loop-based reboot timeout check to avoid scheduler heap churn 2025-12-04 16:58:09 -06:00
J. Nick Koston 62da4b7057 Merge branch 'scheduler_recycle_safety' into integration 2025-12-04 16:34:36 -06:00
J. Nick Koston 3e96a86869 [scheduler] Fix use-after-free when cancelling timeouts from non-main-loop threads 2025-12-04 19:58:07 +00:00
J. Nick Koston f819b740dd Merge remote-tracking branch 'upstream/dev' into integration 2025-12-04 09:36:20 +00:00
J. Nick Koston 84d4ca61a3 Merge branch 'debug-wifi-power-mode-sensor' into integration 2025-12-03 15:33:02 +00:00
J. Nick Koston 29c260858f Merge branch 'parition_callbacks' into integration 2025-12-02 22:42:13 -06:00
Kevin Ahrendt d85d8745f6 use progmem to store strings on ESP8266s 2025-12-02 17:48:05 -05:00
Kevin Ahrendt 224866dfbb fix typo in test 2025-12-02 17:47:25 -05:00
J. Nick Koston 4634eb3ce4 Merge upstream/dev into parition_callbacks
Resolved conflicts in text_sensor.cpp by preserving the PartitionedCallbackManager
implementation while adding back pragma directives for deprecation warnings.
2025-12-02 15:25:25 -06:00
Kevin Ahrendt 7c532ba812 remove unusued include 2025-12-02 15:12:40 -05:00
Kevin Ahrendt 2821f3041c move ifdef guard to outside if statement 2025-12-02 15:08:43 -05:00
Kevin Ahrendt 2a27a3a95a add a power save mode listener and use it for the text sensor 2025-12-02 15:01:39 -05:00
Kevin Ahrendt 85d8a26d51 remove icon 2025-12-02 14:27:20 -05:00
Kevin Ahrendt 70fa4dc3b2 fix codegen and increase update interval 2025-12-02 14:26:24 -05:00
Kevin Ahrendt 7dfd20fb4f remove arduino test 2025-12-02 14:11:57 -05:00
Kevin Ahrendt 8ffdfc2aad move sensor to wifi_info 2025-12-02 14:06:24 -05:00
Kevin Ahrendt 3934c1563c Fix bad rebase 2025-12-02 14:03:39 -05:00
Kevin Ahrendt 8c6917fe8b only implement for esp32 2025-12-02 14:03:39 -05:00
Kevin Ahrendt 5115aeeb2b remove untested support for rp2040 and libretiny platforms 2025-12-02 14:03:38 -05:00
Kevin Ahrendt a3677daee1 ln882x doesn't support it, so remove it 2025-12-02 14:03:38 -05:00
Kevin Ahrendt 4a84221641 Add a WiFi power mode debug text sensor 2025-12-02 14:03:38 -05:00
J. Nick Koston 347dcdc018 Merge branch 'give_six_months_for_text_sensor_raw_state' into integration 2025-12-01 23:37:09 -06:00
J. Nick Koston 754f320382 Merge branch 'web_server_idf_fix_sse_line_breaks' into integration 2025-12-01 23:35:57 -06:00
J. Nick Koston 4b83401835 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-01 23:35:45 -06:00
J. Nick Koston 7ad63849f0 [web_server_idf] Fix SSE multi-line message formatting 2025-12-01 23:31:13 -06:00
J. Nick Koston 9f5e04c3d3 [text_sensor] Add deprecation warning for raw_state member access 2025-12-01 22:36:03 -06:00
J. Nick Koston f34e464ccb Merge remote-tracking branch 'swoboda1337/ota-use-idf-backend-for-all-esp32' into integration 2025-12-01 21:05:48 -06:00
J. Nick Koston e19529cccc Merge branch 'dev' into ota-use-idf-backend-for-all-esp32 2025-12-01 21:05:33 -06:00
J. Nick Koston db70f8117d Merge remote-tracking branch 'upstream/dev' into integration 2025-12-01 20:58:37 -06:00
Jonathan Swoboda 9bdff288d1 [ota] Use ESP-IDF OTA backend for all ESP32 builds
Remove the Arduino-specific ESP32 OTA backend and use the ESP-IDF
backend for both Arduino and ESP-IDF framework builds on ESP32.

Since Arduino-ESP32 is built on top of ESP-IDF, the ESP-IDF OTA APIs
(esp_ota_begin, esp_ota_write, esp_ota_end, etc.) are available
regardless of which framework is used.

This simplifies the codebase by removing ~100 lines of duplicate code
and ensures consistent OTA behavior across all ESP32 builds.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 20:45:46 -05:00
J. Nick Koston 0e8e0ca9a8 Merge branch 'action_response_error_ref' into integration 2025-12-01 16:29:34 -06:00
J. Nick Koston 73f3cf9703 [api] Use StringRef for ActionResponse error message to avoid copy 2025-12-01 16:25:06 -06:00
J. Nick Koston a3a6b77cd0 Merge branch 'button_cpp17' into integration 2025-12-01 15:16:17 -06:00
J. Nick Koston e1f9f68421 Merge branch 'datetime_cpp17' into integration 2025-12-01 15:16:08 -06:00
J. Nick Koston 76d540d6a6 [datetime] Convert to C++17 nested namespace style 2025-12-01 15:09:52 -06:00
J. Nick Koston 0fd878d3c4 [button] Convert to C++17 nested namespace style 2025-12-01 15:06:43 -06:00
J. Nick Koston a09481a352 Merge remote-tracking branch 'upstream/dev' into integration 2025-12-01 14:52:51 -06:00
J. Nick Koston 8e8b2f3a9c Merge branch 'comment_comp_time' into integration 2025-12-01 00:26:04 -06:00
J. Nick Koston ae6c123784 cleaner 2025-11-30 23:40:25 -06:00
J. Nick Koston 8c828884c0 Merge branch 'comment_comp_time' into integration 2025-11-30 22:51:39 -06:00
J. Nick Koston edf19b8dd4 [core] Use StringRef for get_comment and get_compilation_time to avoid allocations 2025-11-30 22:49:23 -06:00
J. Nick Koston b5a3c0be21 [core] Use StringRef for get_comment and get_compilation_time to avoid allocations 2025-11-30 22:47:40 -06:00
J. Nick Koston de6b20d495 [core] Use StringRef for get_comment and get_compilation_time to avoid allocations 2025-11-30 22:44:30 -06:00
J. Nick Koston 4dbe0dab51 [core] Use StringRef for get_comment and get_compilation_time to avoid allocations 2025-11-30 22:42:20 -06:00
J. Nick Koston 5996ae4dc5 Merge branch 'moment_api_misuse_fix' into integration 2025-11-30 22:02:10 -06:00
J. Nick Koston d9a8bb9774 [core] Fix status_momentary API misuse and optimize parameter type 2025-11-30 21:56:22 -06:00
J. Nick Koston cbc03fc342 Merge branch 'web_server_keys_progmem' into integration 2025-11-30 17:53:43 -06:00
J. Nick Koston 675b5d4501 merge 2025-11-30 17:51:23 -06:00
J. Nick Koston 1e38d0445e Merge branch 'web_server_keys_progmem' into integration
# Conflicts:
#	esphome/components/web_server/web_server.cpp
2025-11-30 17:47:55 -06:00
J. Nick Koston 2ac9f44377 store web_server keys in progmem 2025-11-30 17:39:37 -06:00
J. Nick Koston 7b541e3d80 Merge branch 'integration' into memory_api 2025-11-30 17:19:49 -06:00
J. Nick Koston eebfa6584c Merge branch 'text_sensor_dupe_storage' into integration 2025-11-30 17:19:43 -06:00
J. Nick Koston e8f6f86a02 cover 2025-11-30 17:17:15 -06:00
J. Nick Koston c23e5c5c03 Merge branch 'integration' into memory_api 2025-11-30 17:10:36 -06:00
J. Nick Koston fbf2ee9d39 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-30 17:10:30 -06:00
J. Nick Koston 4762f9a52a Merge branch 'integration' into memory_api 2025-11-29 23:38:36 -06:00
J. Nick Koston 858b0c0957 Merge branch 'text_sensor_dupe_storage' into integration 2025-11-29 23:38:05 -06:00
J. Nick Koston 4b16a4bca2 merge 2025-11-29 23:35:05 -06:00
J. Nick Koston 3cc9411d5a Merge branch 'text_sensor_dupe_storage' into integration 2025-11-29 23:32:51 -06:00
J. Nick Koston b4e6c38d65 [text_sensor] Avoid duplicate string storage when no filters configured 2025-11-29 23:30:01 -06:00
J. Nick Koston 62d144932b Merge branch 'integration' into memory_api 2025-11-29 23:06:14 -06:00
J. Nick Koston 159580d56a Merge branch 'update_state_strings_flash' into integration 2025-11-29 23:05:51 -06:00
J. Nick Koston 7699928339 Merge branch 'valve_state_strings_flash' into integration 2025-11-29 23:05:47 -06:00
J. Nick Koston 0219125397 Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-11-29 23:05:41 -06:00
J. Nick Koston 278f3e2914 [web_server] Store update state strings in flash on ESP8266 2025-11-29 23:04:57 -06:00
J. Nick Koston 87ab10b8dc [valve] Store valve state strings in flash on ESP8266 2025-11-29 22:44:01 -06:00
J. Nick Koston 8f8828d5b8 Merge branch 'integration' into memory_api 2025-11-29 18:36:33 -06:00
J. Nick Koston d5139ff0e7 Merge remote-tracking branch 'origin/cover_state_strings_flash' into integration 2025-11-29 18:36:21 -06:00
J. Nick Koston b14a1b3fd4 Merge branch 'climate_nested_namespace' into integration 2025-11-29 18:35:55 -06:00
J. Nick Koston a54a0e54b2 [cover] Store cover state strings in flash on ESP8266 2025-11-29 18:34:50 -06:00
J. Nick Koston 24f34cf782 [climate] Use C++17 nested namespace syntax 2025-11-29 18:29:46 -06:00
J. Nick Koston 415c56e324 Merge branch 'integration' into memory_api 2025-11-29 18:21:24 -06:00
J. Nick Koston 428ee718a9 Merge remote-tracking branch 'origin/hlk_fm22x_signatures' into integration 2025-11-29 18:21:18 -06:00
J. Nick Koston ffdc391c7b Merge branch 'lock_cleanups' into integration 2025-11-29 18:21:00 -06:00
J. Nick Koston a80435af0f [lock] Refactor trigger classes to template and add integration tests 2025-11-29 18:20:18 -06:00
J. Nick Koston 0dc6c6f563 [hlk_fm22x] Fix Action::play method signatures 2025-11-29 18:19:00 -06:00
J. Nick Koston 7d7e0f98f6 Merge branch 'integration' into memory_api 2025-11-29 17:09:57 -06:00
J. Nick Koston 544a70253f Merge remote-tracking branch 'upstream/dev' into integration 2025-11-29 17:09:52 -06:00
J. Nick Koston 9ec2733b09 Merge branch 'integration' into memory_api 2025-11-29 03:26:08 -06:00
J. Nick Koston e24407344e Merge branch 'prepare_idf_6_rtos_ring_buf_flash' into integration 2025-11-29 03:26:02 -06:00
J. Nick Koston b44abfce57 [esp32] Place ring buffer functions in flash by default (prep for IDF 6.0) 2025-11-29 03:18:39 -06:00
J. Nick Koston 22de35b202 [esp32] Place ring buffer functions in flash by default (prep for IDF 6.0) 2025-11-29 03:17:08 -06:00
J. Nick Koston 75b72a08f2 Merge branch 'integration' into memory_api 2025-11-29 02:46:18 -06:00
J. Nick Koston 5938d85cb0 Merge branch 'prepare_idf_6_rtos_funcs_flash' into integration 2025-11-29 02:46:11 -06:00
J. Nick Koston e7c54598cd tweak 2025-11-29 02:44:27 -06:00
J. Nick Koston 64281631a1 [esp32] Place FreeRTOS functions in flash by default (prep for IDF 6.0) 2025-11-29 02:32:40 -06:00
J. Nick Koston 29334b3584 Merge branch 'integration' into memory_api 2025-11-28 21:23:41 -06:00
J. Nick Koston 584902fa94 Merge branch 'number_reorder_reduce' into integration 2025-11-28 21:23:34 -06:00
J. Nick Koston e851493080 Update esphome/components/number/number_call.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 21:20:42 -06:00
J. Nick Koston 3dce0587cf Merge branch 'integration' into memory_api 2025-11-28 21:20:07 -06:00
J. Nick Koston 835f7198e4 Merge branch 'speed_count_255' into integration 2025-11-28 21:19:58 -06:00
J. Nick Koston a30786b055 clamp 2025-11-28 21:19:47 -06:00
J. Nick Koston 76a596d3b5 Merge branch 'integration' into memory_api 2025-11-28 21:15:46 -06:00
J. Nick Koston 260e8bdd75 Merge branch 'number_reorder_reduce' into integration 2025-11-28 21:15:39 -06:00
J. Nick Koston 4e379ab235 [number] Reduce NumberCall size by 4 bytes on 32-bit platforms 2025-11-28 21:15:09 -06:00
J. Nick Koston 9e7086c11e Merge branch 'integration' into memory_api 2025-11-28 21:08:02 -06:00
J. Nick Koston e983a19160 Merge branch 'speed_count_255' into integration 2025-11-28 21:07:53 -06:00
J. Nick Koston 192abf95ce [fan] Use uint8_t for speed_count and fix tuya max=256 validation bug 2025-11-28 21:07:02 -06:00
J. Nick Koston 28faecfc26 Merge branch 'integration' into memory_api 2025-11-28 20:53:47 -06:00
J. Nick Koston 8e6a4e94db Merge branch 'ble_client_ns' into integration 2025-11-28 20:53:39 -06:00
J. Nick Koston 1aaea4d3ab [ble_client] Convert to C++17 namespace style 2025-11-28 20:52:31 -06:00
J. Nick Koston 1120236f06 Revert "[api] Use shared static string for reboot timeout scheduler name"
This reverts commit bd958c5859.
2025-11-28 19:32:17 -06:00
J. Nick Koston 0bb79afa1f Revert "[api] Use shared static string for reboot timeout scheduler name"
This reverts commit bd958c5859.
2025-11-28 19:32:06 -06:00
J. Nick Koston adbab2c288 Merge branch 'integration' into memory_api 2025-11-28 19:28:02 -06:00
J. Nick Koston 92131f2542 Merge branch 'reboot_timeout_cleanup' into integration 2025-11-28 19:27:54 -06:00
J. Nick Koston bd958c5859 [api] Use shared static string for reboot timeout scheduler name 2025-11-28 19:27:21 -06:00
J. Nick Koston f1dcd478bb Merge branch 'integration' into memory_api 2025-11-28 19:06:36 -06:00
J. Nick Koston 3d5987b701 Merge branch 'light_call_strings_flash' into integration 2025-11-28 19:06:28 -06:00
J. Nick Koston 23a177f9d7 [light] Store log_percent parameter strings in flash on ESP8266 2025-11-28 19:05:52 -06:00
J. Nick Koston e6ea164a75 Merge branch 'integration' into memory_api 2025-11-28 18:55:13 -06:00
J. Nick Koston d8e95a835f Merge branch 'esp8266_device_info_flash' into integration 2025-11-28 18:54:56 -06:00
J. Nick Koston 7f7ccd6c9c [api] Store device info strings in flash on ESP8266 2025-11-28 18:53:19 -06:00
J. Nick Koston 8a90fa302e Merge branch 'integration' into memory_api 2025-11-28 16:57:14 -06:00
J. Nick Koston 83dd53954b Merge branch 'alarm_control_panel_reduce_complexity' into integration 2025-11-28 16:57:04 -06:00
J. Nick Koston ff8dbac54e Merge branch 'camera_listen' into integration 2025-11-28 16:57:00 -06:00
J. Nick Koston b872d10583 simplify 2025-11-28 16:52:46 -06:00
J. Nick Koston c7e8a3eea5 reduce 2025-11-28 16:43:22 -06:00
J. Nick Koston 913581e7ee reduce 2025-11-28 16:42:03 -06:00
J. Nick Koston 4ab1911d82 reduce 2025-11-28 16:40:27 -06:00
J. Nick Koston d3918dc784 reduce 2025-11-28 16:39:05 -06:00
J. Nick Koston 2060ed0a92 tests 2025-11-28 16:32:28 -06:00
J. Nick Koston 3c1c19da1c tweaks 2025-11-28 16:23:31 -06:00
J. Nick Koston e8bc19a07d [alarm_control_panel] Replace callbacks with listener interface 2025-11-28 16:11:23 -06:00
J. Nick Koston 22a60ec789 Merge branch 'integration' into memory_api 2025-11-28 14:49:29 -06:00
J. Nick Koston 9e7d6d7702 Merge branch 'logger_level_only_one_place' into integration 2025-11-28 14:49:24 -06:00
J. Nick Koston 3c7d48a5ef Merge branch 'dev' into logger_level_only_one_place 2025-11-28 14:49:06 -06:00
J. Nick Koston 200c0c77c7 Update esphome/components/logger/logger.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 14:48:52 -06:00
J. Nick Koston 6b756b81f3 Merge branch 'integration' into memory_api 2025-11-28 14:33:33 -06:00
J. Nick Koston a01eeaa796 Merge branch 'logger_level_only_one_place' into integration 2025-11-28 14:33:26 -06:00
J. Nick Koston ed0751246a [logger] Conditionally compile log level change listener 2025-11-28 14:28:02 -06:00
J. Nick Koston 63842b3795 Merge branch 'integration' into memory_api 2025-11-28 14:14:40 -06:00
J. Nick Koston dc1b2d7a4b Merge branch 'ota_listeners' into integration 2025-11-28 14:14:31 -06:00
J. Nick Koston e3dc9a715f tweak 2025-11-28 14:14:03 -06:00
J. Nick Koston b1a318c0d7 simplify, no more register needed 2025-11-28 14:07:55 -06:00
J. Nick Koston a45a2e8f5f guards 2025-11-28 14:01:37 -06:00
J. Nick Koston ee91bb2405 dry 2025-11-28 13:54:46 -06:00
J. Nick Koston ab6b4c77d2 dry 2025-11-28 13:52:58 -06:00
J. Nick Koston d9701af9c1 dry 2025-11-28 13:51:21 -06:00
J. Nick Koston a224d0acbd dry 2025-11-28 13:50:20 -06:00
J. Nick Koston 515cdf9b9f its always on 2025-11-28 13:48:19 -06:00
J. Nick Koston 8fe981b9f1 [ota] Replace std::function callbacks with listener interface 2025-11-28 13:46:00 -06:00
J. Nick Koston f678686cde Merge branch 'integration' into memory_api 2025-11-28 13:02:54 -06:00
J. Nick Koston 8fe3717665 Merge branch 'timeout_filter_scheduler_churn_fix' into integration 2025-11-28 13:02:47 -06:00
J. Nick Koston cc40f08574 use TimeoutFilterBase 2025-11-28 13:02:37 -06:00
J. Nick Koston 01f58e8662 Merge branch 'integration' into memory_api 2025-11-28 12:57:28 -06:00
J. Nick Koston a8cd2d6728 Merge branch 'timeout_filter_scheduler_churn_fix' into integration 2025-11-28 12:57:24 -06:00
J. Nick Koston 087ed48dba cleanups per review 2025-11-28 12:56:13 -06:00
J. Nick Koston 30ee14813f cover 2025-11-28 12:48:41 -06:00
J. Nick Koston 9fa9ff6200 Merge branch 'integration' into memory_api 2025-11-28 12:38:33 -06:00
J. Nick Koston 695f2c949d Merge branch 'light_lazy_callbacks' into integration 2025-11-28 12:38:28 -06:00
J. Nick Koston 149f5e59ec [light] Use listener pattern for state callbacks with lazy allocation 2025-11-28 12:36:40 -06:00
J. Nick Koston dcce2e3fbd Merge branch 'integration' into memory_api 2025-11-28 12:25:45 -06:00
J. Nick Koston 0229c200bc Merge branch 'camera_listen' into integration 2025-11-28 12:25:39 -06:00
J. Nick Koston 13626680ca Merge branch 'integration' into memory_api 2025-11-28 12:22:27 -06:00
J. Nick Koston 6e0336c3cd Merge remote-tracking branch 'upstream/dev' into integration 2025-11-28 12:22:19 -06:00
J. Nick Koston d43189cb07 Update esphome/components/camera/camera.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 12:14:19 -06:00
J. Nick Koston f1d8281489 [esp32_camera] Replace std::function callbacks with CameraListener interface 2025-11-28 12:05:41 -06:00
J. Nick Koston 0df9c2372c Merge branch 'integration' into memory_api 2025-11-28 10:30:48 -06:00
J. Nick Koston 7cc7883b17 Merge branch 'lock_state_store_progmem_esp8266' into integration 2025-11-28 10:30:43 -06:00
J. Nick Koston 2a67933062 small cleanups 2025-11-28 10:30:33 -06:00
J. Nick Koston a212161f68 cleanup 2025-11-28 10:30:12 -06:00
J. Nick Koston a57accc52e Merge branch 'integration' into memory_api 2025-11-28 10:13:39 -06:00
J. Nick Koston 345c0124a1 Merge branch 'lock_state_store_progmem_esp8266' into integration 2025-11-28 10:13:34 -06:00
J. Nick Koston 632af6bda3 [lock] Store lock state strings in flash on ESP8266 2025-11-28 10:13:03 -06:00
J. Nick Koston b0c099c26e Merge branch 'integration' into memory_api 2025-11-28 09:58:42 -06:00
J. Nick Koston 9489021ea5 Merge branch 'analyze_memory_include_ram' into integration 2025-11-28 09:58:31 -06:00
J. Nick Koston cd11f31887 address bot review 2025-11-28 09:57:34 -06:00
J. Nick Koston e22d78cf4c tweaks 2025-11-28 09:47:25 -06:00
J. Nick Koston eea02a5f0b ram 2025-11-28 09:44:29 -06:00
J. Nick Koston 3c854a02d7 add ram 2025-11-28 09:39:32 -06:00
J. Nick Koston 44127eec59 Merge branch 'integration' into memory_api 2025-11-27 22:43:40 -06:00
J. Nick Koston 775748f689 Merge branch 'bluetooth_scanner_state_listen' into integration 2025-11-27 22:43:33 -06:00
J. Nick Koston e3ea585d54 [esp32_ble_tracker] Replace scanner state callback with listener interface 2025-11-27 22:42:21 -06:00
J. Nick Koston b13369ab96 Merge branch 'integration' into memory_api 2025-11-27 22:29:45 -06:00
J. Nick Koston 6aee023eb3 Merge branch 'wifi_listener' into integration 2025-11-27 22:29:36 -06:00
J. Nick Koston 3752d5d2ab tweaks 2025-11-27 22:28:43 -06:00
J. Nick Koston 3a27a4d34e Merge branch 'integration' into memory_api 2025-11-27 22:18:35 -06:00
J. Nick Koston 4e96c17c42 Merge branch 'wifi_listener' into integration 2025-11-27 22:18:29 -06:00
J. Nick Koston c9bb9c4d24 [wifi] Replace std::function callbacks with listener interfaces 2025-11-27 22:17:56 -06:00
J. Nick Koston 3c0241d013 Merge branch 'integration' into memory_api 2025-11-27 22:06:03 -06:00
J. Nick Koston 5a19ff4a89 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-27 22:05:48 -06:00
J. Nick Koston f448a21df6 Merge branch 'integration' into memory_api 2025-11-27 20:54:11 -06:00
J. Nick Koston 4b0882ac76 Merge branch 'log_listener' into integration 2025-11-27 20:54:04 -06:00
J. Nick Koston 5c6d60ca2e unused param 2025-11-27 20:53:49 -06:00
J. Nick Koston 200491f9ce Merge branch 'integration' into memory_api 2025-11-27 20:03:54 -06:00
J. Nick Koston 8c4d886b4a Merge branch 'log_listener' into integration 2025-11-27 20:03:47 -06:00
J. Nick Koston c1b12791c6 [logger] Replace std::function callbacks with LogListener interface 2025-11-27 20:02:31 -06:00
J. Nick Koston eb2aa62d0d [logger] Replace std::function callbacks with LogListener interface 2025-11-27 20:01:15 -06:00
J. Nick Koston 9d191a61fe Merge branch 'integration' into memory_api 2025-11-27 18:42:29 -06:00
J. Nick Koston 483a8dd4c5 Merge branch 'ha_service_storage_strings_rodata' into integration 2025-11-27 18:42:20 -06:00
J. Nick Koston 9bc65c15be Merge remote-tracking branch 'origin/ha_service_storage_strings_rodata' into ha_service_storage_strings_rodata 2025-11-27 18:41:50 -06:00
J. Nick Koston f94e4a30ac safer 2025-11-27 18:41:36 -06:00
J. Nick Koston 73990a8d45 Merge branch 'integration' into memory_api 2025-11-27 18:29:34 -06:00
J. Nick Koston 294cedc730 Merge remote-tracking branch 'origin/ha_service_storage_strings_rodata' into integration 2025-11-27 18:29:17 -06:00
J. Nick Koston dbc2078b2e assert 2025-11-27 18:27:27 -06:00
J. Nick Koston bb67f5a048 Merge branch 'integration' into memory_api 2025-11-27 18:20:20 -06:00
J. Nick Koston 14ca2d889d Merge branch 'ha_service_storage_strings_rodata' into integration 2025-11-27 18:20:15 -06:00
J. Nick Koston 09151e6814 [api] Reduce heap usage for Home Assistant service call string storage 2025-11-27 18:16:56 -06:00
J. Nick Koston 4fa6d04861 Merge branch 'integration' into memory_api 2025-11-27 17:42:57 -06:00
J. Nick Koston 4cdec33c85 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-27 17:42:50 -06:00
J. Nick Koston a9d804cfbb Merge branch 'integration' into memory_api 2025-11-27 16:26:23 -06:00
J. Nick Koston 178b83c7f8 Merge branch 'usb_uart_wake' into integration 2025-11-27 16:26:17 -06:00
J. Nick Koston 25e3d5bf91 [usb_uart] Wake main loop immediately when USB data arrives 2025-11-27 16:23:28 -06:00
J. Nick Koston 09cd056a3c Merge branch 'integration' into memory_api 2025-11-26 22:58:23 -06:00
J. Nick Koston d93987f61a Merge branch 'light_sparse_table' into integration 2025-11-26 22:58:08 -06:00
J. Nick Koston ca20a877bf Merge branch 'integration' into memory_api 2025-11-26 22:57:59 -06:00
J. Nick Koston 88ef4359b3 Merge branch 'webserver_reduce_ram' into integration 2025-11-26 22:57:44 -06:00
J. Nick Koston 75b4401cd4 disable tidy 2025-11-26 22:57:17 -06:00
J. Nick Koston 22eea92534 [light] Replace sparse enum switch with linear search to save 156 bytes RAM 2025-11-26 22:54:45 -06:00
J. Nick Koston b6f589710d Merge branch 'integration' into memory_api 2025-11-26 22:47:17 -06:00
J. Nick Koston da1e31ba0e Merge branch 'webserver_reduce_ram' into integration 2025-11-26 22:47:00 -06:00
J. Nick Koston 91ff949399 [web_server] Replace routing table with if-else chain to save 116 bytes RAM 2025-11-26 22:45:51 -06:00
J. Nick Koston 1a1bfd021a Merge branch 'integration' into memory_api 2025-11-26 22:18:57 -06:00
J. Nick Koston ec151b477a Merge branch 'wifi_sta_8266' into integration 2025-11-26 22:18:41 -06:00
J. Nick Koston 8ecd40608b [wifi] Save 112 bytes BSS on ESP8266 by calling SDK directly for BSSID 2025-11-26 22:18:13 -06:00
J. Nick Koston 60d4b8da92 Merge branch 'integration' into memory_api 2025-11-26 21:52:24 -06:00
J. Nick Koston 2cd2c15911 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-26 21:52:13 -06:00
J. Nick Koston 4a7bdd4388 Merge branch 'integration' into memory_api 2025-11-26 18:59:52 -06:00
J. Nick Koston 7e53f96c4c Merge branch 'buffer_churn_init_sync' into integration 2025-11-26 18:59:47 -06:00
J. Nick Koston 406fa220f5 logs! 2025-11-26 18:59:11 -06:00
J. Nick Koston 31a9558445 Merge branch 'integration' into memory_api 2025-11-26 18:22:37 -06:00
J. Nick Koston 747341efa4 Merge branch 'buffer_churn_init_sync' into integration 2025-11-26 18:22:33 -06:00
J. Nick Koston bbf7e8c1f2 [api] Eliminate rx_buf heap churn and release buffers after initial sync 2025-11-26 18:17:25 -06:00
J. Nick Koston a42a84b9c3 Merge branch 'integration' into memory_api 2025-11-26 17:09:04 -06:00
J. Nick Koston c81945e9be Merge remote-tracking branch 'upstream/dev' into integration 2025-11-26 17:08:54 -06:00
J. Nick Koston 5fa1d72d35 Merge branch 'integration' into memory_api 2025-11-26 17:08:12 -06:00
J. Nick Koston 6357f88abc Merge remote-tracking branch 'upstream/dev' into integration 2025-11-26 17:08:07 -06:00
J. Nick Koston b2cc760ad2 Merge branch 'integration' into memory_api 2025-11-26 17:07:05 -06:00
J. Nick Koston 66652c5928 Merge branch 'dev' into integration 2025-11-26 17:06:58 -06:00
J. Nick Koston 8d8ded74ae Merge branch 'schedule_use_after_free' into integration 2025-11-26 16:40:56 -06:00
J. Nick Koston 877d2b914c tweaks 2025-11-26 16:38:39 -06:00
J. Nick Koston 1d59c7a838 [scheduler] Fix use-after-move crash in heap operations 2025-11-26 12:08:49 -06:00
J. Nick Koston 83db380dfa Merge branch 'integration' into memory_api 2025-11-25 21:41:45 -06:00
J. Nick Koston 70089e03d5 Merge branch 'timeout_filter_scheduler_churn_fix' into integration 2025-11-25 21:41:38 -06:00
J. Nick Koston 1d24bf8438 Merge branch 'integration' into memory_api 2025-11-25 21:21:30 -06:00
J. Nick Koston cbbdd634c1 Merge upstream/dev into integration 2025-11-25 21:21:03 -06:00
J. Nick Koston 2c6500511f Merge branch 'dev' into timeout_filter_scheduler_churn_fix 2025-11-25 14:30:36 -06:00
J. Nick Koston dc3366c431 Merge branch 'integration' into memory_api 2025-11-24 21:35:43 -06:00
J. Nick Koston e01aec79e3 Merge branch 'web_server_turn_on_off_cleanup' into integration 2025-11-24 21:35:37 -06:00
J. Nick Koston b06c730a26 [web_server] Consolidate turn_on/turn_off handlers to eliminate duplicate lambdas 2025-11-24 21:34:36 -06:00
J. Nick Koston 1969d1a9ff Merge branch 'integration' into memory_api 2025-11-24 21:04:37 -06:00
J. Nick Koston ee18f19e88 Merge branch 'ltr390_containers' into integration 2025-11-24 21:04:17 -06:00
J. Nick Koston 24217eb257 [ltr390] Simplify mode tracking with bitmask instead of vector/function 2025-11-24 20:58:38 -06:00
J. Nick Koston f478e2e841 Merge branch 'integration' into memory_api 2025-11-24 19:39:40 -06:00
J. Nick Koston 7a9e1964b1 Merge branch 'effects_are_const_char' into integration 2025-11-24 19:39:33 -06:00
J. Nick Koston a018809404 [api] Use const char* pointers for light effects to eliminate heap allocations 2025-11-24 19:38:13 -06:00
J. Nick Koston 781de689c0 merge 2025-11-24 19:14:00 -06:00
J. Nick Koston 4496a6e7b2 Merge branch 'integration' into memory_api 2025-11-24 18:35:42 -06:00
J. Nick Koston 1a882ab406 Merge remote-tracking branch 'kbx81/20250915-wifi-info-use-callbacks' into integration 2025-11-24 18:35:31 -06:00
kbx81 27547313cd Suggestions from review 2025-11-24 18:31:11 -06:00
Keith Burzinski f5bdbc7af2 More const
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-11-24 18:19:27 -06:00
Keith Burzinski 90f38566ea Update esphome/components/wifi/__init__.py
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2025-11-24 18:05:40 -06:00
J. Nick Koston a50c744714 Update text_sensor.py
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2025-11-24 17:50:36 -06:00
kbx81 c7d485e8bd Use set.intersection 2025-11-24 17:08:55 -06:00
Keith Burzinski da23215e05 Merge branch 'dev' into 20250915-wifi-info-use-callbacks 2025-11-24 16:59:23 -06:00
kbx81 9b50ed3589 conditionally compile callbacks 2025-11-24 16:09:12 -06:00
kbx81 0398b92de5 Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-11-24 15:45:28 -06:00
J. Nick Koston 22b47eb258 Merge branch 'integration' into memory_api 2025-11-24 15:40:03 -06:00
J. Nick Koston 7912f19230 mege 2025-11-24 15:39:52 -06:00
J. Nick Koston c3a81dbbaa Merge branch 'integration' into memory_api 2025-11-24 15:36:47 -06:00
J. Nick Koston decba7c233 Merge branch 'mdns_arduino' into integration 2025-11-24 15:36:42 -06:00
J. Nick Koston f5736303c3 fixs 2025-11-24 15:36:31 -06:00
J. Nick Koston e6012f8f76 Merge branch 'integration' into memory_api 2025-11-24 15:34:54 -06:00
J. Nick Koston 39c2fea116 Merge branch 'mdns_arduino' into integration 2025-11-24 15:34:43 -06:00
J. Nick Koston 03767474b7 [mdns] Extract common Arduino mDNS registration to shared header 2025-11-24 15:28:45 -06:00
J. Nick Koston fca4512370 [mdns] Extract common Arduino mDNS registration to shared header 2025-11-24 15:28:38 -06:00
J. Nick Koston a95f2ec484 Merge branch 'integration' into memory_api 2025-11-24 12:45:44 -06:00
J. Nick Koston 537ddcc880 Merge branch 'wifi_idf_cleanup' into integration 2025-11-24 12:45:38 -06:00
J. Nick Koston d2483347d0 [wifi] Use ESP-IDF IP formatting macros directly to eliminate heap allocations 2025-11-24 12:44:41 -06:00
J. Nick Koston b311d610df Merge branch 'integration' into memory_api 2025-11-24 12:24:06 -06:00
J. Nick Koston 301cf54ca6 Merge branch 'error_logstr' into integration 2025-11-24 12:24:02 -06:00
J. Nick Koston bc7f67e0a2 clear 2025-11-24 12:23:51 -06:00
J. Nick Koston 990a4442c7 Merge branch 'integration' into memory_api 2025-11-24 12:19:15 -06:00
J. Nick Koston 4eca6a7442 Merge branch 'error_logstr' into integration 2025-11-24 12:19:10 -06:00
J. Nick Koston 7496d20ae6 fix ambiguous 2025-11-24 12:18:59 -06:00
J. Nick Koston 83b5f061da Merge branch 'integration' into memory_api 2025-11-24 12:17:10 -06:00
J. Nick Koston 29999b3148 Merge branch 'error_logstr' into integration 2025-11-24 12:17:05 -06:00
J. Nick Koston 9d49ca58b5 silence warning for nullptr 2025-11-24 12:16:52 -06:00
J. Nick Koston a279cc623a Merge branch 'integration' into memory_api 2025-11-24 12:12:22 -06:00
J. Nick Koston 7fc04c094c Merge branch 'error_logstr' into integration 2025-11-24 12:12:13 -06:00
J. Nick Koston 84b2bea706 fix dual dep 2025-11-24 12:12:05 -06:00
J. Nick Koston fa1efb1048 Merge branch 'integration' into memory_api 2025-11-24 12:10:08 -06:00
J. Nick Koston a6446ee179 Merge branch 'error_logstr' into integration 2025-11-24 12:09:58 -06:00
J. Nick Koston 04bb60fe5a Merge branch 'integration' into memory_api 2025-11-24 12:09:31 -06:00
J. Nick Koston e2311d70e6 Merge branch 'libretiny_no_strlen' into integration 2025-11-24 12:09:26 -06:00
J. Nick Koston af9d0634cd Merge branch 'integration' into memory_api 2025-11-24 11:47:23 -06:00
J. Nick Koston 296e79d9e5 Merge branch 'copilot/fix-internal-gpio-attach-issues' into integration 2025-11-24 11:47:18 -06:00
J. Nick Koston c4dec5b3e3 Merge branch 'dev' into error_logstr 2025-11-24 11:02:54 -06:00
J. Nick Koston b29068cd40 Merge branch 'dev' into mdns_mac_storage_reduce_ram 2025-11-24 10:43:15 -06:00
J. Nick Koston 780fe37a13 fix mipi_dsi implementation 2025-11-24 10:27:53 -06:00
J. Nick Koston 4c1ec60d8b Merge remote-tracking branch 'origin/dev' into error_logstr 2025-11-24 10:27:12 -06:00
J. Nick Koston 5248e0139d handle mark_failed case 2025-11-24 10:25:15 -06:00
J. Nick Koston 011992f64d Merge branch 'dev' into libretiny_no_strlen 2025-11-24 10:22:44 -06:00
J. Nick Koston 87ded80310 Merge branch 'integration' into memory_api 2025-11-24 08:34:32 -06:00
J. Nick Koston c141678abc Merge branch 'mdns_mac_storage_reduce_ram' into integration 2025-11-24 08:34:19 -06:00
J. Nick Koston fd0a4e9111 dry 2025-11-24 08:34:04 -06:00
J. Nick Koston 12051813b8 dry 2025-11-24 08:33:47 -06:00
kbx81 5b23b471bb preen 2025-11-24 02:34:46 -06:00
kbx81 84f9cbca58 preen 2025-11-24 02:21:34 -06:00
Keith Burzinski 87edf7ccf4 Merge branch 'dev' into 20250915-wifi-info-use-callbacks 2025-11-24 01:34:24 -06:00
kbx81 c1bc0358c3 preen 2025-11-24 01:33:32 -06:00
kbx81 deb8ffafa8 pico_w 2025-11-24 01:30:29 -06:00
J. Nick Koston 1fa4eedbb4 Merge branch 'integration' into memory_api 2025-11-23 22:43:50 -06:00
J. Nick Koston 9dd3ca7cf5 Merge branch 'mdns_mac_storage_reduce_ram' into integration 2025-11-23 22:43:43 -06:00
J. Nick Koston b8719319fe cleanup 2025-11-23 22:42:07 -06:00
J. Nick Koston 39a4a0bf10 no dupe storage 2025-11-23 22:35:13 -06:00
J. Nick Koston 02c54bb373 Merge branch 'integration' into memory_api 2025-11-23 21:52:16 -06:00
J. Nick Koston 76406c91a5 Merge branch 'mdns_mac_storage_reduce_ram' into integration 2025-11-23 21:52:11 -06:00
J. Nick Koston 792a2b1ee1 tidy 2025-11-23 21:52:02 -06:00
J. Nick Koston 6fa7ad4e80 Merge branch 'integration' into memory_api 2025-11-23 21:46:25 -06:00
J. Nick Koston 98d3fb535f Merge branch 'mdns_mac_storage_reduce_ram' into integration 2025-11-23 21:46:19 -06:00
J. Nick Koston fa299eed58 [mdns] Store MAC address in fixed buffer to reduce RAM usage 2025-11-23 21:45:28 -06:00
J. Nick Koston a018e07d3f Merge branch 'integration' into memory_api 2025-11-23 21:23:32 -06:00
J. Nick Koston 62823adc19 Merge branch 'esp32_ble_name_char' into integration 2025-11-23 21:23:25 -06:00
J. Nick Koston 2cd71bf273 one more 2025-11-23 21:22:26 -06:00
J. Nick Koston ff4940d3b5 one more 2025-11-23 21:21:02 -06:00
J. Nick Koston 48f0e52f9d one more 2025-11-23 21:20:23 -06:00
J. Nick Koston 36f109c708 Merge branch 'integration' into memory_api 2025-11-23 21:15:36 -06:00
J. Nick Koston 8ed36e699f Merge branch 'api_noise_reduce_alloc' into integration 2025-11-23 21:15:29 -06:00
J. Nick Koston 268780dbeb [api] Use stack buffer for MAC address in Noise handshake 2025-11-23 21:13:27 -06:00
J. Nick Koston a0bbce190a Merge branch 'integration' into memory_api 2025-11-23 21:01:42 -06:00
J. Nick Koston 214e6c358b Merge branch 'esp32_ble_name_char' into integration 2025-11-23 21:01:31 -06:00
J. Nick Koston 1e886b8885 [esp32_ble] Store device name in flash to reduce RAM usage 2025-11-23 20:56:27 -06:00
J. Nick Koston 531af6a277 [esp32_ble] Store device name in flash to reduce RAM usage 2025-11-23 20:50:31 -06:00
J. Nick Koston b432c056dc [esp32_ble] Store device name in flash to reduce RAM usage 2025-11-23 20:48:27 -06:00
J. Nick Koston cd9323ce70 overload 2025-11-23 20:45:31 -06:00
J. Nick Koston 10cc0c3bff overload 2025-11-23 20:43:51 -06:00
J. Nick Koston 5fcfe31be4 Merge branch 'integration' into memory_api 2025-11-23 20:39:13 -06:00
J. Nick Koston 9b8c9d38f5 Merge branch 'esp32_ble_name_char' into integration 2025-11-23 20:38:54 -06:00
J. Nick Koston e7d09c0f62 [esp32_ble] Store device name in flash to reduce RAM usage 2025-11-23 20:36:54 -06:00
J. Nick Koston 0f5809765e Merge branch 'integration' into memory_api 2025-11-23 20:17:49 -06:00
J. Nick Koston d3d5e4c8f4 Merge branch 'ble_address_str' into integration 2025-11-23 20:17:40 -06:00
J. Nick Koston 173912c68b more fixes 2025-11-23 20:10:44 -06:00
J. Nick Koston 4795ac7b1b [esp32_ble_client] Replace std::string with char[18] for BLE address storage 2025-11-23 20:03:25 -06:00
kbx81 66d6c85aa7 preen 2025-11-23 02:05:41 -06:00
kbx81 97572cc968 Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-11-23 02:04:55 -06:00
J. Nick Koston 1fe1a3d2c8 fix date 2025-11-21 11:00:23 -06:00
J. Nick Koston 7de66024ca dry, fix load protected on esp8266 2025-11-21 10:56:12 -06:00
J. Nick Koston 6a48ba8d59 Merge branch 'dev' into error_logstr 2025-11-21 10:28:50 -06:00
J. Nick Koston d68fd02de4 Merge branch 'dev' into error_logstr 2025-11-21 06:42:25 -06:00
copilot-swe-agent[bot] ddf1e27ac3 Move gpio_intr_enable after gpio_isr_handler_add per review feedback
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com>
2025-11-20 22:55:08 +00:00
J. Nick Koston 04c64c0f73 Merge branch 'integration' into memory_api 2025-11-20 15:10:21 -06:00
J. Nick Koston a2a125a5c2 Merge remote-tracking branch 'upstream/copilot/fix-internal-gpio-attach-issues' into integration 2025-11-20 15:10:08 -06:00
copilot-swe-agent[bot] 55d7344086 Remove gpio_intr_enable() call to fix level-triggered interrupt panic
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com>
2025-11-20 19:54:05 +00:00
copilot-swe-agent[bot] fae833b73b Initial plan 2025-11-20 19:49:10 +00:00
J. Nick Koston e37885ade5 syntax 2025-11-20 12:12:42 -06:00
J. Nick Koston 7cbc890c0d syntax 2025-11-20 12:12:14 -06:00
J. Nick Koston 3955b66379 [core] Deprecate status_set_error(const char*) and require LogString to prevent dangling pointers 2025-11-20 12:04:20 -06:00
J. Nick Koston 48ba72ee34 Merge branch 'integration' into memory_api 2025-11-20 07:23:02 -06:00
J. Nick Koston f494ca8e0f Merge branch 'api_ha_subs' into integration 2025-11-20 07:22:55 -06:00
J. Nick Koston 946f8deb3d tweak naming 2025-11-20 07:22:27 -06:00
J. Nick Koston 5fadeb5fd3 Merge branch 'integration' into memory_api 2025-11-19 23:26:03 -06:00
J. Nick Koston 56ef46fdd4 Merge branch 'api_ha_subs' into integration 2025-11-19 23:25:55 -06:00
J. Nick Koston 177026d8c4 simplify 2025-11-19 23:25:45 -06:00
J. Nick Koston 4533b8f92c tweaks 2025-11-19 23:20:24 -06:00
J. Nick Koston 0d3919747c Merge branch 'integration' into memory_api 2025-11-19 22:52:08 -06:00
J. Nick Koston 19c377b6de Merge branch 'api_ha_subs' into integration 2025-11-19 22:51:56 -06:00
J. Nick Koston b9595c0795 cover 2025-11-19 22:49:52 -06:00
J. Nick Koston efe2a1a506 cleanup 2025-11-19 22:32:41 -06:00
J. Nick Koston 185c1dec43 cleanup 2025-11-19 22:24:00 -06:00
J. Nick Koston c39d17f864 cleanup 2025-11-19 22:20:12 -06:00
J. Nick Koston b400a98fb3 [api] Store Home Assistant state subscriptions in flash instead of heap 2025-11-19 22:17:16 -06:00
J. Nick Koston 38f9d5d0b6 Merge branch 'integration' into memory_api 2025-11-19 21:39:05 -06:00
J. Nick Koston c2ee7c7190 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-19 21:38:37 -06:00
J. Nick Koston 3b3a505283 Merge branch 'integration' into memory_api 2025-11-19 20:54:20 -06:00
J. Nick Koston 8ba330e992 Merge branch 'select_cpp17' into integration 2025-11-19 20:54:08 -06:00
J. Nick Koston 317a6082a1 [select] Modernize namespace declarations to C++17 syntax 2025-11-19 20:53:27 -06:00
J. Nick Koston 9f1b764c59 Merge branch 'integration' into memory_api 2025-11-19 18:25:36 -06:00
J. Nick Koston 463836fbdc Merge branch 'ipaddress_missing_type' into integration 2025-11-19 18:25:26 -06:00
J. Nick Koston f478e09972 [network] Fix uninitialized type field in IPAddress esp_ip4_addr_t constructor 2025-11-19 18:12:18 -06:00
J. Nick Koston 349aa41c1c Merge branch 'integration' into memory_api 2025-11-19 16:42:10 -06:00
J. Nick Koston f6771dfdae Merge remote-tracking branch 'upstream/dev' into integration 2025-11-19 16:42:04 -06:00
J. Nick Koston db8eb0ba89 Merge branch 'integration' into memory_api 2025-11-19 11:45:59 -06:00
J. Nick Koston 615cc8a9c0 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-19 11:45:51 -06:00
J. Nick Koston 71fa81088e Merge branch 'integration' into memory_api 2025-11-18 21:47:57 -06:00
J. Nick Koston 4933a2fbe1 Merge branch 'ld_namespace' into integration 2025-11-18 21:47:50 -06:00
J. Nick Koston 2d7942e788 [ld24xx] Modernize namespace declarations to C++17 syntax 2025-11-18 21:46:54 -06:00
J. Nick Koston c81978c7e9 Merge branch 'integration' into memory_api 2025-11-18 21:09:31 -06:00
J. Nick Koston a3cd3757b3 Merge branch 'light_namespace' into integration 2025-11-18 21:09:14 -06:00
J. Nick Koston ecaa3f9f71 [light] Modernize namespace declarations to C++17 syntax 2025-11-18 21:07:13 -06:00
J. Nick Koston 99366eca89 Merge branch 'integration' into memory_api 2025-11-18 18:57:27 -06:00
J. Nick Koston ab84d2dbeb Merge branch 'frame_helper_socket_dupe' into integration 2025-11-18 18:57:22 -06:00
J. Nick Koston 88717ac1f5 [api] Remove redundant socket pointer from APIFrameHelper 2025-11-18 18:53:50 -06:00
J. Nick Koston 32e0470629 Merge branch 'integration' into memory_api 2025-11-18 16:21:30 -06:00
J. Nick Koston fa9cc3d338 Merge branch 'web_server_is_singleton' into integration 2025-11-18 16:21:20 -06:00
J. Nick Koston 5c2cf9f37c [web_server_base] Replace shared_ptr with unique_ptr for AsyncWebServer 2025-11-18 16:10:07 -06:00
J. Nick Koston c8cde24607 Merge branch 'integration' into memory_api 2025-11-18 15:58:19 -06:00
J. Nick Koston b2bece2914 Merge branch 'mdns_namespace' into integration 2025-11-18 15:58:02 -06:00
J. Nick Koston 9f2e6d97d3 Merge branch 'lock_ns' into integration 2025-11-18 15:57:50 -06:00
J. Nick Koston 65b5619555 Merge branch 'api_noise' into integration 2025-11-18 15:57:44 -06:00
J. Nick Koston b5ebe91150 [api] Optimize APINoiseContext memory usage by removing shared_ptr overhead 2025-11-18 15:24:50 -06:00
J. Nick Koston 99acc62c3b [lock] Modernize to C++17 nested namespaces 2025-11-18 14:51:37 -06:00
J. Nick Koston 66e471cf2a [mdns] Modernize to C++17 nested namespace syntax 2025-11-18 14:33:07 -06:00
J. Nick Koston 7ffff03823 Merge branch 'integration' into memory_api 2025-11-18 14:28:20 -06:00
J. Nick Koston 4e58c334d4 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-18 14:28:07 -06:00
J. Nick Koston 700e458352 Merge branch 'integration' into memory_api 2025-11-18 11:33:03 -06:00
J. Nick Koston 50982ced40 Merge branch 'scheduler_fix_nullptr' into integration 2025-11-18 11:32:58 -06:00
J. Nick Koston d83a698398 [scheduler] Add defensive nullptr checks and explicit locking requirements 2025-11-18 11:31:01 -06:00
J. Nick Koston 3ae68c0488 Merge branch 'integration' into memory_api 2025-11-18 10:13:31 -06:00
J. Nick Koston 0b8b5768b4 Merge branch 'captive_fix' into integration 2025-11-18 10:13:26 -06:00
J. Nick Koston 92e19c497e fixes 2025-11-18 10:13:03 -06:00
J. Nick Koston 62c9d83777 fixes 2025-11-18 10:09:14 -06:00
J. Nick Koston 53a3a5ddea fixes 2025-11-18 10:08:53 -06:00
J. Nick Koston 1f6aca5c17 fixes 2025-11-18 10:08:44 -06:00
J. Nick Koston 6253496192 Merge branch 'integration' into memory_api 2025-11-18 09:58:59 -06:00
J. Nick Koston 44d40804b2 Merge branch 'captive_fix' into integration 2025-11-18 09:58:50 -06:00
J. Nick Koston 303792bf8d make sure improv works if we are in connect loop 2025-11-18 09:58:34 -06:00
J. Nick Koston 9091285559 Merge branch 'integration' into memory_api 2025-11-18 09:37:39 -06:00
J. Nick Koston 8c028ce564 Merge branch 'captive_fix' into integration 2025-11-18 09:37:34 -06:00
J. Nick Koston 516f94671d fixes 2025-11-18 09:37:27 -06:00
J. Nick Koston da70e4d9d0 Merge branch 'captive_fix' into integration 2025-11-18 09:35:20 -06:00
J. Nick Koston 19bd282274 fix tight loop 2025-11-18 09:35:14 -06:00
J. Nick Koston 61ca469a86 Merge branch 'integration' into memory_api 2025-11-18 09:33:37 -06:00
J. Nick Koston 46832306ad Merge branch 'captive_fix' into integration 2025-11-18 09:33:30 -06:00
J. Nick Koston eaaaeecc92 there is a tight loop in improv 2025-11-18 09:32:50 -06:00
J. Nick Koston bfea5c10d6 Merge branch 'integration' into memory_api 2025-11-18 09:28:23 -06:00
J. Nick Koston 3ac94fa6ab Merge branch 'captive_fix' into integration 2025-11-18 09:28:18 -06:00
J. Nick Koston 17b72061ad realign timeouts 2025-11-18 09:26:53 -06:00
J. Nick Koston 8025fc4a8b Merge branch 'integration' into memory_api 2025-11-18 09:26:00 -06:00
J. Nick Koston 05c2e31ef6 Merge branch 'captive_fix' into integration 2025-11-18 09:25:52 -06:00
J. Nick Koston 407f07a643 realign timeouts 2025-11-18 09:25:41 -06:00
J. Nick Koston 850978affe realign timeouts 2025-11-18 09:25:24 -06:00
J. Nick Koston a8af45f60d Merge branch 'integration' into memory_api 2025-11-18 09:14:21 -06:00
J. Nick Koston 8708d4290c Merge branch 'captive_fix' into integration 2025-11-18 09:14:15 -06:00
J. Nick Koston 79b9e34f65 do not skip ssids in retry_hidden if we did not scan 2025-11-18 09:13:29 -06:00
J. Nick Koston 1457ef6e0b Merge branch 'integration' into memory_api 2025-11-18 00:15:41 -06:00
J. Nick Koston 9a2536a5f6 Merge branch 'captive_fix' into integration 2025-11-18 00:15:31 -06:00
J. Nick Koston 66fcf364a6 tweak 2025-11-18 00:09:51 -06:00
J. Nick Koston 048533a1fd no delay 2025-11-17 23:45:59 -06:00
J. Nick Koston 3f763b24c5 no delay 2025-11-17 23:45:32 -06:00
J. Nick Koston efbf696f88 no delay 2025-11-17 23:45:25 -06:00
J. Nick Koston 29ef0a6740 no delay 2025-11-17 23:43:33 -06:00
J. Nick Koston b9af06f5a4 no delay 2025-11-17 23:35:26 -06:00
J. Nick Koston 3f799a01a2 anotehr thread safety issue 2025-11-17 23:23:49 -06:00
J. Nick Koston 2ee5cc6f22 anotehr thread safety issue 2025-11-17 23:17:36 -06:00
J. Nick Koston 8d7090fcd6 fix thread safety issue 2025-11-17 23:11:55 -06:00
J. Nick Koston 3d83975d46 fix thread safety issue 2025-11-17 23:11:23 -06:00
J. Nick Koston 1815a7cf90 skip scan when ap mode 2025-11-17 23:03:38 -06:00
J. Nick Koston bfe6fc0dd0 skip scan when ap mode 2025-11-17 23:00:22 -06:00
J. Nick Koston 87ccb777c6 esp32 2025-11-17 22:32:57 -06:00
J. Nick Koston f0bae783cf cleanup 2025-11-17 22:31:53 -06:00
J. Nick Koston 6f96804a5d cleanup 2025-11-17 22:31:22 -06:00
J. Nick Koston a81f28a73b fixes 2025-11-17 22:14:56 -06:00
J. Nick Koston bbfff42f76 fixes 2025-11-17 22:11:27 -06:00
J. Nick Koston 11c8865248 fixes 2025-11-17 21:57:21 -06:00
J. Nick Koston 7f4205b82c reduce 2025-11-17 21:52:12 -06:00
J. Nick Koston 27a068e8b5 reduce 2025-11-17 21:44:18 -06:00
J. Nick Koston 15be275541 tweak 2025-11-17 21:03:35 -06:00
J. Nick Koston b0560894b7 [wifi] Fix captive portal unusable when WiFi credentials are wrong 2025-11-17 19:10:40 -06:00
J. Nick Koston 93e7db7b9c Merge branch 'integration' into memory_api 2025-11-17 18:02:31 -06:00
J. Nick Koston 1200e9c3ca Merge branch 'mac_address_buffer' into integration 2025-11-17 18:02:23 -06:00
J. Nick Koston dc277e64f4 tweak 2025-11-17 18:00:15 -06:00
J. Nick Koston 6aa72f5449 Merge branch 'integration' into memory_api 2025-11-17 17:54:26 -06:00
J. Nick Koston e312184a22 Merge branch 'mac_address_buffer' into integration 2025-11-17 17:54:18 -06:00
J. Nick Koston 6d67fd0b81 [wifi/captive_portal/web_server/wifi_info] Use stack allocation for MAC address formatting 2025-11-17 17:53:23 -06:00
J. Nick Koston a08d67027d Merge branch 'integration' into memory_api 2025-11-17 17:34:09 -06:00
J. Nick Koston 0b1dd89fec Merge branch 'ld24xx_mac_version_format' into integration 2025-11-17 17:34:03 -06:00
J. Nick Koston 547f69011b tidy 2025-11-17 17:33:52 -06:00
J. Nick Koston 53bab00858 [ld24xx] Use stack allocation for MAC and version formatting 2025-11-17 17:27:08 -06:00
J. Nick Koston 5b9d2e5e35 Merge branch 'dev' into timeout_filter_scheduler_churn_fix 2025-11-17 15:12:59 -06:00
J. Nick Koston f31a29272e Merge branch 'integration' into memory_api 2025-11-17 09:36:09 -06:00
J. Nick Koston adf75630fe Merge branch 'device_info_less_alloc' into integration 2025-11-17 09:36:02 -06:00
J. Nick Koston 539597209f [api] Reduce heap allocations in DeviceInfoResponse 2025-11-17 09:35:05 -06:00
J. Nick Koston 44eb4c581c Merge branch 'integration' into memory_api 2025-11-17 09:21:02 -06:00
J. Nick Koston 8b1f3b2b08 Merge branch 'bh1750_loop' into integration 2025-11-17 09:20:55 -06:00
J. Nick Koston 70e44cd5a6 Merge branch 'integration' into memory_api 2025-11-17 09:13:38 -06:00
J. Nick Koston 499ad18475 Merge branch 'dashboard_import_url_store_rodata' into integration 2025-11-17 09:13:30 -06:00
J. Nick Koston 0afaf182da Merge branch 'dev' into dashboard_import_url_store_rodata 2025-11-17 09:12:57 -06:00
J. Nick Koston 43f2405dc3 [dashboard_import] Store package import URL in .rodata instead of RAM 2025-11-17 09:10:51 -06:00
J. Nick Koston 41ac12a0e1 Update esphome/components/bh1750/bh1750.cpp 2025-11-17 08:48:42 -06:00
J. Nick Koston a6f416a09e Update esphome/components/bh1750/bh1750.cpp 2025-11-17 08:48:13 -06:00
J. Nick Koston 64b9e23728 Merge branch 'integration' into memory_api 2025-11-17 08:34:47 -06:00
J. Nick Koston c155dbb4e6 Merge branch 'bh1750_loop' into integration 2025-11-17 08:34:37 -06:00
J. Nick Koston 78a69cb744 tidy 2025-11-16 22:33:59 -06:00
J. Nick Koston 9b14444dad tidy 2025-11-16 22:30:59 -06:00
J. Nick Koston 8934d4b498 touch ups 2025-11-16 22:08:44 -06:00
J. Nick Koston 9b107e7f2a touch ups 2025-11-16 22:05:33 -06:00
J. Nick Koston 7edfdf9e65 Merge branch 'integration' into memory_api 2025-11-16 21:00:29 -06:00
J. Nick Koston 11b53800fb Merge branch 'number_namespaces' into integration 2025-11-16 21:00:21 -06:00
J. Nick Koston bbd12609af Merge remote-tracking branch 'upstream/dev' into integration 2025-11-16 21:00:03 -06:00
J. Nick Koston 23be236133 [number] Modernize to C++17 nested namespaces 2025-11-16 20:54:43 -06:00
J. Nick Koston c4c1de915a Merge branch 'integration' into memory_api 2025-11-16 15:55:18 -06:00
J. Nick Koston b8c216c646 Merge branch 'dev' into integration 2025-11-16 15:55:11 -06:00
J. Nick Koston 46ea962e4f Merge branch 'integration' into memory_api 2025-11-16 13:04:08 -06:00
J. Nick Koston 76546bade7 Merge branch 'combine_name_object_id' into integration 2025-11-16 13:04:00 -06:00
J. Nick Koston 8997fb3443 [core] Reduce flash size by combining set_name() and set_object_id() calls 2025-11-16 13:02:59 -06:00
J. Nick Koston af58909bd7 Merge branch 'integration' into memory_api 2025-11-16 12:48:04 -06:00
J. Nick Koston 094ed59230 Merge branch 'de_dupe_lam' into integration 2025-11-16 12:47:44 -06:00
J. Nick Koston 5edcb62f6e Merge branch 'integration' into memory_api 2025-11-16 11:58:08 -06:00
J. Nick Koston 8512266068 Merge branch 'libretiny_no_strlen' into integration 2025-11-16 11:58:02 -06:00
J. Nick Koston 4c9d903773 [logger] Eliminate strlen overhead on LibreTiny 2025-11-16 11:56:52 -06:00
J. Nick Koston fd0d1c41b7 Merge branch 'integration' into memory_api 2025-11-16 09:19:04 -06:00
J. Nick Koston d878e9a8f2 Merge remote-tracking branch 'upstream/web_server_shutdown_race_fix' into integration 2025-11-16 09:18:58 -06:00
J. Nick Koston 02c5f18b5d [web_server_idf] Fix lwIP assertion crash by shutting down sockets on connection close 2025-11-16 09:18:07 -06:00
J. Nick Koston a913e7df33 handles newlines, add test to prove it 2025-11-16 08:16:41 -06:00
J. Nick Koston 014bdd1ed0 Merge branch 'dev' into timeout_filter_scheduler_churn_fix 2025-11-15 22:21:57 -06:00
J. Nick Koston bfea4220dc Merge branch 'integration' into memory_api 2025-11-15 21:34:05 -06:00
J. Nick Koston 027ede7ca2 Merge branch 'binary_sensor_namespace_cleanup' into integration 2025-11-15 21:33:54 -06:00
J. Nick Koston 6d03afecd0 [binary_sensor] Modernize to C++17 nested namespaces and remove redundant qualifications 2025-11-15 21:32:46 -06:00
J. Nick Koston 7aae4b4fce Merge branch 'integration' into memory_api 2025-11-15 18:43:54 -06:00
J. Nick Koston 3d9390498b Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:43:48 -06:00
J. Nick Koston d60c358f48 preen 2025-11-15 18:43:39 -06:00
J. Nick Koston 1138495efa Merge branch 'integration' into memory_api 2025-11-15 18:36:56 -06:00
J. Nick Koston f725877b0e Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:36:51 -06:00
J. Nick Koston 26b820272a optimize esp8266 as well 2025-11-15 18:36:39 -06:00
J. Nick Koston d4648b51ab Merge branch 'integration' into memory_api 2025-11-15 18:31:34 -06:00
J. Nick Koston e20d89d190 Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:31:25 -06:00
J. Nick Koston 9557c90c20 comment 2025-11-15 18:31:07 -06:00
J. Nick Koston 50faae2d3c Merge branch 'integration' into memory_api 2025-11-15 18:18:11 -06:00
J. Nick Koston 693b27a190 Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:18:04 -06:00
J. Nick Koston d64bcf27b3 cleanup 2025-11-15 18:17:50 -06:00
J. Nick Koston 61520726ad Merge branch 'integration' into memory_api 2025-11-15 18:15:26 -06:00
J. Nick Koston 47d1081ebc Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:15:21 -06:00
J. Nick Koston d5d61546e7 cleanup 2025-11-15 18:15:10 -06:00
J. Nick Koston 7289a4e2c6 Merge branch 'integration' into memory_api 2025-11-15 18:03:53 -06:00
J. Nick Koston 0b33ba606c Merge branch 'reduce_logger_locking' into integration 2025-11-15 18:03:44 -06:00
J. Nick Koston 554cdbd5a4 bot is right 2025-11-15 18:03:08 -06:00
J. Nick Koston 8ec14bd57c bot is right 2025-11-15 18:02:54 -06:00
J. Nick Koston a8a3e4d157 Merge branch 'integration' into memory_api 2025-11-15 17:42:14 -06:00
J. Nick Koston 0b132f9569 Merge branch 'reduce_logger_locking' into integration 2025-11-15 17:42:10 -06:00
J. Nick Koston 0d147e5d10 missed one 2025-11-15 17:42:01 -06:00
J. Nick Koston a552e1d328 Merge branch 'integration' into memory_api 2025-11-15 17:37:49 -06:00
J. Nick Koston 46ddd253bd Merge branch 'reduce_logger_locking' into integration 2025-11-15 17:37:45 -06:00
J. Nick Koston 730a70ee8b missed header 2025-11-15 17:37:37 -06:00
J. Nick Koston 0f6963de27 Merge branch 'integration' into memory_api 2025-11-15 17:36:44 -06:00
J. Nick Koston 1b19e4e8ad Merge branch 'reduce_logger_locking' into integration 2025-11-15 17:36:37 -06:00
J. Nick Koston d096f1192d make bot happy 2025-11-15 17:35:41 -06:00
J. Nick Koston b14bab1fce make bot happy 2025-11-15 17:35:32 -06:00
J. Nick Koston d84976715b Merge branch 'integration' into memory_api 2025-11-15 17:20:01 -06:00
J. Nick Koston ae985bfb07 Merge branch 'reduce_logger_locking' into integration 2025-11-15 17:19:55 -06:00
J. Nick Koston 88a23acc4b tweak 2025-11-15 17:19:37 -06:00
J. Nick Koston 950dff1a38 [logger] Reduce ESP32 UART mutex overhead by 50% 2025-11-15 16:54:18 -06:00
J. Nick Koston 61eddfdcda [logger] Reduce ESP32 UART mutex overhead by 50% 2025-11-15 16:47:35 -06:00
J. Nick Koston 13ac071482 Merge branch 'integration' into memory_api 2025-11-15 15:35:53 -06:00
J. Nick Koston 0f10b9d76f Merge branch 'single_model_rollover_fix' into integration 2025-11-15 15:35:43 -06:00
J. Nick Koston c61411c620 [scheduler] Fix timing breakage after 49 days of uptime on ESP8266/RP2040 2025-11-15 14:42:06 -06:00
J. Nick Koston 6a05c64e2a Merge branch 'sensor_timeout_filter' into timeout_filter_scheduler_churn_fix 2025-11-15 13:11:37 -06:00
J. Nick Koston af77dfeacc helper 2025-11-15 13:11:04 -06:00
J. Nick Koston aca74e34b8 Add tests for sensor timeout filters
ahead of optimization effort in https://github.com/esphome/esphome/pull/11922
2025-11-15 13:07:56 -06:00
J. Nick Koston 6f5f45f1e9 cover 2025-11-15 13:06:54 -06:00
J. Nick Koston 6cca3617d8 cover 2025-11-15 13:06:06 -06:00
J. Nick Koston 894ba341ba [sensor] Replace timeout filter scheduler with loop-based implementation 2025-11-15 12:56:25 -06:00
J. Nick Koston e8e06db260 Merge branch 'integration' into memory_api 2025-11-15 12:26:53 -06:00
J. Nick Koston 219206057f Merge branch 'de_dupe_lam' into integration 2025-11-15 12:26:47 -06:00
J. Nick Koston f6378990cd add tests for crazy edge cases 2025-11-15 12:19:06 -06:00
J. Nick Koston 5090762d5a Merge branch 'integration' into memory_api 2025-11-15 12:12:36 -06:00
J. Nick Koston e604ec267e Merge remote-tracking branch 'origin/switch_to_std_index_sequence' into integration 2025-11-15 12:12:21 -06:00
J. Nick Koston ae343a94ca disable around old code 2025-11-15 12:11:50 -06:00
J. Nick Koston 2229996c22 Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-11-15 12:09:18 -06:00
J. Nick Koston b7d4e01fa2 Merge branch 'integration' into memory_api 2025-11-15 12:07:02 -06:00
J. Nick Koston 25c7be3970 Merge branch 'de_dupe_lam' into integration 2025-11-15 12:06:57 -06:00
J. Nick Koston 849c9b1625 Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-11-15 12:06:34 -06:00
J. Nick Koston 1c10485cee Merge branch 'integration' into memory_api 2025-11-15 12:06:27 -06:00
J. Nick Koston 8e6747c00e Merge branch 'switch_to_std_index_sequence' into integration 2025-11-15 12:06:22 -06:00
J. Nick Koston d7892f2289 [core] Replace seq<>/gens<> with std::index_sequence for code clarity 2025-11-15 12:04:49 -06:00
J. Nick Koston b7f6013378 [core] Replace seq<>/gens<> with std::index_sequence for code clarity 2025-11-15 12:04:02 -06:00
J. Nick Koston fb9e7028a0 [core] Replace seq<>/gens<> with std::index_sequence for code clarity 2025-11-15 11:58:24 -06:00
J. Nick Koston e9ff4d3c4e handle static 2025-11-15 11:47:35 -06:00
J. Nick Koston 35b6395449 Merge branch 'integration' into memory_api 2025-11-15 11:03:05 -06:00
J. Nick Koston f29b191804 Merge branch 'ld2410_missing_timeout' into integration 2025-11-15 11:02:51 -06:00
J. Nick Koston 734f96140f Merge branch 'ld2412_missing_timeout' into integration 2025-11-15 11:02:46 -06:00
J. Nick Koston ed60d8668e [ld2410] Add timeout filter to prevent stuck targets 2025-11-15 10:56:17 -06:00
J. Nick Koston 7892adb948 [ld2412] Fix stuck targets by adding timeout filter 2025-11-15 10:52:49 -06:00
J. Nick Koston 96ea6e8059 Merge branch 'integration' into memory_api 2025-11-15 10:43:19 -06:00
J. Nick Koston 107a0a23b1 Merge branch 'de_dupe_lam' into integration 2025-11-15 10:43:08 -06:00
J. Nick Koston 4081345013 address bot review 2025-11-15 10:42:57 -06:00
J. Nick Koston 3dd570fdd0 address bot review 2025-11-15 10:42:44 -06:00
J. Nick Koston 04f445dfaf Merge branch 'integration' into memory_api 2025-11-15 10:27:05 -06:00
J. Nick Koston 82d04c1548 Merge branch 'de_dupe_lam' into integration 2025-11-15 10:26:48 -06:00
J. Nick Koston 5989b78e93 preen 2025-11-15 10:25:57 -06:00
J. Nick Koston 5727043cec preen 2025-11-15 10:24:38 -06:00
J. Nick Koston 1441c7fab2 preen 2025-11-15 10:21:58 -06:00
J. Nick Koston 62248b6bba rpeen 2025-11-15 10:20:53 -06:00
J. Nick Koston 86833cbc3c rpeen 2025-11-15 10:20:40 -06:00
J. Nick Koston 6067ca36f7 Merge branch 'integration' into memory_api 2025-11-15 10:15:47 -06:00
J. Nick Koston a98d2fa266 Merge branch 'de_dupe_lam' into integration 2025-11-15 10:15:40 -06:00
J. Nick Koston b7c105125e proper codegen 2025-11-15 10:13:43 -06:00
J. Nick Koston 11de948698 proper codegen 2025-11-15 10:12:36 -06:00
J. Nick Koston 6ade327cde update tests 2025-11-15 10:05:27 -06:00
J. Nick Koston cc1b547ad2 der dupe lam 2025-11-14 22:27:23 -06:00
J. Nick Koston d1f3979c7f Merge branch 'integration' into memory_api 2025-11-14 20:26:28 -06:00
J. Nick Koston 25408dc445 Merge branch 'delay_action_avoid_bind_no_args' into integration 2025-11-14 20:18:15 -06:00
J. Nick Koston f1bc3c68dd [core] Optimize DelayAction for no-argument case using if constexpr 2025-11-14 20:09:38 -06:00
J. Nick Koston f8191410e3 [core] Optimize DelayAction for no-argument case using if constexpr 2025-11-14 20:05:43 -06:00
J. Nick Koston 90ba8ecacd Merge branch 'integration' into memory_api 2025-11-14 19:22:10 -06:00
J. Nick Koston 2f354a9c32 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-14 19:21:57 -06:00
J. Nick Koston c25b87350d Merge branch 'integration' into memory_api 2025-11-14 13:13:47 -06:00
J. Nick Koston db826b4a2b Merge branch 'dev' into integration 2025-11-14 13:13:36 -06:00
J. Nick Koston 51eb15bf8c Merge branch 'integration' into memory_api 2025-11-14 11:31:00 -06:00
J. Nick Koston e19a99dd7f Merge branch 'analyze_memory_missing_symbols' into integration 2025-11-14 11:30:54 -06:00
J. Nick Koston 6666911ebf [analyze-memory] Show all core symbols > 100 B instead of top 15 2025-11-14 11:29:36 -06:00
J. Nick Koston b890f097cf Merge branch 'integration' into memory_api 2025-11-14 09:03:31 -06:00
J. Nick Koston 5af5a86970 Merge branch 'sntp_single_instance' into integration 2025-11-14 09:02:00 -06:00
J. Nick Koston 3de847014b Merge branch 'webserver_ota_single_instance' into integration 2025-11-14 09:01:56 -06:00
J. Nick Koston 5f10fbc4f6 [web_server.ota] Merge multiple instances to prevent undefined behavior 2025-11-14 08:59:05 -06:00
J. Nick Koston e8f2e91db3 [sntp] Merge multiple instances to fix crash and undefined behavior 2025-11-14 08:47:15 -06:00
J. Nick Koston 6370132cbb Merge branch 'integration' into memory_api 2025-11-13 12:38:14 -06:00
J. Nick Koston 3c0969d8a4 Merge branch 'template_alarm_control_panel_only_iterates' into integration 2025-11-13 12:38:08 -06:00
J. Nick Koston 1f408ce41c [template.alarm_control_panel] Use FixedVector for iteration-only sensor storage 2025-11-13 12:35:43 -06:00
J. Nick Koston e1ed7f7fd0 Merge branch 'integration' into memory_api 2025-11-13 11:55:47 -06:00
J. Nick Koston 79b97452b7 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-13 11:55:39 -06:00
J. Nick Koston eefda8ce16 Merge branch 'integration' into memory_api 2025-11-12 21:50:25 -06:00
J. Nick Koston 9f5a6017af Merge branch 'light_loop' into integration 2025-11-12 21:50:20 -06:00
J. Nick Koston 20649ce8ce safer 2025-11-12 21:49:58 -06:00
J. Nick Koston 2592119138 Merge branch 'integration' into memory_api 2025-11-12 21:30:59 -06:00
J. Nick Koston 8c9d1cc392 Merge branch 'light_loop' into integration 2025-11-12 21:30:53 -06:00
J. Nick Koston 9b458d25ea light loop 2025-11-12 21:20:11 -06:00
J. Nick Koston 4e23a7a3e1 light loop 2025-11-12 21:11:45 -06:00
J. Nick Koston 47a3e5e78b Merge branch 'integration' into memory_api 2025-11-12 20:09:05 -06:00
J. Nick Koston f196b1c867 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-12 20:08:51 -06:00
J. Nick Koston f19abab93f Merge branch 'thermostat_storage' into memory_api 2025-11-12 15:01:19 -06:00
J. Nick Koston b8717fee4e Merge branch 'thermostat_storage' into integration 2025-11-12 15:01:13 -06:00
J. Nick Koston 4eb471b316 tweaks 2025-11-12 15:01:05 -06:00
J. Nick Koston b017e034ee tweaks 2025-11-12 15:00:52 -06:00
J. Nick Koston 9a2574a2fe Merge branch 'integration' into memory_api 2025-11-12 14:56:02 -06:00
J. Nick Koston 72513897cc Merge branch 'thermostat_storage' into integration 2025-11-12 14:55:55 -06:00
J. Nick Koston 20388ce848 [thermostat] Replace std::map with FixedVector, reduce flash usage 2025-11-12 14:54:23 -06:00
J. Nick Koston 72185ac01f Merge branch 'integration' into memory_api 2025-11-12 14:32:28 -06:00
J. Nick Koston 9e8e5fd8aa Merge branch 'no_batch_events' into integration 2025-11-12 14:32:19 -06:00
J. Nick Koston 8a71a6bfdc Merge remote-tracking branch 'upstream/dev' into no_batch_events 2025-11-12 14:31:26 -06:00
J. Nick Koston 53dacef4a6 Merge branch 'integration' into memory_api 2025-11-12 12:52:01 -06:00
J. Nick Koston 24701d95e5 Merge branch 'wifi_reconnect_fixes' into integration 2025-11-12 12:51:55 -06:00
J. Nick Koston 08127d0225 [wifi] Fix phase transition and error state on reconnection 2025-11-12 12:48:44 -06:00
J. Nick Koston b28d8a7d22 Merge branch 'integration' into memory_api 2025-11-12 12:18:25 -06:00
J. Nick Koston e7a5790276 Merge branch 'wifi_ethernet_now_connected_later_logconfig' into integration 2025-11-12 12:18:19 -06:00
J. Nick Koston 97d2f5ee25 [wifi][ethernet] Fix spurious warnings and unclear status after PR #9823 2025-11-12 12:17:47 -06:00
J. Nick Koston 9accb16b4a Merge branch 'integration' into memory_api 2025-11-12 12:02:04 -06:00
J. Nick Koston 8c0c38be21 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-12 12:01:57 -06:00
J. Nick Koston 8037dbe2d3 Merge branch 'color_mode_dangling_ref_fix' into integration 2025-11-12 12:01:53 -06:00
J. Nick Koston 6395439d33 Merge branch 'mqtt_raise_early_invalid_host' into integration 2025-11-12 12:01:50 -06:00
J. Nick Koston c299361753 some basic tests 2025-11-12 11:51:56 -06:00
J. Nick Koston 4b3d3c4ca2 some basic tests 2025-11-12 11:51:35 -06:00
J. Nick Koston 8ce4d5cd4f by value 2025-11-12 10:39:18 -06:00
J. Nick Koston c1fb8dae37 [light] Fix dangling reference in compute_color_mode causing memory corruption 2025-11-12 10:33:19 -06:00
J. Nick Koston d8454e7c0a Update esphome/mqtt.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 09:33:29 -06:00
J. Nick Koston fb00f75192 [mqtt] Fix crash with empty broker during upload/logs 2025-11-12 09:30:46 -06:00
J. Nick Koston 1b487988c9 [mqtt] Fix crash with empty broker during upload/logs 2025-11-12 09:29:40 -06:00
J. Nick Koston fd308a0687 Merge branch 'integration' into memory_api 2025-11-11 20:42:44 -06:00
J. Nick Koston 016de16181 Merge branch 'ble_mac_format' into integration 2025-11-11 20:42:39 -06:00
J. Nick Koston 0d46bc57d6 [esp32_ble] Use stack allocation for MAC formatting in dump_config 2025-11-11 20:42:14 -06:00
J. Nick Koston 0c506570a6 Merge branch 'integration' into memory_api 2025-11-11 20:38:55 -06:00
J. Nick Koston c0507b2ad0 Merge branch 'bssid_logging_cleanup' into integration 2025-11-11 20:38:50 -06:00
J. Nick Koston 7cefb8d92c a few more 2025-11-11 20:38:19 -06:00
J. Nick Koston 089eb3bc95 Merge branch 'integration' into memory_api 2025-11-11 20:34:33 -06:00
J. Nick Koston 8de3bcd304 Merge branch 'bssid_logging_cleanup' into integration 2025-11-11 20:34:28 -06:00
J. Nick Koston 32456bee58 Merge remote-tracking branch 'origin/bssid_logging_cleanup' into bssid_logging_cleanup 2025-11-11 20:33:30 -06:00
J. Nick Koston e104103366 two more 2025-11-11 20:33:20 -06:00
J. Nick Koston 304e0a2c65 Merge branch 'dev' into bssid_logging_cleanup 2025-11-11 20:27:30 -06:00
J. Nick Koston 9c871c39b5 Merge branch 'integration' into memory_api 2025-11-11 20:25:52 -06:00
J. Nick Koston 276ef4ee1d Merge branch 'bssid_logging_cleanup' into integration 2025-11-11 20:25:47 -06:00
J. Nick Koston dd65e39d16 [wifi] Use stack allocation for BSSID formatting in start_connecting 2025-11-11 20:25:18 -06:00
J. Nick Koston 904bc11d5b Merge branch 'integration' into memory_api 2025-11-11 19:02:34 -06:00
J. Nick Koston a6c8319ade Merge branch 'wifi_pass_manualip_by_const_ref' into integration 2025-11-11 19:01:44 -06:00
J. Nick Koston 7c6f6acf60 [wifi] Pass ManualIP by const reference to reduce stack usage 2025-11-11 19:01:11 -06:00
J. Nick Koston 7f40ef971d Merge branch 'integration' into memory_api 2025-11-11 18:39:11 -06:00
J. Nick Koston 0c127b6998 Merge remote-tracking branch 'origin/captive_portal_without_ap' into integration 2025-11-11 18:39:05 -06:00
J. Nick Koston 037620d75a [captive_portal] Warn when enabled without WiFi AP configured 2025-11-11 18:36:35 -06:00
J. Nick Koston e0e308c396 Merge branch 'integration' into memory_api 2025-11-11 18:10:25 -06:00
J. Nick Koston 0ab3d3da4e Merge remote-tracking branch 'upstream/dev' into integration 2025-11-11 18:10:09 -06:00
J. Nick Koston 0ab0563b52 Merge branch 'integration' into memory_api 2025-11-11 16:23:09 -06:00
J. Nick Koston ccf5591d14 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 16:23:01 -06:00
J. Nick Koston 1c7c559b69 touch ups 2025-11-11 16:22:24 -06:00
J. Nick Koston 6dbd961b3e Merge branch 'integration' into memory_api 2025-11-11 16:20:02 -06:00
J. Nick Koston 088964de4d Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 16:19:57 -06:00
J. Nick Koston f0a9ee871b keep 2025-11-11 16:19:47 -06:00
J. Nick Koston f3a3f2e4f7 Merge branch 'integration' into memory_api 2025-11-11 16:15:31 -06:00
J. Nick Koston 3280ce936a Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 16:15:22 -06:00
J. Nick Koston efe6e58404 clear failure on restart 2025-11-11 16:15:12 -06:00
J. Nick Koston a2a05ba23a Merge branch 'integration' into memory_api 2025-11-11 16:09:58 -06:00
J. Nick Koston 08ea53633f Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 16:09:53 -06:00
J. Nick Koston d54179fd12 Merge remote-tracking branch 'origin/fix_scan_failing_after_restart' into fix_scan_failing_after_restart 2025-11-11 16:09:42 -06:00
J. Nick Koston fb5b37c17a avoid breaking change 2025-11-11 16:09:33 -06:00
J. Nick Koston 9c6d9badf2 Merge branch 'retry_hidden_no_stuck_last_networks_visible' into fix_scan_failing_after_restart 2025-11-11 16:05:01 -06:00
J. Nick Koston 55bdbf60c9 Merge branch 'dev' into retry_hidden_no_stuck_last_networks_visible 2025-11-11 16:04:55 -06:00
J. Nick Koston c3111b1dd3 Merge branch 'integration' into memory_api 2025-11-11 16:02:24 -06:00
J. Nick Koston 530fc8f030 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 16:02:19 -06:00
J. Nick Koston a8f253eecf tweaks on failure paths 2025-11-11 16:02:01 -06:00
J. Nick Koston e85eeb3d99 Merge branch 'integration' into memory_api 2025-11-11 15:58:13 -06:00
J. Nick Koston 64c79f6363 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 15:58:06 -06:00
J. Nick Koston 7b60a8a21a cleanup conflicting logic 2025-11-11 15:55:09 -06:00
J. Nick Koston 42fa0b61a7 cleanup conflicting logic 2025-11-11 15:52:51 -06:00
J. Nick Koston 3aed5f5eae Merge branch 'integration' into memory_api 2025-11-11 15:22:11 -06:00
J. Nick Koston ec79eb3065 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 15:22:05 -06:00
J. Nick Koston e589542bd3 make message more sane 2025-11-11 15:21:51 -06:00
J. Nick Koston c804467277 Merge branch 'integration' into memory_api 2025-11-11 15:16:05 -06:00
J. Nick Koston 8ce7f9dfe8 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 15:16:00 -06:00
J. Nick Koston c3967df6ce tweak 2025-11-11 15:15:41 -06:00
J. Nick Koston ecb3eecf88 Merge branch 'integration' into memory_api 2025-11-11 15:00:36 -06:00
J. Nick Koston f0d1cde35c Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 15:00:31 -06:00
J. Nick Koston 191cf1b03c preen 2025-11-11 14:59:12 -06:00
J. Nick Koston 35ecaff089 Merge branch 'integration' into memory_api 2025-11-11 14:24:46 -06:00
J. Nick Koston 374d039f60 Merge branch 'fix_scan_failing_after_restart' into integration 2025-11-11 14:24:40 -06:00
J. Nick Koston e19bdf63a5 Merge remote-tracking branch 'origin/retry_hidden_no_stuck_last_networks_visible' into fix_scan_failing_after_restart 2025-11-11 14:22:56 -06:00
J. Nick Koston 1bde521380 cleanups 2025-11-11 14:05:44 -06:00
J. Nick Koston db9af4a862 cleanup 2025-11-11 14:00:39 -06:00
J. Nick Koston d092e59a79 Merge branch 'dev' into retry_hidden_no_stuck_last_networks_visible 2025-11-11 13:56:26 -06:00
J. Nick Koston 5a77f63103 Merge remote-tracking branch 'upstream/dev' into fix_scan_failing_after_restart 2025-11-11 13:55:58 -06:00
J. Nick Koston f6ac916bb2 cleanups 2025-11-11 13:55:43 -06:00
J. Nick Koston 93f8e40111 Fix scan failing after restart 2025-11-11 13:13:28 -06:00
J. Nick Koston bbff660499 Merge branch 'integration' into memory_api 2025-11-11 12:19:33 -06:00
J. Nick Koston e7409ac5cd Merge remote-tracking branch 'upstream/dev' into integration 2025-11-11 12:19:24 -06:00
J. Nick Koston 366e95f8d8 Merge branch 'integration' into memory_api 2025-11-11 11:25:11 -06:00
J. Nick Koston 326edd5082 Merge branch 'timezone' into integration 2025-11-11 11:25:03 -06:00
J. Nick Koston d74fc6347b Update esphome/components/homeassistant/time/homeassistant_time.cpp 2025-11-11 11:24:41 -06:00
J. Nick Koston dbbc4f741d Merge branch 'integration' into memory_api 2025-11-11 11:23:02 -06:00
J. Nick Koston 2d63b69ac1 Merge branch 'timezone' into integration 2025-11-11 11:22:55 -06:00
J. Nick Koston a14e2d4d08 Update esphome/components/time/real_time_clock.cpp 2025-11-11 11:22:33 -06:00
J. Nick Koston 300bd420f8 Merge branch 'integration' into memory_api 2025-11-11 11:19:12 -06:00
J. Nick Koston 2d2472c50b Merge branch 'timezone' into integration 2025-11-11 11:19:03 -06:00
J. Nick Koston 2e115baf56 Merge remote-tracking branch 'tomaszduda23/timezone' into timezone 2025-11-11 11:17:47 -06:00
J. Nick Koston b58b706bd6 fix 2025-11-11 11:17:05 -06:00
Tomasz Duda d389ed585e fix 2025-11-11 18:13:02 +01:00
Tomasz Duda 1b30346c1e fix 2025-11-11 18:08:10 +01:00
Tomasz Duda 6b45debcba Merge remote-tracking branch 'origin/dev' into timezone 2025-11-11 18:00:20 +01:00
J. Nick Koston e42b29659b Merge branch 'integration' into memory_api 2025-11-11 09:44:58 -06:00
J. Nick Koston aba9ffccdf Merge branch 'retry_hidden_no_stuck_last_networks_visible' into integration 2025-11-11 09:44:52 -06:00
J. Nick Koston 8e29ae416e Update esphome/components/wifi/wifi_component.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-11 09:44:34 -06:00
J. Nick Koston 75c220eeb6 more tweaks for corner cases 2025-11-11 09:42:09 -06:00
J. Nick Koston d2e1fbd76b Merge branch 'integration' into memory_api 2025-11-11 09:17:19 -06:00
J. Nick Koston 3bb7639470 Merge branch 'retry_hidden_no_stuck_last_networks_visible' into integration 2025-11-11 09:17:11 -06:00
J. Nick Koston 72a6051f0d [wifi] Fix infinite loop in RETRY_HIDDEN when remaining networks are visible 2025-11-11 09:16:31 -06:00
J. Nick Koston 649e27bf62 Merge branch 'integration' into memory_api 2025-11-11 08:53:53 -06:00
J. Nick Koston 77436b85b2 Merge branch 'lost_prio_decrease_merge_conflict_fix' into integration 2025-11-11 08:53:47 -06:00
J. Nick Koston 5f0957c81a Merge branch 'wifi_int8_prio' into lost_prio_decrease_merge_conflict_fix 2025-11-11 08:53:27 -06:00
J. Nick Koston bee174150b fixes 2025-11-11 08:52:12 -06:00
J. Nick Koston 262f28aec5 Merge remote-tracking branch 'origin/wifi_int8_prio' into wifi_int8_prio 2025-11-11 08:51:10 -06:00
J. Nick Koston bf312ad9ec fixes 2025-11-11 08:50:54 -06:00
Tomasz Duda 55cf0adb18 [nrf52,pcf8563] fix build error 2025-11-11 15:38:19 +01:00
J. Nick Koston 941feeedbe Merge branch 'dev' into wifi_int8_prio 2025-11-11 08:33:57 -06:00
J. Nick Koston 4565b126e2 Merge branch 'integration' into memory_api 2025-11-11 08:32:27 -06:00
J. Nick Koston 64651b5a07 Merge branch 'lost_prio_decrease_merge_conflict_fix' into integration 2025-11-11 08:31:33 -06:00
J. Nick Koston f3007a5245 Merge branch 'wifi_manual_ip' into integration 2025-11-11 08:31:27 -06:00
J. Nick Koston 0e62c8b3fb Merge branch 'wifi_int8_prio' into lost_prio_decrease_merge_conflict_fix 2025-11-11 08:28:02 -06:00
J. Nick Koston 4160157457 [wifi] Restore two-attempt BSSID filtering for mesh networks 2025-11-11 08:26:15 -06:00
J. Nick Koston 75d7578491 Merge wifi_int8_prio into wifi_manual_ip
Changes priority type from float to int8_t for memory savings.
Resolves conflict with USE_WIFI_MANUAL_IP conditional compilation.
2025-11-11 08:10:39 -06:00
J. Nick Koston f28566545f Merge branch 'integration' into memory_api 2025-11-10 22:25:51 -06:00
J. Nick Koston dc37321aa9 Merge branch 'wifi_manual_ip' into integration 2025-11-10 22:25:43 -06:00
J. Nick Koston 89abd9c817 fix conflict 2025-11-10 22:24:22 -06:00
J. Nick Koston d4d44a5c08 manual_ip test 2025-11-10 22:23:29 -06:00
J. Nick Koston b8e4efc1cd manual_ip test 2025-11-10 22:23:02 -06:00
J. Nick Koston cf66c4cd3e Merge branch 'integration' into memory_api 2025-11-10 22:14:11 -06:00
J. Nick Koston 4b60012814 Merge branch 'wifi_manual_ip' into integration
# Conflicts:
#	esphome/components/wifi/wifi_component.h
2025-11-10 22:13:44 -06:00
J. Nick Koston c38df0af85 [wifi] Conditionally compile manual_ip to save 24-120 bytes RAM 2025-11-10 22:09:01 -06:00
J. Nick Koston bb51c6b6d5 Merge branch 'integration' into memory_api 2025-11-10 21:59:32 -06:00
J. Nick Koston b8f972b6f6 Merge branch 'ethernet_manual_ip_cond' into integration 2025-11-10 21:59:25 -06:00
J. Nick Koston d87063865c [ethernet] Conditionally compile manual_ip to save 24 bytes RAM 2025-11-10 21:57:52 -06:00
J. Nick Koston 682b6711f3 Merge branch 'integration' into memory_api 2025-11-10 20:44:42 -06:00
J. Nick Koston 066674df19 Merge branch 'fix_wifi_state_machine_hidden_phase_skipped' into integration 2025-11-10 20:44:34 -06:00
J. Nick Koston 48a33611a1 [wifi] Fix infinite retry loop when no hidden networks and captive portal active 2025-11-10 20:43:32 -06:00
J. Nick Koston caf6045485 Merge branch 'integration' into memory_api 2025-11-10 20:24:34 -06:00
J. Nick Koston bd7d103813 Merge branch 'wifi_int8_prio' into integration 2025-11-10 20:24:26 -06:00
J. Nick Koston 6631e2ffb2 tweaks 2025-11-10 20:22:24 -06:00
J. Nick Koston b80b0eb864 save more 2025-11-10 20:17:03 -06:00
J. Nick Koston 130a8b853d missed one 2025-11-10 20:14:40 -06:00
J. Nick Koston 0f02c75f66 [wifi] Change priority type from float to int8_t 2025-11-10 20:05:02 -06:00
J. Nick Koston e4c3ae4b16 Merge branch 'integration' into memory_api 2025-11-10 19:20:45 -06:00
J. Nick Koston 677f65c38c Merge branch 'controller_registry_event_has_prog_lifetime' into integration 2025-11-10 19:20:31 -06:00
J. Nick Koston 80e4eefc4c Merge branch 'integration' into memory_api 2025-11-10 19:18:05 -06:00
J. Nick Koston 0be86aa946 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-10 19:17:55 -06:00
J. Nick Koston 5dc914268c Merge branch 'integration' into memory_api 2025-11-10 19:13:29 -06:00
J. Nick Koston 126a9ef303 Merge branch 'wifi_min_ver' into integration 2025-11-10 19:13:22 -06:00
J. Nick Koston f9ef8af18e Merge remote-tracking branch 'upstream/dev' into wifi_min_ver
# Conflicts:
#	esphome/components/wifi/wifi_component.h
2025-11-10 19:09:10 -06:00
J. Nick Koston e263b3194e Merge branch 'integration' into memory_api 2025-11-10 18:30:28 -06:00
J. Nick Koston bf18751136 Merge branch 'ble_client_automation_no_heap' into integration 2025-11-10 18:30:18 -06:00
J. Nick Koston a7674cd0e8 [ble_client] Write static BLE data directly from flash without allocation 2025-11-10 18:28:51 -06:00
J. Nick Koston 4f411dc4f2 help 2025-11-10 16:47:42 -06:00
J. Nick Koston 4964fdc1b0 help 2025-11-10 16:45:54 -06:00
J. Nick Koston f275a31c3a preen 2025-11-10 14:37:54 -06:00
J. Nick Koston d7cef22ddb fix defaults 2025-11-10 14:33:11 -06:00
J. Nick Koston 23b8139d24 fix defaults 2025-11-10 14:31:26 -06:00
J. Nick Koston 3fd5e87379 fix namespace conflicts 2025-11-10 13:51:16 -06:00
J. Nick Koston 8d284ea90c fixes 2025-11-10 13:30:36 -06:00
J. Nick Koston 5a67d2b20b fixes 2025-11-10 13:00:52 -06:00
J. Nick Koston f84cdad93c [wifi] Add min_auth_mode configuration option 2025-11-10 12:50:17 -06:00
J. Nick Koston 16075e37f5 Merge branch 'integration' into memory_api 2025-11-10 00:00:19 -06:00
J. Nick Koston 848ff22871 Merge branch 'parition_callbacks' into integration 2025-11-10 00:00:04 -06:00
J. Nick Koston 057aede0cd Merge branch 'integration' into memory_api 2025-11-09 23:59:53 -06:00
J. Nick Koston 4258e47c68 Merge upstream/dev into integration
Resolved conflicts:
- event.cpp: Removed duplicate set_event_types methods
- pronto_protocol.cpp: Accepted upstream version of dump() method with pointer-based chunking
2025-11-09 23:59:32 -06:00
J. Nick Koston f19bbbd1c5 Merge remote-tracking branch 'origin/parition_callbacks' into parition_callbacks 2025-11-09 23:20:01 -06:00
J. Nick Koston 0f136a888c Merge branch 'dev' into parition_callbacks and address Copilot review
- Resolved conflicts in sensor.cpp and text_sensor.cpp to keep the
  PartitionedCallbackManager approach from this branch
- Fixed platform-dependent pointer size documentation (4 bytes on 32-bit, 8 bytes on 64-bit)
- Fixed potential integer underflow in add_first comparison
- Added documentation explaining asymmetric API design rationale
2025-11-09 23:19:02 -06:00
J. Nick Koston 6feaa8dd13 preserve order 2025-11-09 23:10:06 -06:00
J. Nick Koston 4c3931363f Merge remote-tracking branch 'origin/dev' into parition_callbacks 2025-11-09 22:57:10 -06:00
J. Nick Koston 99bb6ead7e Merge branch 'dev' into no_batch_events 2025-11-09 22:04:58 -06:00
J. Nick Koston d171406dff Merge branch 'dev' into no_batch_events 2025-11-09 17:35:33 -06:00
J. Nick Koston ff329a1476 Merge branch 'integration' into memory_api 2025-11-08 23:47:37 -06:00
J. Nick Koston a2e237e080 Merge branch 'speaker_automation' into integration 2025-11-08 23:47:22 -06:00
J. Nick Koston bde4937192 Merge branch 'abbwelcome_protocol_automation' into integration 2025-11-08 23:47:18 -06:00
J. Nick Koston 40f0be2d0f Merge remote-tracking branch 'origin/abbwelcome_protocol_automation' into abbwelcome_protocol_automation 2025-11-08 23:45:49 -06:00
J. Nick Koston ff04a6da4b optimize 2025-11-08 23:45:42 -06:00
J. Nick Koston cb4d10442f Merge remote-tracking branch 'origin/speaker_automation' into speaker_automation 2025-11-08 23:44:21 -06:00
J. Nick Koston 9abef44ac0 optimize 2025-11-08 23:44:11 -06:00
J. Nick Koston 8cc89ea7ab Merge branch 'integration' into memory_api 2025-11-08 23:43:35 -06:00
J. Nick Koston c853a5bc2b Merge branch 'udp_actions' into integration 2025-11-08 23:43:21 -06:00
J. Nick Koston 62484d7e1f Merge branch 'sx127x_automation_waste' into integration 2025-11-08 23:43:17 -06:00
J. Nick Koston 1a997cbe2f Merge branch 'sx126x_lam_store' into integration 2025-11-08 23:43:12 -06:00
J. Nick Koston 123bc17a66 Merge branch 'canbus_automations' into integration 2025-11-08 23:43:08 -06:00
J. Nick Koston 7a3cf0209f Merge branch 'ble_client_store_static_data_flash' into integration 2025-11-08 23:43:04 -06:00
J. Nick Koston 5fb62325b1 Merge branch 'uart_write_action_store_flash_state_less' into integration 2025-11-08 23:42:55 -06:00
J. Nick Koston 30c578ac16 Merge branch 'raw_action' into integration 2025-11-08 23:42:51 -06:00
J. Nick Koston c16cd3bab5 optimize 2025-11-08 23:41:24 -06:00
J. Nick Koston 88bbea7566 Merge remote-tracking branch 'origin/sx127x_automation_waste' into sx127x_automation_waste 2025-11-08 23:39:48 -06:00
J. Nick Koston bdaeb2cf2e optimize 2025-11-08 23:39:39 -06:00
J. Nick Koston 21d0c8b549 optimize 2025-11-08 23:36:06 -06:00
J. Nick Koston 845fae7716 optimize 2025-11-08 23:30:53 -06:00
J. Nick Koston a5c9988c5d Merge remote-tracking branch 'origin/ble_client_store_static_data_flash' into ble_client_store_static_data_flash 2025-11-08 23:28:39 -06:00
J. Nick Koston 729304af01 optimize 2025-11-08 23:28:23 -06:00
J. Nick Koston db8b96f257 tweak 2025-11-08 23:21:57 -06:00
J. Nick Koston f0062117c4 optimize 2025-11-08 23:20:27 -06:00
J. Nick Koston 0341e4baba Merge remote-tracking branch 'origin/raw_action' into raw_action 2025-11-08 23:15:11 -06:00
J. Nick Koston 59485c1d2b save 4 bytes 2025-11-08 23:14:57 -06:00
J. Nick Koston 2e5dc57ce4 Merge branch 'raw_action_tests' into raw_action 2025-11-08 23:10:28 -06:00
J. Nick Koston 353ea5674d Add additional tests for remote_transmitter raw 2025-11-08 23:09:31 -06:00
J. Nick Koston 5b8827d47a [remote_base] Optimize raw transmit action memory usage - use function pointers 2025-11-08 23:07:43 -06:00
J. Nick Koston 0709c21b8c Merge branch 'integration' into memory_api 2025-11-08 22:57:40 -06:00
J. Nick Koston c66142e5d6 Merge branch 'canbus_automations' into integration 2025-11-08 22:57:33 -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 772340cdc3 Merge branch 'abbwelcome_tests' into abbwelcome_protocol_automation 2025-11-08 22:51:59 -06:00
J. Nick Koston d29882e4ad Add additonal abbwelcome remote_base tests 2025-11-08 22:51:11 -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 a89ffda69f Merge branch 'speaker_tests' into speaker_automation 2025-11-08 22:41:49 -06:00
J. Nick Koston 99c60bfa42 Add additional speaker lambda tests 2025-11-08 22:41:05 -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 68f9ce9b47 Merge branch 'udp_tests' into udp_actions 2025-11-08 22:34:50 -06:00
J. Nick Koston 5310512123 Add additional udp lambda tests 2025-11-08 22:33:44 -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 2c835ffb79 Merge branch 'sx127x_tests' into sx127x_automation_waste 2025-11-08 22:29:27 -06:00
J. Nick Koston a67a433627 Add additional sx127x lambda tests 2025-11-08 22:28:32 -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 716e641fc4 Merge branch 'sx126x_tests' into sx126x_lam_store 2025-11-08 22:20:37 -06:00
J. Nick Koston a6feea5415 Add additional sx126x lambda tests 2025-11-08 22:19:47 -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 89e88f77f2 Merge branch 'canbus_lambdas' into canbus_automations 2025-11-08 22:10:22 -06:00
J. Nick Koston 93a57831f4 Add additional compile time tests for canbus 2025-11-08 22:08:07 -06:00
J. Nick Koston dad5a88ecf [canbus] Optimize canbus.send memory usage - store static data in flash 2025-11-08 22:03:54 -06:00
J. Nick Koston a9837c90ba Merge branch 'ble_client_lams' into ble_client_store_static_data_flash 2025-11-08 21:54:56 -06:00
J. Nick Koston 4b143e1f3d Add ble_client lambda compile tests 2025-11-08 21:54:05 -06:00
J. Nick Koston d9503344e3 Merge branch 'intt egration' into memory_api 2025-11-08 21:45:29 -06:00
J. Nick Koston c101e22041 Merge branch 'ble_client_store_static_data_flash' into integration 2025-11-08 21:45:24 -06:00
J. Nick Koston 0d4a6fa350 [ble_client] Optimize ble_write memory usage - store static data in flash 2025-11-08 21:41:17 -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 b380a70aa8 Merge branch 'uart_write_tests' into uart_write_action_store_flash_state_less 2025-11-08 21:16:20 -06:00
J. Nick Koston c5014321a6 Expand uart.write tests 2025-11-08 21:15:28 -06:00
J. Nick Koston f6bf6bd8ee [uart] Store static data in flash and use function pointers for lambdas 2025-11-08 21:12:00 -06:00
J. Nick Koston c8d9232bd3 Merge branch 'integration' into memory_api 2025-11-08 19:20:19 -06:00
J. Nick Koston 6632daba2d Merge branch 'hash_base' into integration 2025-11-08 19:20:07 -06:00
J. Nick Koston 041ff7c113 Merge branch 'controller_registry' into integration 2025-11-08 19:20:03 -06:00
J. Nick Koston e7e091b48c [core] Remove deprecated EntityBase::hash_base() method 2025-11-08 19:18:40 -06:00
J. Nick Koston 65fd784fa7 tidy 2025-11-08 10:39:09 -06:00
J. Nick Koston b9f208b63a [api][event] Send events immediately to prevent loss during rapid triggers 2025-11-08 10:16:18 -06:00
J. Nick Koston fac05dab35 Merge branch 'api_event_test' into controller_registry_event_has_prog_lifetime 2025-11-08 09:46:44 -06:00
J. Nick Koston f6100a55bc Merge branch 'controller_registry' into api_event_test 2025-11-08 09:46:43 -06:00
J. Nick Koston c2abf363b6 Ensure event paths are enabled in api compile tests 2025-11-08 09:45:44 -06:00
J. Nick Koston 62f43d3353 dry 2025-11-08 08:41:46 -06:00
J. Nick Koston 7e96f10a79 dry 2025-11-08 08:39:23 -06:00
J. Nick Koston 9a2fc8aa51 part 2025-11-07 23:44:43 -06:00
J. Nick Koston 6b9cb4289a Merge branch 'controller_registry' into controller_registry_event_has_prog_lifetime 2025-11-07 18:16:57 -06:00
J. Nick Koston b264c6caac cleanup defines 2025-11-07 18:16:22 -06:00
J. Nick Koston a6c669ff51 cleanup 2025-11-07 18:03:38 -06:00
J. Nick Koston c15290e386 wip 2025-11-07 17:53:26 -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 e3fb074a60 preen 2025-11-07 17:14:50 -06:00
J. Nick Koston 6e7f66d393 missing registry 2025-11-07 16:40:36 -06:00
J. Nick Koston ac85949f17 cleanups 2025-11-07 16:38:32 -06:00
J. Nick Koston 0962024d99 cleanups 2025-11-07 16:35:24 -06:00
J. Nick Koston 327543303c cleanups 2025-11-07 16:34:37 -06:00
J. Nick Koston 8229e3a471 cleanups 2025-11-07 16:33:01 -06:00
J. Nick Koston 1b6471f4b0 cleanups 2025-11-07 16:30:38 -06:00
J. Nick Koston c87d07ba70 fixes 2025-11-07 16:15:07 -06:00
J. Nick Koston fc8dc33023 fixes 2025-11-07 16:13:59 -06:00
J. Nick Koston c0e4f415f1 Revert "no ifdefs needed on forward decs"
This reverts commit 871c5ddb4e.
2025-11-07 16:10:56 -06:00
J. Nick Koston 871c5ddb4e no ifdefs needed on forward decs 2025-11-07 16:07:54 -06:00
J. Nick Koston 6ef2763cab controller registry 2025-11-07 16:01:45 -06:00
J. Nick Koston 929279dc23 controller registry 2025-11-07 15:55:22 -06:00
J. Nick Koston 6fa0f1e290 controller registry 2025-11-07 15:51:13 -06:00
J. Nick Koston 51eb8ea1d0 controller registry 2025-11-07 15:48:02 -06:00
J. Nick Koston cbdd663fbf Merge remote-tracking branch 'upstream/dev' into controller_registry 2025-11-07 15:46:57 -06:00
J. Nick Koston f1009a7468 tweak 2025-11-07 15:44:17 -06:00
J. Nick Koston 295fe8da04 controller registry phase1/2 2025-11-07 15:32:46 -06:00
J. Nick Koston 0bf2dff056 Merge branch 'integration' into memory_api 2025-11-07 14:35:11 -06:00
J. Nick Koston 1b218fc155 Merge branch 'event_store_in_flash' into integration 2025-11-07 14:35:04 -06:00
J. Nick Koston f0bcea7749 tweaks 2025-11-07 14:31:53 -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 e2d949c287 fixed vector will work here 2025-11-07 13:39:57 -06:00
J. Nick Koston 51a238f3d2 [event] Store event types in flash memory 2025-11-07 11:39:17 -06:00
J. Nick Koston f4fea1a00f [event] Store event types in flash memory 2025-11-07 11:37:49 -06:00
J. Nick Koston a823fd322e fixes 2025-11-07 11:35:19 -06:00
J. Nick Koston 499ffd84a7 [event] Store event types in flash memory 2025-11-07 11:31:24 -06:00
J. Nick Koston fca80d81c8 [event] Store event types in flash memory 2025-11-07 11:30:34 -06:00
J. Nick Koston dc3c18974e [event] Store event types in flash memory 2025-11-07 11:28:25 -06:00
J. Nick Koston cf8b88b335 Merge branch 'integration' into memory_api 2025-11-06 18:10:12 -06:00
J. Nick Koston 43cd4a6b93 Merge guard_ap: Guard AP-related members with USE_WIFI_AP 2025-11-06 18:09:45 -06:00
J. Nick Koston 448e6432ea Merge branch 'wifi_get_rid_of_selected' into integration 2025-11-06 18:08:34 -06:00
J. Nick Koston f3c9ab7cb4 address final bot comments 2025-11-06 18:06:10 -06:00
J. Nick Koston d46d6f08bd [wifi] Guard AP-related members with USE_WIFI_AP to save RAM 2025-11-06 18:04:57 -06:00
J. Nick Koston d6528f906e dry 2025-11-06 17:49:45 -06:00
J. Nick Koston d96e8a9c4b dry 2025-11-06 17:43:52 -06:00
J. Nick Koston 282f6e04b3 dry 2025-11-06 17:40:53 -06:00
J. Nick Koston 148cbc03db dry 2025-11-06 17:39:23 -06:00
J. Nick Koston c6da4e4777 dry 2025-11-06 17:38:26 -06:00
J. Nick Koston 81bc2d82d6 dry 2025-11-06 17:30:16 -06:00
J. Nick Koston 0893de4f29 dry 2025-11-06 17:26:51 -06:00
J. Nick Koston 3b9570d916 dry 2025-11-06 17:25:52 -06:00
J. Nick Koston b4b24c500c dry 2025-11-06 17:24:07 -06:00
J. Nick Koston 0a741007bf dry 2025-11-06 17:21:14 -06:00
J. Nick Koston bf52b9fe06 dry 2025-11-06 17:20:01 -06:00
J. Nick Koston 6e685f1b2d dry 2025-11-06 17:15:57 -06:00
J. Nick Koston 400a18fddc dry 2025-11-06 17:12:05 -06:00
J. Nick Koston 90feecb7bf dry 2025-11-06 17:06:04 -06:00
J. Nick Koston 2e1fd30ea0 dry 2025-11-06 17:00:42 -06:00
J. Nick Koston 03c5655201 dry 2025-11-06 16:58:40 -06:00
J. Nick Koston df35036c8d refator 2025-11-06 16:52:30 -06:00
J. Nick Koston 936a6cb71e reduce complexity 2025-11-06 16:31:00 -06:00
J. Nick Koston df1ffbaf5d reduce complexity 2025-11-06 16:30:12 -06:00
J. Nick Koston 645820304f reduce complexity 2025-11-06 16:28:54 -06:00
J. Nick Koston f4d2b000da reduce 2025-11-06 16:25:23 -06:00
J. Nick Koston a0b273c6f3 not hidden if found 2025-11-06 16:23:59 -06:00
J. Nick Koston cde767d83d improve comment 2025-11-06 16:12:19 -06:00
J. Nick Koston 8a92791887 remove non-logical check 2025-11-06 16:08:14 -06:00
J. Nick Koston 7041c3324b revert yet another bad copilot suggesiton 2025-11-06 16:05:15 -06:00
J. Nick Koston 7d48df9fe1 remove overly defensive suggestions from copilot 2025-11-06 16:04:00 -06:00
J. Nick Koston 541e0cfde8 preen 2025-11-06 16:00:37 -06:00
J. Nick Koston 38cf003bf3 preen 2025-11-06 15:58:05 -06:00
J. Nick Koston 47874ef516 revert copilot suggestion .. we will never have more then 5 anyways 2025-11-06 15:53:48 -06:00
J. Nick Koston 8eb509f8f0 revert copilot suggestion .. we will never have more then 5 anyways 2025-11-06 15:52:11 -06:00
J. Nick Koston db0b1e0b5c defensive to make bot happy 2025-11-06 15:45:41 -06:00
J. Nick Koston 0eafe5259f defensive to make bot happy 2025-11-06 15:44:48 -06:00
J. Nick Koston b366bc8dba defensive to make bot happy 2025-11-06 15:40:32 -06:00
J. Nick Koston b74f415509 defensive to make bot happy 2025-11-06 15:37:58 -06:00
J. Nick Koston 0044c51474 defensive to make bot happy 2025-11-06 15:37:01 -06:00
J. Nick Koston 1fb233e22f fix false positive logging 2025-11-06 15:07:47 -06:00
J. Nick Koston e4a56c6bc9 not needed 2025-11-06 14:49:52 -06:00
J. Nick Koston ebda7dace0 not needed 2025-11-06 14:46:11 -06:00
J. Nick Koston d8b419b60c not needed 2025-11-06 14:42:42 -06:00
J. Nick Koston 190668c25f fix false positive logging 2025-11-06 13:58:39 -06:00
J. Nick Koston ef680933dc cleanup 2025-11-06 13:55:08 -06:00
J. Nick Koston 4439b45fba cleanup 2025-11-06 13:52:32 -06:00
J. Nick Koston 703b1cf314 cleanup 2025-11-06 13:51:47 -06:00
J. Nick Koston 047773e62f fixes for no fast connect yet 2025-11-06 13:32:51 -06:00
J. Nick Koston 57a88e8211 fixes for no fast connect yet 2025-11-06 13:11:06 -06:00
J. Nick Koston 6d958a6640 fixes for no fast connect yet 2025-11-06 12:58:03 -06:00
J. Nick Koston 37620e61f9 fast connect fixes 2025-11-06 12:36:35 -06:00
J. Nick Koston d38703c18a [wifi] Refactor AP selection with synchronization helpers 2025-11-06 12:31:14 -06:00
J. Nick Koston 5543acf3ab preen 2025-11-06 12:10:18 -06:00
J. Nick Koston 25ef0043d2 preen 2025-11-06 12:07:42 -06:00
J. Nick Koston 60d6144574 preen 2025-11-06 12:02:18 -06:00
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
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
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 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 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
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
J. Nick Koston f8aee13a3a use actual pattern 2025-11-05 16:44:06 -06:00
J. Nick Koston c83e5e076b cleanup 2025-11-05 16:41:26 -06:00
J. Nick Koston e331056500 Update AI instructions with C++ style guidelines from developers documentation 2025-11-05 16:35:01 -06:00
J. Nick Koston 6d390d5b88 Merge branch 'integration' into memory_api 2025-11-05 12:36:32 -06:00
J. Nick Koston 8514fbcf71 Revert "Revert "Revert "[api] Release excess buffer capacity after initial sync"""
This reverts commit e8c7f74abd.
2025-11-05 12:36:27 -06:00
J. Nick Koston 0d2cdc5ce5 Merge branch 'integration' into memory_api 2025-11-05 12:25:24 -06:00
J. Nick Koston e8c7f74abd Revert "Revert "[api] Release excess buffer capacity after initial sync""
This reverts commit 1fce2918fb.
2025-11-05 12:25:16 -06:00
J. Nick Koston d25ff00af4 Merge branch 'integration' into memory_api 2025-11-05 12:22:24 -06:00
J. Nick Koston 1fce2918fb Revert "[api] Release excess buffer capacity after initial sync"
This reverts commit 90e4d15fd9.
2025-11-05 12:22:13 -06:00
J. Nick Koston 6e4b99db73 Merge branch 'integration' into memory_api 2025-11-05 12:15:30 -06:00
J. Nick Koston c9feb5cf65 Merge branch 'api_shrink_after_initial_sync' into integration 2025-11-05 12:15:24 -06:00
J. Nick Koston 90e4d15fd9 [api] Release excess buffer capacity after initial sync 2025-11-05 12:14:09 -06:00
J. Nick Koston ab128fe84a Merge branch 'integration' into memory_api 2025-11-05 11:45:35 -06:00
J. Nick Koston 6ccea58ee2 merge 2025-11-05 11:45:27 -06:00
J. Nick Koston 7f4f4033ee Merge branch 'deprecate_get_icon_get_device_class_get_unit_of_measurement' into integration 2025-11-05 11:44:58 -06:00
J. Nick Koston 2352114757 [graph] Remove unnecessary .c_str() calls when appending StringRef to std::string
StringRef has an operator+= overload that allows direct appending to std::string.
No need to call .c_str() first - this is even more efficient.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 11:42:52 -06:00
J. Nick Koston cf209e3694 touch ups 2025-11-05 11:42:13 -06:00
J. Nick Koston ee229bd8f2 Merge branch 'integration' into memory_api 2025-11-05 11:27:55 -06:00
J. Nick Koston 8c1bebb3f4 Merge remote-tracking branch 'upstream/mqtt_copies' into integration 2025-11-05 11:27:46 -06:00
J. Nick Koston d056db42fa Merge branch 'mdns_dup_storage' into integration 2025-11-05 11:27:31 -06:00
J. Nick Koston 2accba4e0c Merge branch 'template_final' into integration 2025-11-05 11:27:24 -06:00
J. Nick Koston ed0d9e60b8 [mdns] Eliminate redundant hostname copy to save heap memory 2025-11-05 11:19:06 -06:00
J. Nick Koston 4c5533b2ea move comments 2025-11-05 11:16:43 -06:00
J. Nick Koston 4c097616ae move comments 2025-11-05 11:10:13 -06:00
J. Nick Koston 5dc8bfcf13 [template] Mark all component classes as final 2025-11-05 11:08:10 -06:00
J. Nick Koston a78767c714 Merge branch 'integration' into memory_api 2025-11-05 11:01:59 -06:00
J. Nick Koston af61fe3ac3 Merge branch 'mqtt_copies' into integration 2025-11-05 11:01:47 -06:00
J. Nick Koston 14eadb3ccd Merge branch 'deprecate_get_icon_get_device_class_get_unit_of_measurement' into integration 2025-11-05 11:01:43 -06:00
J. Nick Koston d663ea56b0 tidy 2025-11-05 11:00:02 -06:00
J. Nick Koston 2c9fdb33e6 [core] Deprecate get_icon(), get_device_class(), get_unit_of_measurement() and fix remaining non-MQTT usages 2025-11-05 10:52:58 -06:00
J. Nick Koston 5372eca46e [mqtt] Use StringRef to avoid string copies in discovery 2025-11-05 10:43:22 -06:00
J. Nick Koston e648c0315e Merge branch 'integration' into memory_api 2025-11-05 09:18:11 -06:00
J. Nick Koston c29dbcca5f Merge remote-tracking branch 'upstream/dev' into integration 2025-11-05 09:18:04 -06:00
J. Nick Koston 3a947a205a Merge branch 'integration' into memory_api 2025-11-05 09:03:23 -06:00
J. Nick Koston 558bee8a09 Merge branch 'rtttl_substr' into integration 2025-11-05 09:03:17 -06:00
J. Nick Koston d77f63eff5 add some safety for future refactoring 2025-11-05 09:02:36 -06:00
J. Nick Koston d7ea53a44f Merge branch 'integration' into memory_api 2025-11-04 22:33:13 -06:00
J. Nick Koston c70d154276 Merge branch 'remote_base' into integration 2025-11-04 22:33:05 -06:00
J. Nick Koston 358296a57e [remote_base] Eliminate substr() allocations in Pronto dump logging 2025-11-04 22:32:20 -06:00
J. Nick Koston 6ba0d6b54b Merge branch 'integration' into memory_api 2025-11-04 22:21:45 -06:00
J. Nick Koston e0831abcd3 Merge branch 'voice_assistant_string_truncate' into integration 2025-11-04 22:21:32 -06:00
J. Nick Koston 34208138c1 [voice_assistant] Eliminate substr() allocations in text truncation 2025-11-04 22:20:55 -06:00
J. Nick Koston bbe9169975 Merge branch 'integration' into memory_api 2025-11-04 22:13:30 -06:00
J. Nick Koston 5855f3ce33 Merge branch 'ld2420_avoid_string_copy' into integration 2025-11-04 22:13:22 -06:00
J. Nick Koston f420a8f32d [ld2420] Eliminate substr() allocation in firmware version parsing 2025-11-04 22:11:46 -06:00
J. Nick Koston f262c671a8 Merge branch 'integration' into memory_api 2025-11-04 22:02:34 -06:00
J. Nick Koston a0755829bf Merge branch 'wifi_info' into integration 2025-11-04 22:02:18 -06:00
J. Nick Koston 009d6a15f6 [wifi_info] Reduce heap usage by up to 1.7KB in scan_results sensor 2025-11-04 21:58:44 -06:00
J. Nick Koston 28eb79b17b Merge branch 'integration' into memory_api 2025-11-04 21:46:10 -06:00
J. Nick Koston 209091e6a4 Merge branch 'rtttl_substr' into integration 2025-11-04 21:46:03 -06:00
J. Nick Koston bf83b70a18 [rtttl] Reduce flash usage by eliminating substr() allocations 2025-11-04 21:45:00 -06:00
J. Nick Koston c588d52bec Merge branch 'integration' into memory_api 2025-11-04 21:13:56 -06:00
J. Nick Koston d70fe126f6 preen 2025-11-04 21:13:46 -06:00
J. Nick Koston 829455ac43 Merge branch 'integration' into memory_api 2025-11-04 21:12:37 -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 cd3558623b Merge branch 'integration' into memory_api 2025-11-04 08:34:32 -06:00
J. Nick Koston c0ebadd99d Merge remote-tracking branch 'upstream/dev' into integration 2025-11-04 08:34:24 -06:00
J. Nick Koston 4ae36c0b59 Merge branch 'integration' into memory_api 2025-11-03 22:30:16 -06:00
J. Nick Koston 6f924dc296 Merge branch 'set_use_address_flash' into integration 2025-11-03 22:30:10 -06:00
J. Nick Koston 080bebbe06 review 2025-11-03 22:29:58 -06:00
J. Nick Koston beca5901ec Merge branch 'integration' into memory_api 2025-11-03 22:27:11 -06:00
J. Nick Koston 2ce7c51c1e Merge branch 'set_use_address_flash' into integration 2025-11-03 22:27:06 -06:00
J. Nick Koston 1530e3105d review 2025-11-03 22:25:49 -06:00
J. Nick Koston 2ee409d799 Merge branch 'integration' into memory_api 2025-11-03 21:33:39 -06:00
J. Nick Koston 35d91e44b6 Merge branch 'set_use_address_flash' into integration 2025-11-03 21:33:32 -06:00
J. Nick Koston 69a1ea43e7 [network] Store use_address in RODATA to save RAM 2025-11-03 21:31:03 -06:00
J. Nick Koston 60d309b97a Merge branch 'integration' into memory_api 2025-11-03 21:03:49 -06:00
J. Nick Koston abaa9cda60 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-03 21:03:33 -06:00
J. Nick Koston 772c3b250e Merge branch 'integration' into memory_api 2025-11-03 16:36:17 -06:00
J. Nick Koston ca041ff129 Merge remote-tracking branch 'upstream/dev' into integration 2025-11-03 16:36:07 -06:00
J. Nick Koston b294dbd547 Merge branch 'integration' into memory_api 2025-11-03 15:01:06 -06:00
J. Nick Koston 9091a2b658 Merge branch 'micro_wake_word_wake' into integration 2025-11-03 15:01:02 -06:00
J. Nick Koston e65d3da763 [micro_wake_word] Add wake_loop_threadsafe() for low-latency wake word detection 2025-11-03 15:00:37 -06:00
J. Nick Koston 2dc798f490 Merge branch 'integration' into memory_api 2025-11-02 23:20:42 -06:00
J. Nick Koston 199fe62686 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/bedjet/climate/bedjet_climate.cpp
#	esphome/components/climate/climate.cpp
#	esphome/components/climate/climate.h
#	esphome/components/demo/demo_climate.h
#	esphome/components/thermostat/thermostat_climate.cpp
2025-11-02 23:20:11 -06:00
J. Nick Koston a136501c63 Merge branch 'integration' into memory_api 2025-11-02 22:44:43 -06:00
J. Nick Koston c3f2a901dd Merge branch 'app_wake_loop_threadsafe_usb' into integration 2025-11-02 22:44:36 -06:00
J. Nick Koston 9da3c08f3b [usb_host] Add wake_loop_threadsafe() for low-latency USB event processing 2025-11-02 22:43:00 -06:00
J. Nick Koston 244716a05b Merge branch 'integration' into memory_api 2025-11-02 22:08:11 -06:00
J. Nick Koston 83f45a276c Merge branch 'app_wake_loop_threadsafe' into integration 2025-11-02 22:08:01 -06:00
J. Nick Koston 8e0721318c analysis 2025-11-02 22:06:15 -06:00
J. Nick Koston ee2b10a992 move to socket 2025-11-02 22:05:15 -06:00
J. Nick Koston 8b7ef6cae8 move to socket 2025-11-02 22:04:20 -06:00
J. Nick Koston edd01d5c9c move to socket 2025-11-02 22:04:14 -06:00
J. Nick Koston 4640198827 move to socket 2025-11-02 22:01:00 -06:00
J. Nick Koston 6a48c0f5cf move to socket 2025-11-02 21:59:22 -06:00
J. Nick Koston acd26600dd move to socket 2025-11-02 21:57:57 -06:00
J. Nick Koston 2ac95abea7 [core][esp32_ble] Add wake_loop_threadsafe() helper for background thread wakeups 2025-11-02 21:51:39 -06:00
J. Nick Koston f11103c895 [core][esp32_ble] Add wake_loop_threadsafe() helper for background thread wakeups 2025-11-02 21:50:56 -06:00
J. Nick Koston 12077d016d [core][esp32_ble] Add wake_loop_threadsafe() helper for background thread wakeups 2025-11-02 21:48:17 -06:00
J. Nick Koston 6aa4485baf Merge branch 'integration' into memory_api 2025-11-02 20:22:59 -06:00
J. Nick Koston ba4049b077 Merge remote-tracking branch 'origin/integration' into integration 2025-11-02 20:22:38 -06:00
J. Nick Koston a436937b7d Merge branch 'integration' into memory_api 2025-11-02 20:22:20 -06:00
J. Nick Koston a115ac002f Merge remote-tracking branch 'origin/climate_store_flash' into integration 2025-11-02 20:22:11 -06:00
J. Nick Koston d0d00c2a79 Merge branch 'fan_no_double_storage' into integration 2025-11-02 20:21:57 -06:00
J. Nick Koston 42c3e7b542 fix trigge on preset mode cleared 2025-11-02 20:07:32 -06:00
J. Nick Koston a72837704c fix trigge on preset mode cleared 2025-11-02 20:04:37 -06:00
J. Nick Koston b3b48ca780 Merge branch 'dev' into climate_store_flash 2025-11-02 19:48:42 -06:00
J. Nick Koston 5e70dd76bf Merge branch 'integration' into memory_api 2025-11-02 19:45:11 -06:00
J. Nick Koston 171ff48bab Merge branch 'fan_no_double_storage' into integration 2025-11-02 19:45:05 -06:00
J. Nick Koston 5300460819 Merge remote-tracking branch 'upstream/dev' into fan_no_double_storage 2025-11-02 19:44:01 -06:00
J. Nick Koston e5c4b50a1a Merge upstream/dev into integration
Resolved conflicts in:
- esphome/components/fan/fan.cpp: Preserved pointer-based preset mode optimization
- esphome/components/fan/fan_traits.h: Kept cstring include for strcmp
- esphome/components/web_server_idf/web_server_idf.cpp: Kept float_buf_size constant

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 19:42:06 -06:00
J. Nick Koston b4bebe0d44 Merge branch 'integration' into memory_api 2025-11-02 18:53:51 -06:00
J. Nick Koston 8d2a2f7fc3 Merge branch 'base_automation_time_calls' into integration 2025-11-02 18:53:45 -06:00
J. Nick Koston e95eddba8f Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-11-02 18:53:29 -06:00
J. Nick Koston c10663d88c [core] Avoid redundant millis() calls in base_automation loop methods 2025-11-02 18:52:59 -06:00
J. Nick Koston da53a13086 remove cruft 2025-11-02 18:17:39 -06:00
J. Nick Koston 7d0a04bac7 Merge branch 'integration' into memory_api 2025-11-02 17:59:04 -06:00
J. Nick Koston 3f1aee1d4e Merge branch 'action_chaining' into integration 2025-11-02 17:58:56 -06:00
J. Nick Koston 52a5cccc77 fix regression from moved code that was conflicted 2025-11-02 17:39:57 -06:00
J. Nick Koston a3dbaa7a95 Merge branch 'cotinuation_tests' into action_chaining 2025-11-02 17:25:52 -06:00
J. Nick Koston 47cc240368 Add action continuation tests
new baseline ahead of https://github.com/esphome/esphome/pull/11650
2025-11-02 17:23:37 -06:00
J. Nick Koston 21a343701d cover 2025-11-02 17:21:03 -06:00
J. Nick Koston 2f35a94d28 revert 2025-11-02 17:13:56 -06:00
J. Nick Koston 035a510aba fix conflict 2025-11-02 17:11:13 -06:00
J. Nick Koston c1023116f2 Merge dev branch with action continuation optimizations
- Integrated upstream loop re-entry fixes from PR #7972
- Updated WhileAction and RepeatAction to use simpler parameter passing (no var_ storage)
- Maintained all optimization benefits (ContinuationAction, WhileLoopContinuation, RepeatLoopContinuation)
- DelayAction: shared_ptr + lambda instead of std::bind
- WaitUntilAction: simple lambda instead of std::bind
- IfAction: ContinuationAction (4-8 bytes) instead of LambdaAction (40 bytes)
- WhileAction: WhileLoopContinuation with simplified parameter passing
- RepeatAction: RepeatLoopContinuation with simplified parameter passing
2025-11-02 17:06:22 -06:00
J. Nick Koston 1704e8dd69 Merge branch 'integration' into memory_api 2025-11-01 21:57:55 -05:00
J. Nick Koston cd38cc80cb Merge branch 'buffer_cleanup_temp' into integration 2025-11-01 21:57:48 -05:00
J. Nick Koston b97c688f25 [api] Remove unnecessary intermediate variable in frame helpers 2025-11-01 18:31:26 -05:00
J. Nick Koston 82964576f0 Merge branch 'integration' into memory_api 2025-11-01 16:58:54 -05:00
J. Nick Koston fedee74e25 Merge branch 'select_remove_double_check' into integration 2025-11-01 16:58:48 -05:00
J. Nick Koston e2e20d79d0 [core] Remove redundant fd bounds check in yield_with_select_() 2025-11-01 16:58:17 -05:00
J. Nick Koston e370dd0a14 Merge branch 'integration' into memory_api 2025-11-01 15:27:06 -05:00
J. Nick Koston d2127b9000 Merge branch 'ble_latancy' into integration 2025-11-01 15:26:58 -05:00
J. Nick Koston 604508e3d8 fix 2025-11-01 15:23:35 -05:00
J. Nick Koston bb2418a53f fix 2025-11-01 15:13:30 -05:00
J. Nick Koston b80f40676a fix ble latency 2025-11-01 15:02:51 -05:00
J. Nick Koston 32ea82060d fix ble latency 2025-11-01 15:02:26 -05:00
J. Nick Koston 69af4cddb5 fix ble latency 2025-11-01 14:58:24 -05:00
J. Nick Koston ff2e2bed66 fix ble latency 2025-11-01 14:56:11 -05:00
J. Nick Koston f6a5a30dc2 fix ble latency 2025-11-01 14:55:37 -05:00
J. Nick Koston a29f209b46 fix ble latency 2025-11-01 14:53:34 -05:00
J. Nick Koston 9c5dbd18c2 fix ble latency 2025-11-01 14:53:12 -05:00
J. Nick Koston 66eb10cc55 fix ble latency 2025-11-01 14:52:45 -05:00
J. Nick Koston 90fada3de9 Merge branch 'integration' into memory_api 2025-11-01 13:23:08 -05:00
J. Nick Koston ad6bb77b9c Merge branch 'web_server_idf_appends' into integration 2025-11-01 13:23:00 -05:00
J. Nick Koston e91b0bb804 preen 2025-11-01 13:13:56 -05:00
J. Nick Koston a6b64db51a Merge branch 'integration' into memory_api 2025-11-01 13:05:01 -05:00
J. Nick Koston 45de63dd68 Merge branch 'web_server_idf_appends' into integration 2025-11-01 13:04:53 -05:00
J. Nick Koston 00abf7da72 Merge branch 'web_server_idf_appends' of https://github.com/esphome/esphome into web_server_idf_appends 2025-11-01 13:01:38 -05:00
J. Nick Koston afcce8e5c6 fixup 2025-11-01 13:01:18 -05:00
J. Nick Koston 5b00ff1bf1 Merge branch 'web_server_idf_tests' into web_server_idf_appends 2025-11-01 12:49:23 -05:00
J. Nick Koston 0c101768d7 tests 2025-11-01 12:48:24 -05:00
J. Nick Koston e567cb9658 tests 2025-11-01 12:47:54 -05:00
J. Nick Koston 7714f71d5c Merge branch 'integration' into memory_api 2025-11-01 12:42:49 -05:00
J. Nick Koston 6c7fd88ced Merge branch 'web_server_idf_appends' into integration 2025-11-01 12:42:42 -05:00
J. Nick Koston 2f56af0078 [web_server_idf] Reduce flash by eliminating temporary string allocations in event formatting 2025-11-01 12:41:22 -05:00
J. Nick Koston f502907c7a [web_server_idf] Reduce flash by eliminating temporary string allocations in event formatting 2025-11-01 12:39:01 -05:00
J. Nick Koston 3c5e702c84 Merge branch 'integration' into memory_api 2025-11-01 12:12:06 -05:00
J. Nick Koston 087d093dfb Merge remote-tracking branch 'upstream/dev' into integration 2025-11-01 12:11:58 -05:00
J. Nick Koston 6c2f1c8a28 wip action chaining 2025-11-01 01:53:27 -05:00
J. Nick Koston 806f033800 Merge branch 'integration' into memory_api 2025-11-01 00:21:00 -05:00
J. Nick Koston cb35d25e2f Merge branch 'web_server_zero_copy' into integration 2025-11-01 00:20:54 -05:00
J. Nick Koston ab261f3436 [web_server] Use zero-copy entity ID comparison in request handlers 2025-11-01 00:19:54 -05:00
J. Nick Koston 0dabd8d392 Merge branch 'integration' into memory_api 2025-10-31 23:28:44 -05:00
J. Nick Koston c98520c8b6 Merge branch 'scheduler_reorg' into integration 2025-10-31 23:28:36 -05:00
J. Nick Koston d2249ff8be [scheduler] Refactor call() for improved code organization 2025-10-31 23:27:00 -05:00
J. Nick Koston 2816aa6574 Merge branch 'integration' into memory_api 2025-10-31 22:56:48 -05:00
J. Nick Koston 6442f803bd Merge branch 'redundant_assign' into integration 2025-10-31 22:56:36 -05:00
J. Nick Koston c8f7bceb34 [web_server] Remove redundant assignment in deq_push_back_with_dedup_ 2025-10-31 22:56:02 -05:00
J. Nick Koston 1e470b3018 Merge branch 'integration' into memory_api 2025-10-31 22:27:49 -05:00
J. Nick Koston 36f48de32c Merge branch 'web_server_reduce_nesting' into integration 2025-10-31 22:27:44 -05:00
J. Nick Koston ad0d6da2f3 preen 2025-10-31 22:27:26 -05:00
J. Nick Koston 07d00d5061 Merge branch 'integration' into memory_api 2025-10-31 22:22:46 -05:00
J. Nick Koston 4f7fad7b24 Merge branch 'web_server_reduce_nesting' into integration 2025-10-31 22:22:33 -05:00
J. Nick Koston 04222d2851 [web_server] Eliminate nested lambdas in DeferredUpdateEventSourceList 2025-10-31 22:22:04 -05:00
J. Nick Koston 95c4bb62d0 Merge branch 'integration' into memory_api 2025-10-31 15:21:21 -05:00
J. Nick Koston 97d677a22f Merge remote-tracking branch 'upstream/dev' into integration 2025-10-31 15:21:14 -05:00
J. Nick Koston 1704752aef Merge branch 'integration' into memory_api 2025-10-31 14:39:18 -05:00
J. Nick Koston ce2eba4faf Merge branch 'fan_no_double_storage' into integration 2025-10-31 14:39:11 -05:00
J. Nick Koston e1356e8ab2 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-31 14:39:03 -05:00
J. Nick Koston 5c184777c6 remove bugfix 2025-10-31 12:05:48 -05:00
J. Nick Koston cbaa15635f remove bugfix 2025-10-31 11:49:35 -05:00
J. Nick Koston d5938df531 remove bugfix 2025-10-31 11:45:12 -05:00
J. Nick Koston e6421ac50c remove bugfix 2025-10-31 11:42:32 -05:00
J. Nick Koston 9dcfbed8af wip 2025-10-31 11:37:22 -05:00
J. Nick Koston 76952026b7 preen 2025-10-31 11:18:14 -05:00
J. Nick Koston 91ae8c82b0 preen 2025-10-31 11:15:59 -05:00
J. Nick Koston ada0e8c2ea Merge branch 'fan_fixed' into fan_no_double_storage 2025-10-31 11:14:07 -05:00
J. Nick Koston 410afd196f preen 2025-10-31 11:13:57 -05:00
J. Nick Koston 4fabe464c8 wip 2025-10-31 11:08:24 -05:00
J. Nick Koston 79e2340588 wip 2025-10-31 11:06:18 -05:00
J. Nick Koston cf85621d64 wip 2025-10-31 11:05:31 -05:00
J. Nick Koston 58ae4a38be wip 2025-10-31 11:04:27 -05:00
J. Nick Koston cd3f10630b wip 2025-10-31 11:01:36 -05:00
J. Nick Koston 4e6d74c981 Merge branch 'dev' into fan_fixed 2025-10-31 10:40:02 -05:00
J. Nick Koston 62569c9770 Merge branch 'integration' into memory_api 2025-10-30 21:22:21 -05:00
J. Nick Koston 27859c8ccd Merge branch 'climate_store_flash' into integration 2025-10-30 21:22:14 -05:00
J. Nick Koston fae90194e7 safety 2025-10-30 21:12:27 -05:00
J. Nick Koston 5c99eabd1a safety 2025-10-30 21:11:33 -05:00
J. Nick Koston 1378e52838 safety 2025-10-30 21:10:19 -05:00
J. Nick Koston 868d01ae03 safety 2025-10-30 21:10:01 -05:00
J. Nick Koston c36b778158 safety 2025-10-30 21:07:23 -05:00
J. Nick Koston 1b5a942f61 fixes 2025-10-30 20:58:02 -05:00
J. Nick Koston d7f55e9977 fixes 2025-10-30 20:53:30 -05:00
J. Nick Koston f6e8fdcd91 simplify 2025-10-30 20:50:00 -05:00
J. Nick Koston 1fd6f7bcd3 simplify 2025-10-30 20:41:44 -05:00
J. Nick Koston 0a86254b84 simplify 2025-10-30 20:32:28 -05:00
J. Nick Koston 6dd29f1917 simplify 2025-10-30 20:25:26 -05:00
J. Nick Koston a073ec4e11 simplify 2025-10-30 20:19:07 -05:00
J. Nick Koston d1bb5c4d79 simplify 2025-10-30 20:16:36 -05:00
J. Nick Koston 60a303adb8 simplify 2025-10-30 20:10:36 -05:00
J. Nick Koston 03ec52752b simplify 2025-10-30 20:09:45 -05:00
J. Nick Koston 70ec33f418 simplify 2025-10-30 20:07:33 -05:00
J. Nick Koston b4045b0963 simplify 2025-10-30 20:04:55 -05:00
J. Nick Koston cd513b0672 simplify 2025-10-30 20:02:28 -05:00
J. Nick Koston 5013b7be87 simplify 2025-10-30 19:55:46 -05:00
J. Nick Koston 34d2056413 simplify 2025-10-30 19:51:54 -05:00
J. Nick Koston 219a318ee3 simplify 2025-10-30 19:50:11 -05:00
J. Nick Koston 13148f2c89 simplify 2025-10-30 19:47:45 -05:00
J. Nick Koston dda7b52f94 simplify 2025-10-30 19:44:30 -05:00
J. Nick Koston 56c6cc8c9f simplify 2025-10-30 19:43:07 -05:00
J. Nick Koston af165539e6 simplify 2025-10-30 19:37:02 -05:00
J. Nick Koston 1864cf6ad8 simplify 2025-10-30 19:08:40 -05:00
J. Nick Koston 8c90ea860c simplify 2025-10-30 19:04:52 -05:00
J. Nick Koston 46e4fe2896 simplify 2025-10-30 19:03:12 -05:00
J. Nick Koston 4565dcc4d9 simplify 2025-10-30 19:03:01 -05:00
J. Nick Koston 41bd8951dc simplify 2025-10-30 19:02:45 -05:00
J. Nick Koston 952f6f5029 simplify 2025-10-30 19:01:48 -05:00
J. Nick Koston f66f9c4eaf simplify 2025-10-30 19:00:02 -05:00
J. Nick Koston b9d0e4061b simplify 2025-10-30 18:58:52 -05:00
J. Nick Koston 39beaae20f simplify 2025-10-30 18:56:42 -05:00
J. Nick Koston 6b2a85541d simplify 2025-10-30 18:55:06 -05:00
J. Nick Koston 4d39e15920 simplify 2025-10-30 18:53:13 -05:00
J. Nick Koston 42e6b4326f simplify 2025-10-30 18:51:19 -05:00
J. Nick Koston 9161d3a758 simplify 2025-10-30 18:48:05 -05:00
J. Nick Koston 4aa03ed0a2 Merge remote-tracking branch 'upstream/dev' into climate_store_flash 2025-10-30 18:46:16 -05:00
J. Nick Koston c3c1ae8e7f simplify 2025-10-30 18:44:28 -05:00
J. Nick Koston 210320b8cc simplify 2025-10-30 18:43:17 -05:00
J. Nick Koston 9753bd8b8a Merge branch 'integration' into memory_api 2025-10-30 18:06:24 -05:00
J. Nick Koston 40a867a863 Merge branch 'esp32_ble' into integration 2025-10-30 18:06:16 -05:00
J. Nick Koston d848cc33d7 dry 2025-10-30 17:54:35 -05:00
J. Nick Koston 1925cd0379 dry 2025-10-30 17:53:34 -05:00
J. Nick Koston 1905bbd898 dry 2025-10-30 17:49:20 -05:00
J. Nick Koston 59736f25e9 wip 2025-10-30 17:43:45 -05:00
J. Nick Koston c544b8258f Merge branch 'integration' into memory_api 2025-10-30 15:40:27 -05:00
J. Nick Koston 4926e90985 Merge branch 'select_options' into integration 2025-10-30 15:40:22 -05:00
J. Nick Koston 19e1427d92 wip 2025-10-30 15:40:10 -05:00
J. Nick Koston f7d3a8eab4 Merge branch 'integration' into memory_api 2025-10-30 15:38:59 -05:00
J. Nick Koston 0b6648a823 Merge branch 'select_options' into integration 2025-10-30 15:38:49 -05:00
J. Nick Koston 2a73fd3fd6 esp8266 2025-10-30 15:38:40 -05:00
J. Nick Koston b28dc7218d Merge branch 'integration' into memory_api 2025-10-30 15:33:37 -05:00
J. Nick Koston a0efa628d1 Merge branch 'select_options' into integration 2025-10-30 15:33:31 -05:00
J. Nick Koston 10b9ec32a8 preen 2025-10-30 15:33:19 -05:00
J. Nick Koston c191405b6d preen 2025-10-30 15:33:07 -05:00
J. Nick Koston 74a9445eff Merge branch 'integration' into memory_api 2025-10-30 15:27:58 -05:00
J. Nick Koston b6b640cd33 Merge branch 'select_options' into integration 2025-10-30 15:27:51 -05:00
J. Nick Koston 774cdd33bc cleaner 2025-10-30 15:27:44 -05:00
J. Nick Koston 94207cb956 Merge branch 'integration' into memory_api 2025-10-30 15:24:18 -05:00
J. Nick Koston 7546b61e01 Merge branch 'select_options' into integration 2025-10-30 15:24:11 -05:00
J. Nick Koston 394d50a328 esphom prefers this-> 2025-10-30 15:24:02 -05:00
J. Nick Koston 04db4b821d Merge branch 'integration' into memory_api 2025-10-30 15:21:18 -05:00
J. Nick Koston 61f9737557 Merge branch 'select_options' into integration 2025-10-30 15:21:12 -05:00
J. Nick Koston f86c74ff02 preen 2025-10-30 15:20:50 -05:00
J. Nick Koston 028d16d64e Merge branch 'integration' into memory_api 2025-10-30 14:31:21 -05:00
J. Nick Koston bc32a0cc94 Merge branch 'select_options' into integration 2025-10-30 14:31:15 -05:00
J. Nick Koston 3552d29167 preen 2025-10-30 14:30:58 -05:00
J. Nick Koston 90a6771f4b Merge branch 'integration' into memory_api 2025-10-30 14:28:26 -05:00
J. Nick Koston b28cee1f79 Merge branch 'select_options' into integration 2025-10-30 14:28:20 -05:00
J. Nick Koston 567672171a force inline 2025-10-30 14:28:09 -05:00
J. Nick Koston be12da5690 Merge branch 'integration' into memory_api 2025-10-30 14:26:55 -05:00
J. Nick Koston b147887b20 Merge branch 'select_options' into integration 2025-10-30 14:26:48 -05:00
J. Nick Koston f447aaed8d force inline 2025-10-30 14:26:37 -05:00
J. Nick Koston 1a9aa23ae9 force inline 2025-10-30 14:25:35 -05:00
J. Nick Koston fad0e55dcc Merge branch 'integration' into memory_api 2025-10-30 14:20:58 -05:00
J. Nick Koston 52e330f323 Merge branch 'select_options' into integration 2025-10-30 14:20:45 -05:00
J. Nick Koston 6cab143db2 break it out, logic was too hard to follow 2025-10-30 14:20:28 -05:00
J. Nick Koston 400e64906b Merge branch 'integration' into memory_api 2025-10-30 14:19:18 -05:00
J. Nick Koston 627f86828c Merge branch 'select_options' into integration 2025-10-30 14:19:10 -05:00
J. Nick Koston 867ff200ce break it out, logic was too hard to follow 2025-10-30 14:18:56 -05:00
J. Nick Koston 4913351540 Merge branch 'integration' into memory_api 2025-10-30 14:17:17 -05:00
J. Nick Koston 1aee375c31 Merge branch 'select_options' into integration 2025-10-30 14:17:10 -05:00
J. Nick Koston 9f62df1456 break it out, logic was too hard to follow 2025-10-30 14:16:56 -05:00
J. Nick Koston 9c9d6e61bb break it out, logic was too hard to follow 2025-10-30 14:16:43 -05:00
J. Nick Koston a2e83d9018 Merge branch 'integration' into memory_api 2025-10-30 14:08:10 -05:00
J. Nick Koston 6fa411d382 Merge branch 'select_options' into integration 2025-10-30 14:08:01 -05:00
J. Nick Koston c02d316866 tidy 2025-10-30 14:07:49 -05:00
J. Nick Koston 16b9eecbcd Merge branch 'integration' into memory_api 2025-10-30 13:40:47 -05:00
J. Nick Koston afdfeae7c3 Merge branch 'select_options' into integration 2025-10-30 13:40:41 -05:00
J. Nick Koston 54c536cbe2 missed some 2025-10-30 13:40:33 -05:00
J. Nick Koston 7acc39abc8 Merge branch 'integration' into memory_api 2025-10-30 13:35:47 -05:00
J. Nick Koston e7d617d89a Merge branch 'select_options' into integration 2025-10-30 13:35:43 -05:00
J. Nick Koston 849483eb3b silience warning 2025-10-30 13:35:35 -05:00
J. Nick Koston edc21fe41e Merge branch 'integration' into memory_api 2025-10-30 13:34:01 -05:00
J. Nick Koston cf240aeee9 Merge branch 'select_options' into integration 2025-10-30 13:33:53 -05:00
J. Nick Koston d496676c84 preen 2025-10-30 13:30:22 -05:00
J. Nick Koston dcc7dbb9e1 Merge branch 'integration' into memory_api 2025-10-30 13:28:52 -05:00
J. Nick Koston c0cab0974c Merge branch 'select_options' into integration 2025-10-30 13:28:38 -05:00
J. Nick Koston 7d2ebabec7 give people time to migrate since we can 2025-10-30 13:28:27 -05:00
J. Nick Koston 27cef4d250 Merge branch 'integration' into memory_api 2025-10-30 13:26:48 -05:00
J. Nick Koston fb6efe93cd Merge branch 'select_options' into integration 2025-10-30 13:26:40 -05:00
J. Nick Koston ad5752f68e give people time to migrate since we can 2025-10-30 13:25:31 -05:00
J. Nick Koston 16f298896d Merge branch 'integration' into memory_api 2025-10-30 13:20:50 -05:00
J. Nick Koston cf6e4c3e16 Merge branch 'select_options' into integration 2025-10-30 13:20:45 -05:00
J. Nick Koston 2e6dab89ff preen 2025-10-30 13:19:45 -05:00
J. Nick Koston 6dff2d6240 cleanups 2025-10-30 13:17:25 -05:00
J. Nick Koston b6d178b8c1 cleanups 2025-10-30 13:12:28 -05:00
J. Nick Koston fd8726b479 comment it 2025-10-30 13:07:03 -05:00
J. Nick Koston f6aee64ec1 preen 2025-10-30 13:02:37 -05:00
J. Nick Koston 58a517afa6 preen 2025-10-30 13:01:32 -05:00
J. Nick Koston a02b90129d preen 2025-10-30 13:00:02 -05:00
J. Nick Koston d1adf79fc3 preen 2025-10-30 12:45:41 -05:00
J. Nick Koston 29887e1da5 preen 2025-10-30 12:43:50 -05:00
J. Nick Koston 5f4f6ced32 preen 2025-10-30 12:39:18 -05:00
J. Nick Koston cf99bab87b preen 2025-10-30 12:38:12 -05:00
J. Nick Koston c2902c9671 preen 2025-10-30 12:33:10 -05:00
J. Nick Koston 1c0a5a9765 preen 2025-10-30 12:32:37 -05:00
J. Nick Koston df014f0217 preen 2025-10-30 12:28:19 -05:00
J. Nick Koston 18783ff20b preen 2025-10-30 12:26:47 -05:00
J. Nick Koston 0db55ef2dd select by index 2025-10-30 12:14:53 -05:00
J. Nick Koston 6f8842c170 Merge branch 'integration' into memory_api 2025-10-30 11:03:06 -05:00
J. Nick Koston ea666bc18c Merge branch 'climate_store_flash' into integration 2025-10-30 11:03:01 -05:00
J. Nick Koston 721252d219 preen 2025-10-30 10:56:19 -05:00
J. Nick Koston 8f9f00df83 preen 2025-10-30 10:55:06 -05:00
J. Nick Koston bf1514e672 preen 2025-10-30 10:46:32 -05:00
J. Nick Koston ccfdd0cf06 remove testing 2025-10-30 10:44:49 -05:00
J. Nick Koston 10d6281edc remove testing 2025-10-30 10:44:36 -05:00
J. Nick Koston fa424514db remove testing 2025-10-30 10:44:23 -05:00
J. Nick Koston 9ed3f18893 preen 2025-10-30 10:39:30 -05:00
J. Nick Koston 789e435aac preen 2025-10-30 10:36:32 -05:00
J. Nick Koston d94c7b9c12 [climate] Replace std::vector<std::string> with const char* for custom fan modes and presets 2025-10-30 10:20:21 -05:00
J. Nick Koston a9b66ff943 Merge branch 'integration' into memory_api 2025-10-29 22:01:37 -05:00
J. Nick Koston eaccc9305c Merge remote-tracking branch 'upstream/dev' into integration 2025-10-29 22:01:25 -05:00
J. Nick Koston 932e19d9a1 Merge branch 'integration' into memory_api 2025-10-29 18:13:22 -05:00
J. Nick Koston 34f7ff42ae merge 2025-10-29 18:13:16 -05:00
J. Nick Koston 41abb8f9a5 Merge branch 'integration' into memory_api 2025-10-29 18:12:25 -05:00
J. Nick Koston 22bf0ae505 Merge remote-tracking branch 'clydebarrow/usb-uart' into integration 2025-10-29 18:12:17 -05:00
J. Nick Koston 6e259c2dbb update cover 2025-10-29 18:08:04 -05:00
J. Nick Koston 80ed3a6f66 Merge branch 'integration' into memory_api 2025-10-29 18:05:32 -05:00
J. Nick Koston 874f81e27b Merge branch 'gpio_interrupt_true' into integration 2025-10-29 18:05:28 -05:00
J. Nick Koston 0ea74c2663 [gpio] Skip set_use_interrupt call when using default value 2025-10-29 18:05:01 -05:00
J. Nick Koston 36e859be37 Merge branch 'integration' into memory_api 2025-10-29 17:58:04 -05:00
J. Nick Koston 6f4296325a Merge branch 'elimate_optional' into integration 2025-10-29 17:57:55 -05:00
J. Nick Koston b743786908 merge 2025-10-29 17:45:18 -05:00
J. Nick Koston 22b718a87d missing disable in lock 2025-10-29 16:56:01 -05:00
J. Nick Koston af6581bfed missing disable in lock 2025-10-29 16:55:52 -05:00
J. Nick Koston ec128914a3 missing disable in lock 2025-10-29 16:55:41 -05:00
J. Nick Koston d2f1baa800 remove enable_loops, not needed since setup runs after setters, since setters are called in main setup() before component setup() 2025-10-29 16:53:25 -05:00
J. Nick Koston 30e6d7a3c8 remove enable_loops, not needed since setup runs after setters, since setters are called in main setup() before component setup() 2025-10-29 16:53:13 -05:00
J. Nick Koston 97f53765b5 Merge branch 'integration' into memory_api 2025-10-29 16:49:55 -05:00
J. Nick Koston 29b544002c Merge branch 'elimate_optional' into integration 2025-10-29 16:49:43 -05:00
J. Nick Koston fe1270e4c1 forward args 2025-10-29 16:45:29 -05:00
J. Nick Koston 931f52cb7b Merge branch 'integration' into memory_api 2025-10-29 16:24:12 -05:00
J. Nick Koston e1d854cf22 Merge branch 'elimate_optional' into integration 2025-10-29 16:24:01 -05:00
J. Nick Koston 5478fa69e9 twip 2025-10-29 16:20:11 -05:00
J. Nick Koston 68d1a7e3ef wip 2025-10-29 16:15:15 -05:00
J. Nick Koston 922acda1a8 wip 2025-10-29 16:12:05 -05:00
J. Nick Koston a849ddd57d wip 2025-10-29 16:10:32 -05:00
J. Nick Koston f4d32c7def relo 2025-10-29 16:08:27 -05:00
J. Nick Koston b1dffcc921 Merge branch 'integration' into memory_api 2025-10-29 15:06:46 -05:00
J. Nick Koston a8668d510f Merge branch 'more_flexible_template' into integration 2025-10-29 15:06:38 -05:00
J. Nick Koston 3636ab68f3 tidy 2025-10-29 15:06:20 -05:00
J. Nick Koston d8da806bab tidy 2025-10-29 15:06:08 -05:00
clydebarrow a21057a744 Relax memory order to acquire 2025-10-30 06:04:33 +10:00
J. Nick Koston d900b84e55 Merge branch 'integration' into memory_api 2025-10-29 14:59:47 -05:00
J. Nick Koston 190fae51d8 Merge branch 'more_flexible_template' into integration 2025-10-29 14:59:42 -05:00
J. Nick Koston b30c4e716f Revert "remove tests to get baseline"
This reverts commit 658c50e0c6.
2025-10-29 14:55:15 -05:00
J. Nick Koston 658c50e0c6 remove tests to get baseline 2025-10-29 14:45:50 -05:00
clydebarrow d6c23ac056 Add clarifying comment 2025-10-30 05:38:16 +10:00
clydebarrow f458ae9449 Merge branch 'dev' of https://github.com/esphome/esphome into usb-uart 2025-10-30 05:35:28 +10:00
J. Nick Koston 399b86255a [template] Add regression tests for lambdas with captures (PR #11555) 2025-10-29 14:35:03 -05:00
J. Nick Koston c38a558df8 fix template regression 2025-10-29 14:26:33 -05:00
J. Nick Koston 299c937e67 fix template regression 2025-10-29 14:24:02 -05:00
J. Nick Koston b6516c687d fix template regression 2025-10-29 14:21:34 -05:00
Clyde Stubbs 83a4436b17 Merge branch 'dev' into usb-uart 2025-10-29 20:55:38 +10:00
J. Nick Koston 6e1dace240 Merge branch 'integration' into memory_api 2025-10-29 00:03:57 -05:00
J. Nick Koston 6e48f30147 Merge branch 'e131_cleanups' into integration 2025-10-29 00:03:50 -05:00
J. Nick Koston 90956f7417 [e131] Replace std::set with std::vector to reduce flash usage 2025-10-28 23:56:44 -05:00
J. Nick Koston 0bb6a6872d Merge branch 'dev' into fan_fixed 2025-10-28 23:47:02 -05:00
J. Nick Koston 5e6baba76c Merge branch 'integration' into memory_api 2025-10-28 23:43:01 -05:00
J. Nick Koston 776198ec05 Merge branch 'ota_handle_data_cleanups' into integration 2025-10-28 23:42:41 -05:00
J. Nick Koston a63b04fc0d Merge branch 'integration' into memory_api 2025-10-28 23:29:03 -05:00
J. Nick Koston 7533da006e Merge branch 'fan_fixed' into integration 2025-10-28 23:28:57 -05:00
J. Nick Koston 372c162e6b make sure no dangling 2025-10-28 23:02:14 -05:00
J. Nick Koston b635689c29 make sure no dangling 2025-10-28 23:01:28 -05:00
J. Nick Koston e4aec7f413 make sure no dangling 2025-10-28 22:57:50 -05:00
J. Nick Koston bb99f68d33 cleanup 2025-10-28 22:47:36 -05:00
J. Nick Koston 47cbe74453 cleanup 2025-10-28 22:41:13 -05:00
J. Nick Koston cc815fd683 cleanup 2025-10-28 22:40:56 -05:00
J. Nick Koston 4cc41606d1 cleanup 2025-10-28 22:40:45 -05:00
J. Nick Koston 6cf0a38b86 preen 2025-10-28 22:26:27 -05:00
J. Nick Koston 5e6ce6ee48 Merge branch 'dev' into fan_fixed 2025-10-28 22:15:50 -05:00
J. Nick Koston c7904e845e Merge branch 'integration' into memory_api 2025-10-28 21:16:45 -05:00
J. Nick Koston 44c2917f24 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-28 21:16:39 -05:00
J. Nick Koston df56346fb6 Merge branch 'integration' into memory_api 2025-10-28 14:19:22 -05:00
J. Nick Koston e7927cb388 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-28 14:19:15 -05:00
J. Nick Koston c34872f923 Merge branch 'integration' into memory_api 2025-10-28 10:59:06 -05:00
J. Nick Koston 4b65e311ff Merge branch 'improv_ble_copies' into integration 2025-10-28 10:59:00 -05:00
J. Nick Koston fc660bbb66 [esp32_ble_server][esp32_improv]: Eliminate unnecessary heap allocations 2025-10-27 22:32:04 -05:00
J. Nick Koston 4a51486979 Merge branch 'integration' into memory_api 2025-10-27 22:06:38 -05:00
J. Nick Koston 62af87b7b2 Merge branch 'select_options_in_flash' into integration 2025-10-27 22:06:26 -05:00
J. Nick Koston d2f5fcd201 preen 2025-10-27 21:15:59 -05:00
J. Nick Koston 8d9f147edd Merge remote-tracking branch 'upstream/dev' into select_options_in_flash
# Conflicts:
#	esphome/components/template/select/template_select.cpp
2025-10-27 21:07:13 -05:00
J. Nick Koston b4be5e7996 Merge branch 'integration' into memory_api 2025-10-27 19:37:39 -05:00
J. Nick Koston 9fd7125d48 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-27 19:37:29 -05:00
J. Nick Koston 0ada17356c Merge branch 'integration' into memory_api 2025-10-27 19:15:28 -05:00
J. Nick Koston dcb24f8adc Merge branch 'modbus_func_ptr' into integration 2025-10-27 19:15:20 -05:00
J. Nick Koston bdbe9caf36 [modbus_controller] Optimize lambdas to use function pointers instead of std::function 2025-10-27 19:11:32 -05:00
clydebarrow 5716b4bf2b Merge branch 'usb-uart' of https://github.com/clydebarrow/esphome into usb-uart 2025-10-28 08:32:47 +10:00
clydebarrow 2ecfe50a74 Merge branch 'dev' of https://github.com/esphome/esphome into usb-uart 2025-10-28 08:32:38 +10:00
clydebarrow 733001bf65 Fix warning about shift overflow 2025-10-28 08:32:24 +10:00
clydebarrow 6d63e9869d Merge branch 'dev' of https://github.com/esphome/esphome into usb-uart 2025-10-28 08:14:58 +10:00
Clyde Stubbs 0e1a79fc53 Merge branch 'dev' into usb-uart 2025-10-28 07:38:13 +10:00
J. Nick Koston 71ccbd8212 Merge branch 'integration' into memory_api 2025-10-27 14:41:55 -05:00
J. Nick Koston 8eeda02b68 Merge branch 'template_value_func_pointers' into integration 2025-10-27 14:41:49 -05:00
J. Nick Koston b32ab80245 includes 2025-10-27 14:41:01 -05:00
J. Nick Koston 0dcdc45d5c Merge branch 'dev' into template_value_func_pointers 2025-10-27 14:38:22 -05:00
J. Nick Koston c5ef520b99 Merge branch 'integration' into memory_api 2025-10-27 12:05:52 -05:00
J. Nick Koston 8962b592da Merge branch 'no_strings_for_ips' into integration 2025-10-27 12:05:41 -05:00
J. Nick Koston 6fc96188d5 tweak 2025-10-27 12:05:30 -05:00
J. Nick Koston 1d885ca6aa Merge branch 'integration' into memory_api 2025-10-27 11:59:01 -05:00
J. Nick Koston 1ede505709 Merge branch 'no_strings_for_ips' into integration 2025-10-27 11:58:56 -05:00
J. Nick Koston 7ceebadca6 [network] Eliminate runtime string parsing for IP address initialization 2025-10-27 11:58:10 -05:00
J. Nick Koston 1b25144bd7 Merge branch 'integration' into memory_api 2025-10-27 11:24:19 -05:00
J. Nick Koston 1b3071d29c Merge branch 'template_lambdas_m_sq' into integration 2025-10-27 11:24:12 -05:00
J. Nick Koston 887e69e0b2 merge 2025-10-27 11:24:03 -05:00
J. Nick Koston 0a47f7dfb5 Merge branch 'integration' into memory_api 2025-10-27 11:23:34 -05:00
J. Nick Koston 8704c6d231 preen 2025-10-27 11:22:47 -05:00
J. Nick Koston f676759e04 preen 2025-10-27 11:22:36 -05:00
J. Nick Koston 6810da84ae Merge branch 'light_effects_stateless' into integration 2025-10-27 11:21:52 -05:00
J. Nick Koston 8789e8637c merge 2025-10-26 20:31:08 -05:00
J. Nick Koston c0f9a0ed83 remov etemplate chnges 2025-10-26 20:27:41 -05:00
J. Nick Koston 469dc052a5 remov etemplate chnges 2025-10-26 20:27:23 -05:00
J. Nick Koston 11224212ba Merge branch 'template_lambdas_m' into light_effects_stateless 2025-10-26 20:24:43 -05:00
J. Nick Koston d7343a769d [light] Optimize LambdaLightEffect and AddressableLambdaLightEffect with function pointers 2025-10-26 20:19:00 -05:00
J. Nick Koston 3389b92255 Merge branch 'template_lambdas_m' into memory_api 2025-10-26 19:43:32 -05:00
J. Nick Koston 5b8cfb0525 Merge branch 'template_lambdas_m' into integration 2025-10-26 19:43:16 -05:00
J. Nick Koston 17d875c8e7 [template] Optimize all template platforms to use function pointers for stateless lambdas 2025-10-26 19:39:56 -05:00
J. Nick Koston 05929c6248 Merge branch 'integration' into memory_api 2025-10-26 12:28:40 -07:00
J. Nick Koston 785a966d58 Merge branch 'template_value_func_pointers' into integration 2025-10-26 12:28:33 -07:00
J. Nick Koston 4967f40551 cleanup 2025-10-26 12:28:09 -07:00
J. Nick Koston 5ba7981c27 Merge branch 'integration' into memory_api 2025-10-26 12:24:41 -07:00
J. Nick Koston bdb101bb0c Merge branch 'template_value_func_pointers' into integration 2025-10-26 12:24:31 -07:00
J. Nick Koston 561c891432 cleanup 2025-10-26 12:23:48 -07:00
J. Nick Koston c9178b8026 Merge branch 'integration' into memory_api 2025-10-26 12:19:54 -07:00
J. Nick Koston 35b5959249 Revert "remove"
This reverts commit 077bd624f0.
2025-10-26 12:19:39 -07:00
J. Nick Koston 9c03425adf Merge branch 'template_value_func_pointers' into integration 2025-10-26 12:19:08 -07:00
J. Nick Koston 1652ea8b97 overkill 2025-10-26 12:14:01 -07:00
J. Nick Koston 48b45ba439 we have c++20 2025-10-26 12:01:54 -07:00
J. Nick Koston b68d030f5a update tests 2025-10-26 11:59:12 -07:00
J. Nick Koston 0bbe326830 preen 2025-10-26 11:51:42 -07:00
J. Nick Koston 077bd624f0 remove 2025-10-26 11:32:59 -07:00
J. Nick Koston ddf86b4e77 wip 2025-10-26 11:31:55 -07:00
J. Nick Koston f8661300f5 Merge branch 'integration' into memory_api 2025-10-26 09:41:42 -07:00
J. Nick Koston 6dd3babe03 Merge branch 'stateless_lambdas' into integration 2025-10-26 09:41:35 -07:00
J. Nick Koston 5e4a551a77 over engineered 2025-10-26 09:32:58 -07:00
J. Nick Koston beace82816 over engineered 2025-10-26 09:32:43 -07:00
J. Nick Koston 802b866d25 Merge branch 'integration' into memory_api 2025-10-26 01:31:20 -07:00
J. Nick Koston cd2ed94054 Merge branch 'stateless_lambdas' into integration 2025-10-26 01:31:14 -07:00
J. Nick Koston 97346e5644 tweak 2025-10-26 01:30:39 -07:00
J. Nick Koston c30e130a48 dry 2025-10-26 01:07:08 -07:00
J. Nick Koston c168766832 Merge branch 'integration' into memory_api 2025-10-26 01:05:16 -07:00
J. Nick Koston 36ac9a4b4c Merge branch 'stateless_lambdas' into integration 2025-10-26 01:05:09 -07:00
J. Nick Koston 23207f0074 dry 2025-10-26 01:03:15 -07:00
J. Nick Koston 9e77ece7ce dry 2025-10-26 00:58:52 -07:00
J. Nick Koston 7737689774 dry 2025-10-26 00:56:22 -07:00
J. Nick Koston 73d510d502 Stateless lambdas 2025-10-26 00:35:09 -07:00
J. Nick Koston cb0052f974 Merge branch 'integration' into memory_api 2025-10-25 19:12:40 -07:00
J. Nick Koston 60725e72b8 Merge branch 'api_services_once' into integration 2025-10-25 19:12:33 -07:00
J. Nick Koston 4d391fb27e missing define for analyzer 2025-10-25 19:12:21 -07:00
J. Nick Koston af90cba909 tweak 2025-10-25 19:06:00 -07:00
clydebarrow c3606a9229 Fix race condition in start_input 2025-10-26 10:05:44 +10:00
clydebarrow 28ee05b1a3 Revert incorrect change 2025-10-26 09:51:15 +10:00
J. Nick Koston d8d6560acb Merge branch 'integration' into memory_api 2025-10-25 16:50:05 -07:00
J. Nick Koston a282923f62 Merge branch 'api_services_once' into integration 2025-10-25 16:49:41 -07:00
J. Nick Koston 892aa61e79 Merge branch 'integration' into memory_api 2025-10-25 16:48:51 -07:00
J. Nick Koston e0eb275c4d Merge branch 'gpio_inverted_default' into integration 2025-10-25 16:48:44 -07:00
J. Nick Koston 22b574992f no zero init pin 2025-10-25 16:47:48 -07:00
clydebarrow 5d170da762 Add instrumentation 2025-10-26 09:45:49 +10:00
J. Nick Koston 5099df00ec missing zero init 2025-10-25 16:36:10 -07:00
J. Nick Koston 6094875ae1 revert 2025-10-25 16:19:35 -07:00
J. Nick Koston 17c32391ae merge 2025-10-25 16:16:53 -07:00
clydebarrow 60d949bf7b WIP 2025-10-26 08:21:06 +10:00
J. Nick Koston a00c9a6861 Merge branch 'integration' into memory_api 2025-10-25 15:05:27 -07:00
J. Nick Koston f100073a84 Merge branch 'usb_memory_order_retry' into integration 2025-10-25 15:05:21 -07:00
J. Nick Koston c18a0f538f preen 2025-10-25 15:05:13 -07:00
J. Nick Koston 4f24448709 Merge branch 'integration' into memory_api 2025-10-25 15:03:11 -07:00
J. Nick Koston 8858ad377b Merge branch 'usb_memory_order_retry' into integration 2025-10-25 15:03:05 -07:00
J. Nick Koston 7e31149584 readable 2025-10-25 15:02:56 -07:00
J. Nick Koston 052f6e6f0f Merge branch 'integration' into memory_api 2025-10-25 14:59:11 -07:00
J. Nick Koston 932b408576 Merge branch 'usb_memory_order_retry' into integration 2025-10-25 14:58:47 -07:00
J. Nick Koston 2c6b9d3826 no race window 2025-10-25 14:56:59 -07:00
J. Nick Koston 527039211e fix off by one 2025-10-25 14:53:48 -07:00
J. Nick Koston d653aa3203 fix off by one 2025-10-25 14:53:38 -07:00
J. Nick Koston 177bdabd38 Merge branch 'integration' into memory_api 2025-10-25 14:44:50 -07:00
J. Nick Koston 8c52badc96 Merge branch 'usb_memory_order_retry' into integration 2025-10-25 14:44:43 -07:00
J. Nick Koston 1ea17607f3 fix race. 2025-10-25 14:44:36 -07:00
J. Nick Koston 4c08a7b86a fix race. 2025-10-25 14:44:25 -07:00
J. Nick Koston 77053c4ffa Merge branch 'integration' into memory_api 2025-10-25 14:39:45 -07:00
J. Nick Koston d45b46341f Merge branch 'usb_memory_order_retry' into integration 2025-10-25 14:39:38 -07:00
J. Nick Koston 6cfca87ca7 safer 2025-10-25 14:39:28 -07:00
J. Nick Koston e2a71b2ea1 Merge branch 'integration' into memory_api 2025-10-25 14:21:17 -07:00
J. Nick Koston 6eb05eaabe Merge branch 'usb_memory_order_retry' into integration 2025-10-25 14:21:08 -07:00
J. Nick Koston 8bd640875f touch ups 2025-10-25 14:20:57 -07:00
J. Nick Koston 1531b3c0d2 Merge branch 'integration' into memory_api 2025-10-25 14:12:28 -07:00
J. Nick Koston 698ee9cfdb Merge branch 'usb_memory_order_retry' into integration 2025-10-25 14:12:21 -07:00
J. Nick Koston 1e17ed8c1e narrow scope 2025-10-25 13:51:29 -07:00
J. Nick Koston d3b4b11302 narrow scope 2025-10-25 13:50:16 -07:00
J. Nick Koston 6ad33a5a52 Merge branch 'integration' into memory_api 2025-10-25 13:46:41 -07:00
J. Nick Koston b3409d8b19 Merge branch 'usb_memory_order_retry' into integration 2025-10-25 13:46:35 -07:00
J. Nick Koston c5ff19d3ab [usb_host] Fix atomic memory ordering in transfer slot allocation 2025-10-25 13:43:53 -07:00
J. Nick Koston 82d76dc7a1 Merge branch 'integration' into memory_api 2025-10-25 11:37:48 -07:00
J. Nick Koston 95df94e7f9 Merge branch 'strftime_overkill' into integration 2025-10-25 11:37:41 -07:00
J. Nick Koston f8bbd8e32a touch ups 2025-10-25 11:35:01 -07:00
J. Nick Koston 1b529c2f74 Merge branch 'strftime_overkill' into memory_api 2025-10-25 11:24:09 -07:00
J. Nick Koston 183e1268d9 Merge branch 'strftime_overkill' into integration 2025-10-25 11:24:03 -07:00
J. Nick Koston ace2fce3a2 [core] Simplify ESPTime::strftime() and save 20 bytes flash 2025-10-25 11:23:23 -07:00
J. Nick Koston 960c80b202 [core] Simplify ESPTime::strftime() and save 20 bytes flash 2025-10-25 11:21:22 -07:00
J. Nick Koston 5861cf37f9 [core] Simplify ESPTime::strftime() and save 20 bytes flash 2025-10-25 11:20:06 -07:00
J. Nick Koston 4375d8ae61 Merge branch 'integration' into memory_api 2025-10-25 11:04:19 -07:00
J. Nick Koston e41abce40e Merge branch 'gpio_inverted_default' into integration 2025-10-25 11:04:12 -07:00
J. Nick Koston 683ea5c568 [gpio] Skip set_inverted() call for default false value 2025-10-25 11:03:44 -07:00
J. Nick Koston 8ea1351285 Merge branch 'integration' into memory_api 2025-10-25 10:51:57 -07:00
J. Nick Koston f7b98f5993 Merge branch 'number_auto_default' into integration 2025-10-25 10:51:50 -07:00
J. Nick Koston 1e220e9803 [number] Skip set_mode call when using default AUTO mode 2025-10-25 10:51:26 -07:00
J. Nick Koston 2fa5ed6029 Merge branch 'integration' into memory_api 2025-10-25 10:42:38 -07:00
J. Nick Koston b0f5eacd74 Merge branch 'initial_option_template_select' into integration 2025-10-25 10:42:33 -07:00
J. Nick Koston f0aa530069 preen 2025-10-25 10:42:20 -07:00
J. Nick Koston 641bcc1dca Merge remote-tracking branch 'origin/initial_option_template_select' into initial_option_template_select 2025-10-25 10:41:06 -07:00
J. Nick Koston 6c9f93fbf8 touch ups 2025-10-25 10:40:05 -07:00
J. Nick Koston d8dc739645 Merge branch 'dev' into initial_option_template_select 2025-10-25 10:35:39 -07:00
J. Nick Koston 386c989b45 Merge branch 'integration' into memory_api 2025-10-25 10:31:45 -07:00
J. Nick Koston bff02daa6c Merge branch 'initial_option_template_select' into integration 2025-10-25 10:31:37 -07:00
J. Nick Koston 3a49103584 touch ups 2025-10-25 10:31:13 -07:00
J. Nick Koston 16130308f9 touch ups 2025-10-25 10:26:53 -07:00
J. Nick Koston 075efbb216 Merge branch 'integration' into memory_api 2025-10-25 00:28:23 -07:00
J. Nick Koston 3d020d5c6f Merge remote-tracking branch 'upstream/dev' into integration 2025-10-25 00:28:15 -07:00
J. Nick Koston b62f620b57 Merge branch 'integration' into memory_api 2025-10-25 00:25:55 -07:00
J. Nick Koston 976fab7488 Merge branch 'select_options_in_flash' into integration 2025-10-25 00:25:41 -07:00
J. Nick Koston 1ea48df6d6 save some bytes 2025-10-24 17:40:56 -07:00
J. Nick Koston 78585ca3f9 Merge branch 'integration' into memory_api 2025-10-24 17:32:52 -07:00
J. Nick Koston e34333353b Merge branch 'sntp_servers_flash' into integration 2025-10-24 17:32:46 -07:00
J. Nick Koston b77db3604f cleanup 2025-10-24 17:32:38 -07:00
J. Nick Koston 875506f2f7 cleanup 2025-10-24 17:30:21 -07:00
J. Nick Koston 7dd1071026 cleanup 2025-10-24 17:30:04 -07:00
J. Nick Koston 9a44f8c14d Merge branch 'integration' into memory_api 2025-10-24 14:39:17 -07:00
J. Nick Koston 7ef23657ab Merge branch 'sntp_servers_flash' into integration 2025-10-24 14:39:09 -07:00
J. Nick Koston 01b1844e9d must still be in ram on 8266 2025-10-24 14:38:46 -07:00
J. Nick Koston 9e798ffa4f must still be in ram on 8266 2025-10-24 14:37:35 -07:00
J. Nick Koston ccdce3508c must still be in ram on 8266 2025-10-24 14:37:29 -07:00
J. Nick Koston 3025d35554 must still be in ram on 8266 2025-10-24 14:37:15 -07:00
J. Nick Koston 2b75eca91f Merge branch 'integration' into memory_api 2025-10-24 14:31:46 -07:00
J. Nick Koston d53c162448 Merge branch 'sntp_servers_flash' into integration 2025-10-24 14:31:37 -07:00
J. Nick Koston 54fb391f13 cleanup 2025-10-24 14:26:17 -07:00
J. Nick Koston 45770811d2 [sntp] Store server strings in flash memory 2025-10-24 14:13:41 -07:00
J. Nick Koston 45c24e9550 [sntp] Store server strings in flash memory 2025-10-24 14:09:59 -07:00
J. Nick Koston 3b750adf29 Merge branch 'integration' into memory_api 2025-10-24 13:41:24 -07:00
J. Nick Koston 7a192cd769 Merge branch 'initial_option_template_select' into integration 2025-10-24 13:41:17 -07:00
J. Nick Koston 7efa1f7641 test 2025-10-24 13:39:06 -07:00
J. Nick Koston 7f06e0bbca [template] Store initial option as index in template select 2025-10-24 13:32:18 -07:00
J. Nick Koston 353caaf4ff touch ups 2025-10-24 09:33:56 -07:00
J. Nick Koston 2e1c8a114a touch ups 2025-10-24 09:33:38 -07:00
J. Nick Koston 2df6a8aa9e Merge branch 'integration' into memory_api 2025-10-24 07:29:26 -07:00
J. Nick Koston 263a368e00 Merge branch 'select_options_in_flash' into integration 2025-10-24 07:29:17 -07:00
J. Nick Koston 44157f1ced tweak 2025-10-24 07:16:40 -07:00
J. Nick Koston b2cded14ec tweak 2025-10-24 06:46:54 -07:00
J. Nick Koston 4135e0b5db fixes 2025-10-24 06:43:03 -07:00
J. Nick Koston 3ae82f6b98 [select] Store options in flash to reduce RAM usage 2025-10-24 04:39:55 -07:00
J. Nick Koston 09f97d86e6 [select] Store options in flash to reduce RAM usage 2025-10-24 04:31:16 -07:00
J. Nick Koston 83e4013a25 [select] Store options in flash to reduce RAM usage 2025-10-24 04:27:41 -07:00
J. Nick Koston 18b12f845d [select] Store options in flash to reduce RAM usage 2025-10-24 04:22:52 -07:00
J. Nick Koston 3d6224d1b1 [select] Store options in flash to reduce RAM usage 2025-10-24 04:22:22 -07:00
J. Nick Koston d27e78e909 [select] Store options in flash to reduce RAM usage 2025-10-24 04:13:34 -07:00
J. Nick Koston 5426f8736b [esphome][ota] Add write_byte_() helper to reduce code duplication 2025-10-23 22:58:09 -07:00
J. Nick Koston a061af8d73 Merge branch 'integration' into memory_api 2025-10-23 22:32:17 -07:00
J. Nick Koston dfce46b33e Merge remote-tracking branch 'upstream/dev' into integration 2025-10-23 22:32:08 -07:00
J. Nick Koston dadf037037 Merge branch 'integration' into memory_api 2025-10-23 11:29:47 -07:00
J. Nick Koston 3379551b3c Merge branch 'fix_ip_dns_mix' into integration 2025-10-23 11:29:41 -07:00
J. Nick Koston 190bd47657 Merge branch 'redundant_setters' into integration 2025-10-23 11:29:33 -07:00
J. Nick Koston c76e446895 tweaks 2025-10-23 11:14:24 -07:00
J. Nick Koston 6dab0b4b49 tweaks 2025-10-23 11:12:57 -07:00
J. Nick Koston 267b715bfa safer 2025-10-23 11:11:45 -07:00
J. Nick Koston 3e6d1d551d tweak 2025-10-23 11:06:09 -07:00
Links2004 8b67b9f35d add unit tests for mixed IP and hostname resolution with proper handling of exceptions
fix up address handling for mixed IP and hostname resolution
2025-10-23 17:54:50 +00:00
Links2004 af321edf80 [core] handle mixed IP and DNS addresses correctly in resolve_ip_address
do not raise error if some addresses are IPs and
the mDNS / DNS resolution fails for others

fix: #11501
2025-10-23 17:15:45 +00:00
J. Nick Koston fdd453e88a fix 2025-10-23 09:02:08 -06:00
J. Nick Koston cce5b58de4 Revert "[tests] Fix millis() ambiguity in component tests with gps component"
This reverts commit f9b08491cc.
2025-10-23 08:19:48 -06:00
J. Nick Koston ba4ce200d8 Merge branch 'qualify_millis_tests_tinygps' into redundant_setters 2025-10-23 06:51:05 -06:00
J. Nick Koston f9b08491cc [tests] Fix millis() ambiguity in component tests with gps component 2025-10-23 06:50:24 -06:00
J. Nick Koston ba3fd5fdb5 Merge branch 'integration' into memory_api 2025-10-22 19:50:57 -10:00
J. Nick Koston 41dab22014 Merge branch 'redundant_setters' into integration 2025-10-22 19:50:50 -10:00
J. Nick Koston b61cc2003f [core][sensor] Eliminate redundant default value setters in generated code 2025-10-22 19:49:27 -10:00
J. Nick Koston 6a009d0945 Merge branch 'integration' into memory_api 2025-10-22 19:21:09 -10:00
J. Nick Koston dd5b840895 Merge branch 'http_request_no_copy' into integration 2025-10-22 19:21:00 -10:00
J. Nick Koston a89511f3ae [http_request] Pass collect_headers by const reference instead of by value 2025-10-22 19:01:21 -10:00
J. Nick Koston f66a526d2e [http_request] Pass collect_headers by const reference instead of by value 2025-10-22 19:00:58 -10:00
J. Nick Koston af428fd7c5 Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-10-22 16:26:03 -10:00
J. Nick Koston d434f0c641 Merge branch 'integration' into memory_api 2025-10-22 16:25:47 -10:00
J. Nick Koston d15dbabae4 Merge branch 'climate_overhead' into integration 2025-10-22 16:25:35 -10:00
J. Nick Koston 6338326d10 use helper to fix flakey test 2025-10-22 16:18:57 -10:00
J. Nick Koston 87c630cf45 Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-10-22 16:14:53 -10:00
J. Nick Koston fe7ebbc33e Merge branch 'integration' into memory_api 2025-10-22 16:14:46 -10:00
J. Nick Koston 19edaf97de Merge branch 'ethernet_pin_validate' into integration 2025-10-22 16:14:41 -10:00
J. Nick Koston ceba2fad15 Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-10-22 16:14:35 -10:00
J. Nick Koston f5b995a454 preen 2025-10-22 16:11:37 -10:00
J. Nick Koston 3112c06f1d handle p4 2025-10-22 16:07:46 -10:00
J. Nick Koston b276bc0867 Merge branch 'dev' into climate_overhead 2025-10-22 15:24:26 -10:00
J. Nick Koston 7a033edbc2 Merge branch 'integration' into memory_api 2025-10-22 15:17:38 -10:00
J. Nick Koston ec93a932ae Merge branch 'ethernet_pin_validate' into integration 2025-10-22 15:17:33 -10:00
J. Nick Koston a050ff6ac3 preen 2025-10-22 15:17:23 -10:00
J. Nick Koston 48643cd2de Merge branch 'integration' into memory_api 2025-10-22 15:09:10 -10:00
J. Nick Koston 8737f5d670 Merge branch 'ethernet_pin_validate' into integration 2025-10-22 15:09:01 -10:00
J. Nick Koston c6de86bfb1 tests 2025-10-22 15:08:12 -10:00
J. Nick Koston 64e3e1ef82 preen 2025-10-22 15:00:36 -10:00
J. Nick Koston 6a2b305eb2 [ethernet] Add RMII GPIO pin conflict validation 2025-10-22 14:57:32 -10:00
J. Nick Koston ae41ae80ca Fix light_call.cpp to use first_value_from_mask instead of first_mode_from_mask
The generic FiniteSetMask uses first_value_from_mask, not first_mode_from_mask.
This aligns with the enum_mask_helper implementation.
2025-10-22 14:33:48 -10:00
J. Nick Koston d8cb5d4aa4 Fix light_traits.h to use correct FiniteSetMask API
- Use count() instead of contains() (std::set compatible API)
- Use has_capability() free function instead of method
- Matches enum_mask_helper implementation
2025-10-22 14:33:02 -10:00
J. Nick Koston 416ce17c92 Merge branch 'climate_overhead' into memory_api 2025-10-22 14:31:45 -10:00
J. Nick Koston 4d86bbda79 Merge branch 'integration' into memory_api 2025-10-22 14:23:17 -10:00
J. Nick Koston 6e8997dcee Merge branch 'fan_fixed' into integration 2025-10-22 14:23:10 -10:00
J. Nick Koston cdbf9682b1 Merge branch 'integration' into memory_api 2025-10-22 14:12:29 -10:00
J. Nick Koston dff7e90d10 Merge branch 'light_effects_rom' into integration 2025-10-22 14:12:23 -10:00
J. Nick Koston c55c031882 missed some 2025-10-22 13:55:44 -10:00
J. Nick Koston 272858dfca [light] Store effect names in flash (const char*) to save RAM 2025-10-22 13:48:23 -10:00
J. Nick Koston 091c12cb48 preen 2025-10-22 13:29:14 -10:00
J. Nick Koston 39b93079e5 simp 2025-10-22 13:26:53 -10:00
J. Nick Koston 93c555ae87 reset 2025-10-22 13:18:14 -10:00
J. Nick Koston 42a7385f98 Merge branch 'integration' into memory_api 2025-10-22 12:32:37 -10:00
J. Nick Koston b5e7e0e442 Merge branch 'light_effects' into integration 2025-10-22 12:32:33 -10:00
J. Nick Koston 977dd9dd34 manual copy 2025-10-22 12:29:23 -10:00
J. Nick Koston fe6f877185 manual copy 2025-10-22 12:28:51 -10:00
J. Nick Koston c7aef0016a manual copy 2025-10-22 12:27:29 -10:00
J. Nick Koston c69e7f4e78 init 2025-10-22 12:25:35 -10:00
J. Nick Koston 6d1ee10742 manual copy 2025-10-22 12:24:47 -10:00
J. Nick Koston 77f97270d6 [light] Use std::initializer_list for add_effects to reduce flash overhead 2025-10-22 12:20:50 -10:00
J. Nick Koston e822aa1e3d Merge branch 'integration' into memory_api 2025-10-22 12:14:08 -10:00
J. Nick Koston 4ed33b5659 Merge branch 'enum_mask_helper' into integration 2025-10-22 12:14:03 -10:00
J. Nick Koston 516889f35e Merge remote-tracking branch 'origin/fan_fixed' into fan_fixed 2025-10-22 12:02:31 -10:00
J. Nick Koston 26e4754673 fixed 2025-10-22 12:02:20 -10:00
J. Nick Koston a3b3032319 Merge branch 'dev' into fan_fixed 2025-10-22 11:56:27 -10:00
J. Nick Koston b0f764a37e fixed 2025-10-22 11:52:15 -10:00
J. Nick Koston 5c7029623e fixed 2025-10-22 11:44:42 -10:00
J. Nick Koston fdb23a2c13 fixed 2025-10-22 11:42:31 -10:00
J. Nick Koston 43bcd98649 fixed 2025-10-22 11:41:15 -10:00
J. Nick Koston 274c0505f7 fixed 2025-10-22 11:38:52 -10:00
J. Nick Koston eaf0a367b4 fixed 2025-10-22 11:37:19 -10:00
J. Nick Koston 657e6f0bce fixed 2025-10-22 11:28:53 -10:00
J. Nick Koston 935acc7d5e fixed 2025-10-22 11:24:12 -10:00
J. Nick Koston acd24402dd reduce scope 2025-10-22 11:16:28 -10:00
J. Nick Koston ac36b97262 reduce scope 2025-10-22 11:16:13 -10:00
J. Nick Koston 828f2addcd Merge remote-tracking branch 'origin/fan_fixed' into fan_fixed 2025-10-22 11:09:23 -10:00
J. Nick Koston f11e8e36b5 missed 2025-10-22 11:09:10 -10:00
J. Nick Koston 788c402cfe Merge branch 'fan_base_tests' into fan_fixed 2025-10-22 11:05:09 -10:00
J. Nick Koston 04d127015c Add basic fan compile tests
baseline for https://github.com/esphome/esphome/pull/11483
2025-10-22 11:04:38 -10:00
J. Nick Koston f559fad4fc [fan] Use FixedVector for preset modes, preserve config order (breaking) 2025-10-22 11:03:32 -10:00
J. Nick Koston f58b90a67c preen 2025-10-22 10:34:44 -10:00
J. Nick Koston 42a86fe333 merge 2025-10-22 10:18:51 -10:00
J. Nick Koston 3dfb2ba70e tidy 2025-10-22 10:18:26 -10:00
J. Nick Koston 771501ccbb Merge branch 'integration' into memory_api 2025-10-22 10:13:54 -10:00
J. Nick Koston 8daab8350c Merge branch 'enum_mask_helper' into integration 2025-10-22 10:13:49 -10:00
J. Nick Koston 1bebdb2c00 fix refactoring error 2025-10-22 10:12:58 -10:00
J. Nick Koston 4c6cd05b7b Merge branch 'integration' into memory_api 2025-10-22 10:08:53 -10:00
J. Nick Koston a4073ffc7b Merge branch 'enum_mask_helper' into integration 2025-10-22 10:08:45 -10:00
J. Nick Koston a284a06916 policy 2025-10-22 10:08:27 -10:00
J. Nick Koston 94809c4687 merge 2025-10-22 10:07:36 -10:00
J. Nick Koston 22070ac78f review feedback 2025-10-22 10:07:16 -10:00
J. Nick Koston 349dc7227e Merge branch 'integration' into memory_api 2025-10-22 09:59:39 -10:00
J. Nick Koston ceb2231a9f Merge branch 'enum_mask_helper' into integration 2025-10-22 09:59:28 -10:00
J. Nick Koston 7c7f1e755d merge 2025-10-22 09:55:10 -10:00
J. Nick Koston bc7cc066a5 backmerge 2025-10-22 09:54:47 -10:00
J. Nick Koston 8e9a438c46 reduce 2025-10-22 09:51:15 -10:00
J. Nick Koston 73944d4077 reduce 2025-10-22 09:48:39 -10:00
J. Nick Koston 56d084bcff reduce 2025-10-22 09:47:31 -10:00
J. Nick Koston ce80baa3c9 reduce 2025-10-22 09:46:13 -10:00
J. Nick Koston d7f32bf27f reduce 2025-10-22 09:44:14 -10:00
pre-commit-ci-lite[bot] a335aa0713 [pre-commit.ci lite] apply automatic fixes 2025-10-22 18:56:11 +00:00
J. Nick Koston 02a8024e94 Update esphome/components/light/color_mode.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-22 08:54:21 -10:00
J. Nick Koston 35afa7ae05 migrate 2025-10-22 08:52:27 -10:00
J. Nick Koston 0572344c08 revert 2025-10-22 08:48:25 -10:00
J. Nick Koston 753662feaa preen 2025-10-22 08:47:18 -10:00
J. Nick Koston daef2a81b7 Merge remote-tracking branch 'upstream/dev' into enum_mask_helper 2025-10-22 08:44:47 -10:00
J. Nick Koston c70a3cf405 feedback 2025-10-22 08:44:08 -10:00
J. Nick Koston 92a812e154 optimize 2025-10-22 08:30:17 -10:00
J. Nick Koston 3fda73bcf2 bot review 2025-10-22 00:05:06 -10:00
J. Nick Koston 0d2eb794c7 Merge branch 'integration' into memory_api 2025-10-21 23:57:40 -10:00
J. Nick Koston 55d7f5e8be Merge branch 'enum_mask_helper' into integration 2025-10-21 23:57:33 -10:00
J. Nick Koston 44c2410017 preen 2025-10-21 22:48:42 -10:00
J. Nick Koston 50eaf522b9 Merge branch 'dev' into enum_mask_helper 2025-10-21 22:48:22 -10:00
J. Nick Koston 7310d75579 minimize changes 2025-10-21 22:39:11 -10:00
J. Nick Koston ae1af5f16e minimize changes 2025-10-21 22:38:44 -10:00
J. Nick Koston 0d256e12a6 [climate] Remove redundant initializer_list overloads from haier and midea
EnumBitmask and std::vector already handle initializer_list via
implicit conversion, so explicit overloads are unnecessary.
2025-10-21 22:37:48 -10:00
J. Nick Koston 0ad42ec79b minimize changes 2025-10-21 22:37:19 -10:00
J. Nick Koston 1eca67bb4c [climate] Remove redundant initializer_list overloads
EnumBitmask already has a constructor that takes initializer_list,
so the explicit overloads are unnecessary and add code duplication.
2025-10-21 22:36:33 -10:00
J. Nick Koston d8e8c2832e minimize changes 2025-10-21 22:34:58 -10:00
J. Nick Koston 55d1b823e8 minimize changes 2025-10-21 22:34:45 -10:00
J. Nick Koston 2debf04a48 [climate] Use std::set API for EnumBitmask
- Change .add() to .insert()
- Change .remove() to .erase()
- Change .contains() to .count() > 0
- Consistent with std::set API
2025-10-21 22:32:58 -10:00
J. Nick Koston e9e6b9ddf9 minimize changes 2025-10-21 22:32:36 -10:00
J. Nick Koston 7eff1c31fd adjust 2025-10-21 22:30:27 -10:00
J. Nick Koston 9d1ceba18f [core] Use std::set API for EnumBitmask
- Replace .contains()/.add()/.remove() with .count()/.insert()/.erase()
- Makes EnumBitmask a true drop-in replacement for std::set
- Update all usages in light component
2025-10-21 22:28:59 -10:00
J. Nick Koston f8f967b25c wi 2025-10-21 22:25:57 -10:00
J. Nick Koston 1119b4e11e [core] Add std::set compatibility aliases to EnumBitmask
- Add insert() as alias for add()
- Add erase() as alias for remove()
- Add count() as alias for contains()
- Makes EnumBitmask a true drop-in replacement for std::set
- Update documentation to reflect compatibility
2025-10-21 22:23:37 -10:00
J. Nick Koston c6711fc354 adjust 2025-10-21 22:19:07 -10:00
J. Nick Koston 8fd3719f38 merge 2025-10-21 22:10:09 -10:00
J. Nick Koston 15d4e30df2 merge 2025-10-21 22:04:46 -10:00
J. Nick Koston 960e6da4f7 [gree] Use EnumBitmask add() instead of insert() for climate traits 2025-10-21 22:02:53 -10:00
J. Nick Koston 4dba685898 merge 2025-10-21 22:01:39 -10:00
J. Nick Koston 379d76b397 Merge branch 'enum_mask_helper' into climate_overhead 2025-10-21 22:01:27 -10:00
J. Nick Koston 777e73fd04 Extract ColorModeMask into EnumBitmask helper 2025-10-21 21:54:44 -10:00
J. Nick Koston d3927fe33f fix compile 2025-10-21 17:35:24 -10:00
J. Nick Koston f7a4578390 fix compile 2025-10-21 17:27:01 -10:00
J. Nick Koston f3bf25d203 fix compile 2025-10-21 17:25:20 -10:00
J. Nick Koston bbce28c18d fix compile 2025-10-21 17:21:59 -10:00
J. Nick Koston dfa51a5137 merge 2025-10-21 17:16:04 -10:00
J. Nick Koston a59fdd8e04 wip 2025-10-21 16:58:15 -10:00
J. Nick Koston bc296d05fb wip 2025-10-21 16:57:18 -10:00
J. Nick Koston 46afd21738 Merge branch 'integration' into memory_api 2025-10-21 15:58:37 -10:00
J. Nick Koston 740a66a4c0 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-21 15:58:30 -10:00
J. Nick Koston f562454f8e Merge branch 'integration' into memory_api 2025-10-21 14:17:00 -10:00
J. Nick Koston ad2e6d1454 Merge branch 'event_types' into integration 2025-10-21 14:16:55 -10:00
J. Nick Koston ece0619070 [event] Replace std::set with FixedVector for event type storage 2025-10-21 14:05:43 -10:00
J. Nick Koston 033325d354 Merge branch 'integration' into memory_api 2025-10-21 13:45:01 -10:00
J. Nick Koston 73a3665b86 Merge branch 'wifi_sta_fixed' into integration 2025-10-21 13:44:55 -10:00
J. Nick Koston 35f3c6b098 preen 2025-10-21 13:44:46 -10:00
J. Nick Koston f9fe2d21e5 tweaks 2025-10-21 13:25:51 -10:00
J. Nick Koston 0bde964441 Merge branch 'integration' into memory_api 2025-10-21 13:12:20 -10:00
J. Nick Koston 753e011d73 Merge branch 'wifi_sta_fixed' into integration 2025-10-21 13:12:12 -10:00
J. Nick Koston 9b1ac8f83d Merge branch 'wifi_multi_sta_tests' into wifi_sta_fixed 2025-10-21 12:26:12 -10:00
J. Nick Koston d79af2d0e9 Merge branch 'dev' into wifi_multi_sta_tests 2025-10-21 12:25:57 -10:00
J. Nick Koston f15da08acc Merge branch 'wifi_multi_sta_tests' into wifi_sta_fixed 2025-10-21 12:17:51 -10:00
J. Nick Koston 3f76a67c65 [wifi] Test multiple stas in wifi compile tests 2025-10-21 12:17:16 -10:00
J. Nick Koston 02e1ed2130 multiple networks 2025-10-21 11:57:06 -10:00
J. Nick Koston 2948264917 try to avoid some of the ram 2025-10-21 11:46:30 -10:00
J. Nick Koston 660411ac42 try to avoid some of the ram 2025-10-21 11:44:56 -10:00
J. Nick Koston 88e3f02c9c try to avoid some of the ram 2025-10-21 11:40:48 -10:00
J. Nick Koston f3f419077b [wifi] Optimize WiFi network storage with FixedVector 2025-10-21 11:29:27 -10:00
J. Nick Koston fead1a8c22 Merge branch 'integration' into memory_api 2025-10-21 11:16:06 -10:00
J. Nick Koston ec08579eab Merge branch 'light_fixed' into integration 2025-10-21 11:15:46 -10:00
J. Nick Koston 805b5aef20 Merge branch 'binary_sensor_multi_click_fixed_vector' into integration 2025-10-21 11:15:38 -10:00
J. Nick Koston d6961610c7 [light] Replace std::vector with FixedVector in strobe and color_wipe effects 2025-10-21 11:10:02 -10:00
J. Nick Koston 9e693335b6 [binary_sensor] Optimize MultiClickTrigger with FixedVector 2025-10-21 10:50:33 -10:00
J. Nick Koston c47d9345ea Merge branch 'integration' into memory_api 2025-10-20 23:38:37 -10:00
J. Nick Koston e7e96abcba Merge branch 'gpio_switch_fixed_vector' into integration 2025-10-20 23:38:26 -10:00
J. Nick Koston 8f4cb740f3 Merge branch 'gpio_switch_interlock_tests' into integration 2025-10-20 23:38:18 -10:00
J. Nick Koston 53d0f589ba Add gpio switch interlock compile tests 2025-10-20 23:34:16 -10:00
J. Nick Koston 245f083a5c Add gpio switch interlock compile tests 2025-10-20 23:29:15 -10:00
J. Nick Koston f9f0d895f7 [gpio] Optimize switch interlock with FixedVector 2025-10-20 23:28:23 -10:00
kbx81 ddef1f9ecd fix 2025-10-21 03:55:22 -05:00
J. Nick Koston 811cd4582e Merge branch 'integration' into memory_api 2025-10-20 22:49:57 -10:00
J. Nick Koston c88861d6ba Merge branch 'remove_climate_temp_vectors' into integration 2025-10-20 22:49:49 -10:00
J. Nick Koston 51678fe4a4 [climate] Remove unnecessary vector allocations in state save/restore 2025-10-20 22:36:10 -10:00
kbx81 27714e052c fix 2025-10-21 03:30:41 -05:00
J. Nick Koston c2c55ac648 Merge branch 'integration' into memory_api 2025-10-20 22:23:39 -10:00
J. Nick Koston f1f1017cce Merge branch 'auto_repeat_fixed' into integration 2025-10-20 22:23:33 -10:00
J. Nick Koston 4bb4a309e7 [binary_sensor] Optimize AutorepeatFilter with FixedVector 2025-10-20 22:09:46 -10:00
J. Nick Koston 375adbb86f [binary_sensor] Optimize AutorepeatFilter with FixedVector 2025-10-20 22:09:22 -10:00
J. Nick Koston 5b13814a9e Merge branch 'integration' into memory_api 2025-10-20 21:58:42 -10:00
J. Nick Koston 71af6dbb04 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-20 21:58:30 -10:00
J. Nick Koston 110f23caff fix 2025-10-20 21:34:14 -10:00
kbx81 17bba92111 Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-10-21 02:32:41 -05:00
J. Nick Koston faff196f1b Merge branch 'integration' into memory_api 2025-10-20 21:25:34 -10:00
J. Nick Koston e3c3acebde Merge branch 'disable_unused_vfs_esp32' into integration 2025-10-20 21:25:28 -10:00
J. Nick Koston abcb2ce4e7 conditional 2025-10-20 21:17:48 -10:00
J. Nick Koston c3fbfca844 conditional 2025-10-20 21:15:23 -10:00
J. Nick Koston 888db4c784 Merge branch 'integration' into memory_api 2025-10-20 20:59:26 -10:00
J. Nick Koston b2fe8bb25d Merge branch 'disable_unused_vfs_esp32' into integration 2025-10-20 20:59:18 -10:00
J. Nick Koston 572af76bee [esp32] Add advanced options to disable unused VFS features (saves ~5 KB flash) 2025-10-20 20:49:12 -10:00
J. Nick Koston 45460c3165 Merge branch 'integration' into memory_api 2025-10-20 20:25:25 -10:00
J. Nick Koston 3533ff50bd Merge branch 'improve_analyze_memory_symbols' into integration 2025-10-20 20:25:05 -10:00
J. Nick Koston bc572aeec5 preen 2025-10-20 20:21:27 -10:00
J. Nick Koston c6370bb410 more cleanup 2025-10-20 20:17:40 -10:00
J. Nick Koston b006f03080 more cleanup 2025-10-20 20:17:40 -10:00
J. Nick Koston 226d9a4796 more cleanup 2025-10-20 20:17:39 -10:00
J. Nick Koston b9efaabdf0 more cleanup 2025-10-20 20:15:12 -10:00
J. Nick Koston 5b4e50d279 more cleanup 2025-10-20 20:13:20 -10:00
J. Nick Koston 8c115ab07b more cleanup 2025-10-20 20:12:51 -10:00
J. Nick Koston ed94822174 Merge branch 'integration' into memory_api 2025-10-20 19:21:50 -10:00
J. Nick Koston d36d695024 Merge remote-tracking branch 'upstream/esphome_missed' into integration 2025-10-20 19:21:43 -10:00
J. Nick Koston f7bcf87213 more filter cleanups 2025-10-20 19:13:20 -10:00
J. Nick Koston 9ee0e20aa8 [espnow] Fix compilation error with initializer_list after #11433 2025-10-20 19:11:16 -10:00
J. Nick Koston 1808d43fce Merge branch 'integration' into memory_api 2025-10-20 18:47:01 -10:00
J. Nick Koston 3ccc1aea03 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-20 18:46:44 -10:00
J. Nick Koston ec7c3add9b Merge branch 'integration' into memory_api 2025-10-20 17:07:00 -10:00
J. Nick Koston e2da893bf3 Merge branch 'automations_init' into integration 2025-10-20 17:06:54 -10:00
J. Nick Koston 6fe533eddb [core] Optimize automation actions memory usage with std::initializer_list 2025-10-20 17:04:32 -10:00
J. Nick Koston fe0b2daec1 Merge branch 'integration' into memory_api 2025-10-20 15:34:39 -10:00
J. Nick Koston b6f8f2ac8d Merge branch 'sensor_init_cleanup' into integration 2025-10-20 15:34:33 -10:00
J. Nick Koston 1758008b91 Merge branch 'esp8266_size_testing_mode' into integration 2025-10-20 15:34:26 -10:00
J. Nick Koston c2147a57f1 bot review 2025-10-20 15:30:04 -10:00
J. Nick Koston 4e629dfd89 wip 2025-10-20 15:21:40 -10:00
J. Nick Koston 09951d190c wip 2025-10-20 15:21:11 -10:00
J. Nick Koston 6a042188c1 wip 2025-10-20 15:19:40 -10:00
J. Nick Koston 5bd7342ff4 wip 2025-10-20 15:19:06 -10:00
J. Nick Koston ce6d0cd846 tweak 2025-10-20 15:17:49 -10:00
J. Nick Koston 5b56807329 wip 2025-10-20 15:11:43 -10:00
J. Nick Koston 3847989c0f wip 2025-10-20 15:10:49 -10:00
J. Nick Koston b698b45809 [sensor,text_sensor,binary_sensor] Optimize filter parameters with std::initializer_list 2025-10-20 14:11:49 -10:00
J. Nick Koston a91fe2c4c3 Merge branch 'integration' into memory_api 2025-10-20 13:39:58 -10:00
J. Nick Koston 0daeb0ae34 Merge branch 'text_sensor_filters' into integration 2025-10-20 13:39:53 -10:00
J. Nick Koston 54b925e325 Merge remote-tracking branch 'upstream/text_sensor_filters' into text_sensor_filters 2025-10-20 13:27:51 -10:00
J. Nick Koston 6c8c049c08 dry 2025-10-20 13:27:36 -10:00
J. Nick Koston aa7da775f1 Merge branch 'text_sensor_tests' into text_sensor_filters 2025-10-20 13:01:02 -10:00
J. Nick Koston d13b50077f Add basic text_sensor tests 2025-10-20 13:00:15 -10:00
J. Nick Koston c34a57df7b text_sensor filters 2025-10-20 12:48:27 -10:00
J. Nick Koston e7ba19b3ea Merge branch 'integration' into memory_api 2025-10-19 12:53:45 -10:00
J. Nick Koston 0dc08941f4 Merge branch 'dev' into integration 2025-10-19 12:53:31 -10:00
J. Nick Koston 82f7b7f0d5 debug 2025-10-19 09:41:04 -10:00
J. Nick Koston db5c78acb9 preen 2025-10-19 09:36:55 -10:00
J. Nick Koston 0b45e1d608 Merge branch 'integration' into memory_api 2025-10-19 09:36:02 -10:00
J. Nick Koston aa6b7664f4 Merge branch 'dev' into integration 2025-10-19 09:35:53 -10:00
J. Nick Koston 453a668cfb Merge branch 'integration' into memory_api 2025-10-19 08:46:39 -10:00
J. Nick Koston 4e234c354b Merge branch 'max_socket_listen' into integration 2025-10-19 08:46:32 -10:00
J. Nick Koston 4fa908d0b8 preen 2025-10-19 08:43:30 -10:00
J. Nick Koston 148a78aa01 preen 2025-10-19 08:41:21 -10:00
J. Nick Koston 7107f5d984 preen 2025-10-19 08:40:01 -10:00
J. Nick Koston 55473991a9 preen 2025-10-19 08:37:43 -10:00
J. Nick Koston 1586a185a0 [esp32] Automatic CONFIG_LWIP_MAX_SOCKETS configuration based on component needs 2025-10-19 08:34:38 -10:00
J. Nick Koston ae0c3875fc Merge branch 'integration' into memory_api 2025-10-19 08:02:39 -10:00
J. Nick Koston a0bd7d100b Merge remote-tracking branch 'upstream/dev' into integration 2025-10-19 08:02:33 -10:00
J. Nick Koston c3b652b977 Merge branch 'integration' into memory_api 2025-10-18 22:43:58 -10:00
J. Nick Koston 4de6bf9d3d Merge branch 'unbound_queued_script_fix' into integration 2025-10-18 22:43:36 -10:00
J. Nick Koston 428240d538 Merge branch 'min_filter_ring_buffer' into integration 2025-10-18 22:43:27 -10:00
J. Nick Koston 3da9139db4 Merge branch 'ci_impact_analysis' into integration 2025-10-18 22:43:24 -10:00
J. Nick Koston 504c2b9dfd Merge branch 'ci_impact_analysis' into memory_api 2025-10-18 22:43:09 -10:00
J. Nick Koston 314fe77b8d Merge branch 'min_filter_ring_buffer' into memory_api 2025-10-18 22:42:55 -10:00
J. Nick Koston 8686d05d05 Merge branch 'unbound_queued_script_fix' into memory_api 2025-10-18 22:42:50 -10:00
J. Nick Koston be3dacfe64 Merge branch 'mqtt_reduce_json_assign' into memory_api 2025-10-18 22:42:45 -10:00
J. Nick Koston 3f7e22e271 Merge branch 'integration' into memory_api 2025-10-18 22:24:32 -10:00
J. Nick Koston 714fafff4c Merge remote-tracking branch 'upstream/dev' into integration 2025-10-18 22:24:24 -10:00
J. Nick Koston a28b85c3fa Merge branch 'dev' of https://github.com/esphome/esphome into memory_api 2025-10-18 22:23:32 -10:00
J. Nick Koston 1010006b5e Merge branch 'dev' into mqtt_reduce_json_assign 2025-10-18 22:16:33 -10:00
J. Nick Koston 9fc3ad1fa5 bot 2025-10-18 22:16:09 -10:00
J. Nick Koston 70479dec0d suggestions 2025-10-18 21:57:19 -10:00
J. Nick Koston acdecafeef suggestions 2025-10-18 21:55:25 -10:00
J. Nick Koston bf40bc3b25 Merge remote-tracking branch 'upstream/unbound_queued_script_fix' into unbound_queued_script_fix 2025-10-18 21:54:27 -10:00
J. Nick Koston 32a1e45842 suggestions 2025-10-18 21:54:20 -10:00
J. Nick Koston 498dece382 suggestions 2025-10-18 21:54:05 -10:00
pre-commit-ci-lite[bot] e0477e3bb1 [pre-commit.ci lite] apply automatic fixes 2025-10-19 07:53:21 +00:00
J. Nick Koston 7bb222a574 Update esphome/components/script/script.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-18 21:51:51 -10:00
J. Nick Koston 9a3b5ec090 Merge remote-tracking branch 'upstream/dev' into min_filter_ring_buffer 2025-10-18 21:49:13 -10:00
J. Nick Koston f5e5f4ef06 preen 2025-10-18 21:47:03 -10:00
J. Nick Koston 8d338610a9 Merge remote-tracking branch 'upstream/unbound_queued_script_fix' into unbound_queued_script_fix 2025-10-18 21:45:16 -10:00
J. Nick Koston 0e513b41e4 preen 2025-10-18 21:45:02 -10:00
J. Nick Koston f7ebef83f2 Merge branch 'dev' into unbound_queued_script_fix 2025-10-18 21:34:51 -10:00
J. Nick Koston f387d9ec50 unique ptr 2025-10-18 21:33:38 -10:00
J. Nick Koston fc2c55b642 Merge branch 'integration' into memory_api 2025-10-18 21:26:22 -10:00
J. Nick Koston fd0384eec4 Merge branch 'esp32_mdns_fixed_vector' into integration 2025-10-18 21:26:12 -10:00
J. Nick Koston 13292809a2 Merge branch 'dev' into esp32_mdns_fixed_vector 2025-10-18 21:22:50 -10:00
J. Nick Koston f036e894c8 adjust 2025-10-18 21:18:11 -10:00
J. Nick Koston 0a17893686 Merge remote-tracking branch 'upstream/ci_impact_analysis' into ci_impact_analysis 2025-10-18 21:08:39 -10:00
J. Nick Koston 7dd7a23977 Merge remote-tracking branch 'upstream/dev' into ci_impact_analysis 2025-10-18 21:08:26 -10:00
J. Nick Koston cfcc6e22e0 Merge branch 'integration' into memory_api 2025-10-18 21:01:21 -10:00
J. Nick Koston 4ea4359553 Merge branch 'wifi_no_vector_for_simple_array' into integration 2025-10-18 21:01:12 -10:00
J. Nick Koston 53d7b4f433 [wifi] Replace std::vector with std::unique_ptr for WiFi scan buffer 2025-10-18 21:00:45 -10:00
J. Nick Koston e52eeb528d Merge branch 'integration' into memory_api 2025-10-18 20:45:19 -10:00
J. Nick Koston 61adb2545e Merge branch 'esp32_mdns_fixed_vector' into integration 2025-10-18 20:45:01 -10:00
J. Nick Koston 6d1288c806 [mdns] Use FixedVector for TXT records to reduce ESP32 flash usage 2025-10-18 20:44:36 -10:00
J. Nick Koston c8b2cf1ceb Merge branch 'integration' into memory_api 2025-10-18 20:21:22 -10:00
J. Nick Koston 4b6384c63b Merge branch 'get_connection_single_loop' into integration 2025-10-18 20:21:16 -10:00
J. Nick Koston 071bdfa67f [bluetooth_proxy] Merge duplicate loops in get_connection_() 2025-10-18 20:20:51 -10:00
J. Nick Koston a236f1c6d1 Merge branch 'integration' into memory_api 2025-10-18 20:05:56 -10:00
J. Nick Koston d600cbf42a Merge branch 'esp32_ble_client_dupe_mac_build' into integration 2025-10-18 20:05:49 -10:00
J. Nick Koston b378038253 [esp32_ble_client] Remove duplicate MAC address extraction in set_address() 2025-10-18 20:05:22 -10:00
J. Nick Koston d695c99dbe Merge branch 'integration' into memory_api 2025-10-18 19:50:34 -10:00
J. Nick Koston b230551bb3 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-18 19:50:26 -10:00
J. Nick Koston 48718ffe06 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-18 16:56:40 -10:00
J. Nick Koston 84b69a5766 Merge branch 'dev' into ci_impact_analysis 2025-10-18 15:12:46 -10:00
J. Nick Koston eb45427d07 Merge branch 'integration' into memory_api 2025-10-18 14:58:13 -10:00
J. Nick Koston d817461f11 Merge branch 'light_bitmask' into integration 2025-10-18 14:58:06 -10:00
J. Nick Koston f7d52a342b review comments 2025-10-18 14:42:12 -10:00
J. Nick Koston 76ad649bf9 review comments 2025-10-18 14:41:59 -10:00
J. Nick Koston 35f8dc528d Merge branch 'integration' into memory_api 2025-10-18 14:26:11 -10:00
J. Nick Koston d0fa64e419 Merge branch 'light_bitmask' into integration 2025-10-18 14:26:06 -10:00
J. Nick Koston 437dd503ca more cover 2025-10-18 14:21:52 -10:00
J. Nick Koston 1381db37ad preen 2025-10-18 14:18:17 -10:00
J. Nick Koston 32eb43fd02 preen 2025-10-18 14:14:48 -10:00
J. Nick Koston 764428870d reduce diff 2025-10-18 14:11:23 -10:00
J. Nick Koston f2d01ecd6c dry 2025-10-18 13:58:52 -10:00
J. Nick Koston f1086b13af Merge branch 'dev' into light_bitmask 2025-10-18 13:53:38 -10:00
J. Nick Koston 2cdfd04204 dry 2025-10-18 13:53:05 -10:00
J. Nick Koston a249c9c282 preen 2025-10-18 13:46:49 -10:00
J. Nick Koston 8545b5231b preen 2025-10-18 13:38:45 -10:00
J. Nick Koston 1c8b60891c simplify 2025-10-18 13:32:48 -10:00
J. Nick Koston 44d3f355a5 overkill 2025-10-18 13:16:52 -10:00
J. Nick Koston cc6b798f2b overkill 2025-10-18 13:15:47 -10:00
J. Nick Koston 80fd51e198 preen 2025-10-18 13:14:05 -10:00
J. Nick Koston ec8d8538f6 preen 2025-10-18 13:12:48 -10:00
J. Nick Koston 89c719d71d preen 2025-10-18 13:10:41 -10:00
J. Nick Koston 89903929f3 preen 2025-10-18 13:05:59 -10:00
J. Nick Koston 3ef402ef64 cover 2025-10-18 12:38:02 -10:00
J. Nick Koston e7bc2b0a44 Merge branch 'light_bitmask' into memory_api 2025-10-18 12:35:33 -10:00
J. Nick Koston e27472b87d fixes 2025-10-18 12:35:13 -10:00
J. Nick Koston f3c1733662 Merge branch 'integration' into memory_api 2025-10-18 12:07:32 -10:00
J. Nick Koston f3777b6171 Merge branch 'light_bitmask' into integration 2025-10-18 12:07:19 -10:00
J. Nick Koston 753bebdde8 fix 2025-10-18 12:02:52 -10:00
J. Nick Koston f88cc33cfc fix 2025-10-18 12:01:57 -10:00
J. Nick Koston 02b626ae1a fix 2025-10-18 12:00:29 -10:00
J. Nick Koston 94414e767c Merge remote-tracking branch 'origin/light_bitmask' into light_bitmask 2025-10-18 11:56:57 -10:00
J. Nick Koston ef52ce4d76 [api_protobuf] Address copilot review: add bounds checking and clarify 32-bit loop intent
- Add bounds checking in decode_varint_content to prevent undefined behavior if decoded enum value exceeds 31
- Add clarifying comments that 32-bit loops in encode_content and get_size_calculation are intentional to support the full range of enum_as_bitmask (enums with up to 32 values)
- The uint32_t storage type supports general-purpose enum_as_bitmask, not just ColorMode's 10 values
2025-10-18 11:56:40 -10:00
J. Nick Koston 018e28a137 Merge branch 'dev' into light_bitmask 2025-10-18 11:48:38 -10:00
J. Nick Koston efc98e9a2c Merge branch 'integration' into memory_api 2025-10-18 11:10:35 -10:00
J. Nick Koston 6632cfc177 Merge branch 'light_bitmask' into integration 2025-10-18 11:10:10 -10:00
J. Nick Koston 27b876df93 preen 2025-10-18 10:52:42 -10:00
J. Nick Koston 596ce59991 dead code 2025-10-18 10:42:51 -10:00
J. Nick Koston 13e9d0c851 fix 2025-10-18 10:41:52 -10:00
J. Nick Koston a0008d6f44 fix 2025-10-18 10:41:37 -10:00
J. Nick Koston bb03d73106 Merge branch 'integration' into memory_api 2025-10-18 10:36:13 -10:00
J. Nick Koston 654dd64850 Merge branch 'light_bitmask' into integration 2025-10-18 10:36:08 -10:00
J. Nick Koston 98df9fd2ff preen 2025-10-18 10:32:20 -10:00
J. Nick Koston cfb061abc4 preen 2025-10-18 10:29:08 -10:00
J. Nick Koston 957b5e98a7 comment 2025-10-18 10:18:34 -10:00
J. Nick Koston 599e636468 comment 2025-10-18 10:17:52 -10:00
J. Nick Koston 2dc6c56edc align 2025-10-18 10:15:32 -10:00
J. Nick Koston c0c30ba22d tweak 2025-10-18 10:02:45 -10:00
J. Nick Koston b01ab914f3 tweak 2025-10-18 10:01:39 -10:00
J. Nick Koston c76e386a79 no vector 2025-10-18 09:59:24 -10:00
J. Nick Koston 6a96e0ee90 [light] Use bitmask instead of std::set for color modes 2025-10-18 09:38:37 -10:00
J. Nick Koston 455e8bb059 Merge branch 'dev' into min_filter_ring_buffer 2025-10-18 06:47:44 -10:00
J. Nick Koston 5ad22620c9 [mqtt] Reduce flash usage by optimizing ArduinoJson assignments 2025-10-17 23:35:52 -10:00
J. Nick Koston e200f82d7a fixes 2025-10-17 21:48:03 -10:00
J. Nick Koston d18a0888e9 Merge branch 'integration' into memory_api 2025-10-17 21:44:48 -10:00
J. Nick Koston f2a63a7a56 Merge branch 'ci_impact_analysis' into integration
Resolved conflict in esphome/platformio_api.py:
- Kept refactored objdump_path and readelf_path from ci_impact_analysis
- Preserved analyze_memory_usage function from integration branch
2025-10-17 21:44:21 -10:00
J. Nick Koston 4dd1f51246 Merge branch 'integration' into memory_api 2025-10-17 21:41:47 -10:00
J. Nick Koston 74c9d0586a Merge branch 'min_filter_ring_buffer' into integration 2025-10-17 21:41:40 -10:00
J. Nick Koston fd32f6930e Merge remote-tracking branch 'upstream/dev' into min_filter_ring_buffer 2025-10-17 21:04:24 -10:00
J. Nick Koston b4ae85cf0f cleanup sorting 2025-10-17 21:03:51 -10:00
J. Nick Koston 7f38987c60 Merge branch 'integration' into memory_api 2025-10-17 19:24:31 -10:00
J. Nick Koston d13ca46a30 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-17 19:24:23 -10:00
J. Nick Koston e70cb098ae whitespace 2025-10-17 18:50:07 -10:00
J. Nick Koston 7f2d8a2c11 whitespace 2025-10-17 18:46:41 -10:00
J. Nick Koston 4f4da1de22 preen 2025-10-17 18:41:12 -10:00
J. Nick Koston f9807db08a preen 2025-10-17 18:37:24 -10:00
J. Nick Koston 541fb8b27c update test 2025-10-17 18:32:22 -10:00
J. Nick Koston 85e0a4fbf9 update test 2025-10-17 18:29:36 -10:00
J. Nick Koston 7e54803ede update test 2025-10-17 18:25:41 -10:00
J. Nick Koston a078486a87 update test 2025-10-17 18:21:28 -10:00
J. Nick Koston ba18bb6a4f template all the things 2025-10-17 18:18:15 -10:00
J. Nick Koston 07ad32968e template all the things 2025-10-17 18:15:46 -10:00
J. Nick Koston 0b077bdfc6 preen 2025-10-17 18:08:52 -10:00
J. Nick Koston 1f00617738 Merge remote-tracking branch 'upstream/ci_impact_analysis' into ci_impact_analysis 2025-10-17 18:06:44 -10:00
J. Nick Koston 9cf1fd24fd preen 2025-10-17 18:06:13 -10:00
pre-commit-ci-lite[bot] bbd636a8cc [pre-commit.ci lite] apply automatic fixes 2025-10-18 03:59:23 +00:00
J. Nick Koston 322dc530a9 Merge remote-tracking branch 'origin/ci_impact_analysis' into ci_impact_analysis 2025-10-17 17:58:05 -10:00
J. Nick Koston 0b09e50685 preen 2025-10-17 17:57:42 -10:00
J. Nick Koston a96cc5e6f2 Update esphome/analyze_memory/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 17:57:33 -10:00
J. Nick Koston 9a4288d81a Update script/determine-jobs.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 17:56:41 -10:00
J. Nick Koston b95999aca7 Update esphome/analyze_memory/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 17:55:37 -10:00
J. Nick Koston c70937ed01 dry 2025-10-17 17:55:05 -10:00
J. Nick Koston 3151606d50 Merge branch 'dev' into ci_impact_analysis 2025-10-17 17:47:36 -10:00
J. Nick Koston 5080698c3a no memory when tatget branch does not have 2025-10-17 17:34:16 -10:00
J. Nick Koston 931e3f80f0 no memory when tatget branch does not have 2025-10-17 17:25:14 -10:00
J. Nick Koston cd93f7f55a tweak 2025-10-17 17:13:24 -10:00
J. Nick Koston d98b00f56d tweak 2025-10-17 17:10:28 -10:00
J. Nick Koston 8fd43f1d96 tweak 2025-10-17 17:09:05 -10:00
J. Nick Koston 0475ec5533 preen 2025-10-17 17:01:20 -10:00
J. Nick Koston 6fe5a0c736 preen 2025-10-17 16:44:38 -10:00
J. Nick Koston 1ec9383abe preen 2025-10-17 16:39:10 -10:00
J. Nick Koston 5e1ee92754 add tests 2025-10-17 16:34:25 -10:00
J. Nick Koston 558d4eb9dd preen 2025-10-17 16:19:50 -10:00
J. Nick Koston c6ecfd0c55 esp32 only platforms 2025-10-17 16:15:46 -10:00
J. Nick Koston 3b8b2c0754 esp32 only platforms 2025-10-17 16:13:30 -10:00
J. Nick Koston f5d69a2539 esp32 only platforms 2025-10-17 16:11:28 -10:00
J. Nick Koston 29b9073d62 esp32 only platforms 2025-10-17 16:08:16 -10:00
J. Nick Koston a45e94cd06 preen 2025-10-17 16:02:08 -10:00
J. Nick Koston 71f2fb8353 preen 2025-10-17 15:56:13 -10:00
J. Nick Koston 0fcae15c25 preen 2025-10-17 15:53:03 -10:00
J. Nick Koston a1d6bac21a preen 2025-10-17 15:44:36 -10:00
J. Nick Koston db69ce24ae fix 2025-10-17 15:41:20 -10:00
J. Nick Koston 293400ee14 fix 2025-10-17 15:35:51 -10:00
J. Nick Koston 57bf3f968f fix 2025-10-17 15:34:17 -10:00
J. Nick Koston 922c2bcd5a fix 2025-10-17 15:26:55 -10:00
J. Nick Koston 5e9b972831 fix 2025-10-17 15:24:49 -10:00
J. Nick Koston 3bc0041b94 fix 2025-10-17 15:22:06 -10:00
J. Nick Koston daa03e5b3c fix 2025-10-17 15:17:28 -10:00
J. Nick Koston 62ce39e430 fix 2025-10-17 15:17:15 -10:00
J. Nick Koston a9e5e4d6d2 tweak 2025-10-17 15:14:00 -10:00
J. Nick Koston 95a0c9594f tweak 2025-10-17 15:12:36 -10:00
J. Nick Koston 8762d7cf0e Merge remote-tracking branch 'upstream/dev' into ci_impact_analysis 2025-10-17 15:06:15 -10:00
J. Nick Koston 84316d62f9 tweak 2025-10-17 15:04:19 -10:00
J. Nick Koston e1e047c53f tweak 2025-10-17 15:02:09 -10:00
J. Nick Koston b0ada914bc tweak 2025-10-17 14:57:45 -10:00
J. Nick Koston e2101f5a20 tweak 2025-10-17 14:52:07 -10:00
J. Nick Koston f87c969b43 tweak 2025-10-17 14:40:45 -10:00
J. Nick Koston f011c44130 merge 2025-10-17 14:26:44 -10:00
J. Nick Koston 843f590db4 fix 2025-10-17 14:13:25 -10:00
J. Nick Koston 2c86ebaf7f merge 2025-10-17 14:10:23 -10:00
J. Nick Koston 25fe4a1476 merge 2025-10-17 14:09:08 -10:00
J. Nick Koston 86c12079b4 merge 2025-10-17 14:05:24 -10:00
J. Nick Koston 79aafe2cd5 merge 2025-10-17 14:01:21 -10:00
J. Nick Koston a5d6e39b2f merge 2025-10-17 14:01:07 -10:00
J. Nick Koston a78a7dfa4e merge 2025-10-17 13:58:59 -10:00
J. Nick Koston 7879df4dd1 merge 2025-10-17 13:57:57 -10:00
J. Nick Koston 43c62297e8 merge 2025-10-17 13:56:31 -10:00
J. Nick Koston 5049c7227d reduce 2025-10-17 13:50:15 -10:00
J. Nick Koston 256d3b119b relo 2025-10-17 13:44:30 -10:00
J. Nick Koston 6d2c700c43 relo 2025-10-17 13:43:05 -10:00
J. Nick Koston 9d081795e8 relo 2025-10-17 13:41:55 -10:00
J. Nick Koston 59848a2c8a tweak 2025-10-17 13:31:04 -10:00
J. Nick Koston c7c408e667 tweak 2025-10-17 13:28:13 -10:00
J. Nick Koston acfa325f23 merge 2025-10-17 13:22:01 -10:00
J. Nick Koston cb97271704 Merge remote-tracking branch 'upstream/dev' into ci_impact_analysis 2025-10-17 13:19:47 -10:00
J. Nick Koston 54163bb520 Merge branch 'integration' into memory_api 2025-10-17 12:39:47 -10:00
J. Nick Koston fe2e598cfb Merge branch 'wifi_in_place' into integration 2025-10-17 12:39:39 -10:00
J. Nick Koston ce1d10eff0 [wifi] Optimize WiFi scan results with in-place construction 2025-10-17 12:39:14 -10:00
J. Nick Koston 879ba5e090 Merge branch 'integration' into memory_api 2025-10-17 11:48:09 -10:00
J. Nick Koston a0d9b4fdf9 Merge branch 'ci_missed_files' into integration 2025-10-17 11:48:04 -10:00
J. Nick Koston de5894ca1a [ci] Fix test_build_components missing test files with hyphen naming pattern 2025-10-17 11:29:17 -10:00
J. Nick Koston c26125c732 Merge branch 'integration' into memory_api 2025-10-17 11:20:53 -10:00
J. Nick Koston 1867831ff5 Merge branch 'fast_connect_cond_compile' into integration 2025-10-17 11:20:46 -10:00
J. Nick Koston 00dd48d1f8 tweak 2025-10-17 11:17:31 -10:00
J. Nick Koston 35bcc6ff8a missing guard 2025-10-17 10:54:50 -10:00
J. Nick Koston 63f9e1fde8 missing guard 2025-10-17 10:54:39 -10:00
J. Nick Koston 16a8645833 Merge branch 'integration' into memory_api 2025-10-17 10:41:20 -10:00
J. Nick Koston 320df90b6b Merge branch 'fast_connect_cond_compile' into integration 2025-10-17 10:41:15 -10:00
J. Nick Koston 3fce283053 [wifi] Convert fast_connect to compile-time define, save 608-1024 bytes flash 2025-10-17 10:40:28 -10:00
J. Nick Koston 2eeb9d097f Merge branch 'integration' into memory_api 2025-10-17 09:40:31 -10:00
J. Nick Koston 4f4714cec2 Merge branch 'set_timezone_cleanup' into integration 2025-10-17 09:40:26 -10:00
J. Nick Koston 6dd0020bf6 [api][time] Refactor timezone update logic for cleaner code 2025-10-17 09:39:51 -10:00
J. Nick Koston 2ad80d2208 tweak 2025-10-17 09:29:58 -10:00
J. Nick Koston 7220d25a4d Merge branch 'integration' into memory_api 2025-10-17 09:07:34 -10:00
J. Nick Koston c769b6fdf7 Merge branch 'ota_fix' into integration 2025-10-17 09:07:25 -10:00
J. Nick Koston 5918db6012 Merge branch 'integration' into memory_api 2025-10-17 09:01:59 -10:00
J. Nick Koston f65235be3a Merge branch 'wifi_scans_less_copies' into integration 2025-10-17 09:01:53 -10:00
J. Nick Koston 6722e5c8d8 [wifi] Optimize WiFi scanning to reduce copies and heap allocations 2025-10-17 07:43:24 -10:00
J. Nick Koston 6e3cc21c34 Merge branch 'integration' into memory_api 2025-10-16 21:18:51 -10:00
J. Nick Koston 6a5abb0a9d Merge remote-tracking branch 'upstream/dev' into integration 2025-10-16 21:18:39 -10:00
J. Nick Koston 62e5b5cd2b Merge branch 'integration' into memory_api 2025-10-16 16:31:27 -10:00
Daniel Stiner f9e53453f2 [openthread] Backport address resolution support to prevent OTA crash
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-10-16 16:31:20 -10:00
J. Nick Koston 05844afe97 Merge branch 'unbound_queued_script_fix' into integration 2025-10-16 16:31:03 -10:00
J. Nick Koston dd25080550 Merge remote-tracking branch 'upstream/dev' into unbound_queued_script_fix 2025-10-16 15:52:26 -10:00
J. Nick Koston 2e30a4953a address review comments 2025-10-16 15:51:01 -10:00
J. Nick Koston 75b6fd4b43 Merge branch 'integration' into memory_api 2025-10-16 14:13:58 -10:00
J. Nick Koston fbca7bca04 Merge branch 'choose_upload_no_devices_fix' into integration 2025-10-16 14:13:53 -10:00
J. Nick Koston 8b5509328e adjust tesdts 2025-10-16 14:12:55 -10:00
J. Nick Koston 076313b850 [core] Fix IndexError when OTA devices cannot be resolved 2025-10-16 14:09:09 -10:00
J. Nick Koston 237504f4e8 Merge branch 'integration' into memory_api 2025-10-16 13:24:18 -10:00
J. Nick Koston b933154d6a Merge branch 'unbound_queued_script_fix' into integration 2025-10-16 13:24:12 -10:00
J. Nick Koston f2ec2c3fbf max_runs was actually correct after re-testing dev 2025-10-16 13:20:42 -10:00
J. Nick Koston 353d8b8fb2 update var name to specify what it really is 2025-10-16 13:11:17 -10:00
J. Nick Koston 9de34901f9 tidy up 2025-10-16 13:06:38 -10:00
J. Nick Koston 532e6acbed fix assumptions 2025-10-16 13:00:16 -10:00
J. Nick Koston 8340bb8566 test 2025-10-16 12:53:08 -10:00
J. Nick Koston 283c9a208f max_runs for queued 2025-10-16 12:23:01 -10:00
J. Nick Koston e96b66a9d7 [script] BREAKING: Fix unbounded queue growth, optimize queued mode (default max_runs=5) 2025-10-16 12:15:31 -10:00
J. Nick Koston e48371a36d Merge branch 'integration' into memory_api 2025-10-16 11:18:40 -10:00
J. Nick Koston b53b2cbf41 Merge branch 'debug_esp32_map' into integration 2025-10-16 11:18:33 -10:00
J. Nick Koston 4ae737fc7b [debug] Replace std::map with struct array for ESP32 chip features 2025-10-16 11:08:28 -10:00
J. Nick Koston b0cc53fe7d Merge branch 'integration' into memory_api 2025-10-16 10:29:58 -10:00
J. Nick Koston 4514876953 Merge branch 'scheduler_defer_drains_each_loop' into integration 2025-10-16 10:29:05 -10:00
J. Nick Koston fed833cd27 cleanup 2025-10-16 10:23:40 -10:00
J. Nick Koston 90c9cb98c6 nullptr 2025-10-16 10:23:01 -10:00
J. Nick Koston b0cefbe507 nullptr 2025-10-16 10:20:28 -10:00
J. Nick Koston 819e155939 Merge branch 'integration' into memory_api 2025-10-16 10:19:27 -10:00
J. Nick Koston 0ba56171f9 Merge branch 'scheduler_defer_drains_each_loop' into integration 2025-10-16 10:19:13 -10:00
J. Nick Koston 9baa5fc47c nullptr 2025-10-16 10:19:04 -10:00
J. Nick Koston 0430fea572 nullptr 2025-10-16 10:16:32 -10:00
J. Nick Koston a1b366b699 Merge branch 'integration' into memory_api 2025-10-16 09:58:42 -10:00
J. Nick Koston e0c39fcc4c Merge branch 'scheduler_defer_drains_each_loop' into integration 2025-10-16 09:58:34 -10:00
J. Nick Koston da551a9257 Merge branch 'integration' into memory_api 2025-10-16 09:53:43 -10:00
J. Nick Koston de0c1c6d0c Merge remote-tracking branch 'upstream/dev' into integration 2025-10-16 09:53:28 -10:00
J. Nick Koston 94704f5bd1 vector for defer 2025-10-16 09:40:15 -10:00
Jonathan Swoboda ea33d7db2d Mark build as valid 2025-10-16 13:50:31 -04:00
J. Nick Koston 1118ef32c3 preen 2025-10-16 06:16:37 -10:00
J. Nick Koston 0cff6acdf4 fix flakey 2025-10-16 06:09:44 -10:00
J. Nick Koston 7be04916ac fix flakey 2025-10-16 06:09:38 -10:00
J. Nick Koston b5c4dc13e0 fix flakey 2025-10-16 06:07:41 -10:00
J. Nick Koston 0200d7c358 fix flakey 2025-10-16 06:05:39 -10:00
J. Nick Koston 44ad787cb3 fix flakey 2025-10-16 06:04:42 -10:00
J. Nick Koston 699da1adc1 Merge remote-tracking branch 'upstream/min_filter_ring_buffer' into min_filter_ring_buffer 2025-10-16 06:02:03 -10:00
J. Nick Koston 4d7e8ffd0a Merge remote-tracking branch 'upstream/dev' into min_filter_ring_buffer 2025-10-16 06:01:57 -10:00
J. Nick Koston 3ba2212cfc fix flakey 2025-10-16 06:01:32 -10:00
J. Nick Koston 7c6351b5d7 Merge branch 'integration' into memory_api 2025-10-15 23:51:56 -10:00
J. Nick Koston dde5382b51 Merge branch 'min_filter_ring_buffer' into integration 2025-10-15 23:51:44 -10:00
J. Nick Koston bb2be9869d Merge branch 'dev' into min_filter_ring_buffer 2025-10-15 23:45:55 -10:00
J. Nick Koston b4ba2aff30 remove dead unreachable code 2025-10-15 23:30:45 -10:00
J. Nick Koston febe075bb2 helper 2025-10-15 23:17:08 -10:00
J. Nick Koston 453d56fd13 Merge branch 'integration' into memory_api 2025-10-15 22:13:38 -10:00
J. Nick Koston 32ac20bc99 Merge branch 'min_filter_ring_buffer' into integration 2025-10-15 22:13:26 -10:00
J. Nick Koston baf117b411 fix flakey test 2025-10-15 22:03:22 -10:00
J. Nick Koston 55e03036e2 preen 2025-10-15 21:46:00 -10:00
J. Nick Koston af45dc206f Merge remote-tracking branch 'origin/datetime_guard_not_needed' into min_filter_ring_buffer 2025-10-15 21:45:13 -10:00
J. Nick Koston 7027ae9833 race 2025-10-15 21:44:38 -10:00
J. Nick Koston 784183ca8d [datetime] Fix DateTimeStateTrigger compilation when time component is not used 2025-10-15 21:38:02 -10:00
J. Nick Koston 855df423ee add 2025-10-15 19:58:18 -10:00
J. Nick Koston f75f11b550 add 2025-10-15 19:57:29 -10:00
J. Nick Koston a999349fa5 tweak 2025-10-15 19:29:55 -10:00
J. Nick Koston 92d54ffb09 tweak 2025-10-15 19:28:51 -10:00
J. Nick Koston 589c25e65a tweak 2025-10-15 19:24:44 -10:00
J. Nick Koston 5a8558e1c5 tweak 2025-10-15 19:23:35 -10:00
J. Nick Koston a72c494b75 tweak 2025-10-15 19:23:01 -10:00
J. Nick Koston e3089ff0f6 tweak 2025-10-15 19:21:33 -10:00
J. Nick Koston a4b14902db perf 2025-10-15 18:44:37 -10:00
J. Nick Koston 4ff39ee82c Merge remote-tracking branch 'origin/min_filter_ring_buffer' into min_filter_ring_buffer 2025-10-15 18:27:33 -10:00
J. Nick Koston 447ee3da39 tests 2025-10-15 18:26:23 -10:00
J. Nick Koston 9b6707c1c0 tests 2025-10-15 18:25:42 -10:00
J. Nick Koston 0c18dd872b Merge branch 'dev' into min_filter_ring_buffer 2025-10-15 18:05:02 -10:00
J. Nick Koston b074ca8a1e fix 2025-10-15 18:00:33 -10:00
J. Nick Koston 4c24545b82 fix 2025-10-15 17:51:08 -10:00
J. Nick Koston cd252a33f9 fix 2025-10-15 17:51:03 -10:00
J. Nick Koston 36f8511309 fix 2025-10-15 17:50:32 -10:00
J. Nick Koston 12874187dd fix 2025-10-15 17:50:27 -10:00
J. Nick Koston d7832c44bc [sensor] Fix sliding window filter memory fragmentation with FixedVector ring buffer 2025-10-15 17:45:37 -10:00
J. Nick Koston a49aed2dcb Merge branch 'integration' into memory_api 2025-10-15 16:19:52 -10:00
J. Nick Koston 322b141e51 Merge branch 'fixed_vector_HomeAssistantServiceCallAction' into integration 2025-10-15 16:19:47 -10:00
J. Nick Koston 295ac4b1b8 protect 2025-10-15 16:19:36 -10:00
J. Nick Koston 0a7a3bae8b protect 2025-10-15 16:19:22 -10:00
J. Nick Koston a5c955f9a5 bot comments 2025-10-15 16:16:27 -10:00
J. Nick Koston b7fbc728f8 Merge branch 'integration' into memory_api 2025-10-15 16:08:38 -10:00
J. Nick Koston 052b4b44e8 Merge branch 'noise_no_vec_uint8t' into integration 2025-10-15 16:08:32 -10:00
J. Nick Koston 628d781fe8 [api] Use std::unique_ptr for fixed-size byte buffers in Noise protocol 2025-10-15 16:08:07 -10:00
J. Nick Koston 8156c8ccf5 Merge branch 'integration' into memory_api 2025-10-15 15:51:19 -10:00
J. Nick Koston f4d228b314 Merge branch 'execute_fixed_vector' into integration 2025-10-15 15:51:07 -10:00
J. Nick Koston b39976ce35 no more magic 3 2025-10-15 15:47:26 -10:00
J. Nick Koston 5e5620fb49 bot comments 2025-10-15 15:43:34 -10:00
J. Nick Koston 98c1c2d9af Merge branch 'integration' into memory_api 2025-10-15 15:40:17 -10:00
J. Nick Koston f0ba401c74 Merge branch 'fixed_vector_HomeAssistantServiceCallAction' into integration 2025-10-15 15:40:09 -10:00
J. Nick Koston e3d5ca1375 [api] Use FixedVector for HomeAssistantServiceCallAction to reduce flash and avoid reallocations 2025-10-15 15:38:32 -10:00
J. Nick Koston ec31f0b13b Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-10-15 15:21:05 -10:00
J. Nick Koston d443d3037b Merge branch 'integration' into memory_api 2025-10-15 15:20:48 -10:00
J. Nick Koston 2aa2f4bb17 Merge branch 'execute_fixed_vector' into integration 2025-10-15 15:20:39 -10:00
J. Nick Koston 8de406c633 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-15 15:20:28 -10:00
J. Nick Koston 922b0bb324 Merge remote-tracking branch 'upstream/dev' into execute_fixed_vector 2025-10-15 12:29:41 -10:00
J. Nick Koston ce6718eeaa [api] Use FixedVector for ExecuteServiceRequest/Argument arrays to eliminate reallocations 2025-10-15 10:29:53 -10:00
J. Nick Koston 95f5b18fe2 Merge branch 'dev' into ListEntitiesServicesArgument_FixedVector 2025-10-15 10:00:15 -10:00
J. Nick Koston 7a0ea74ec6 Merge branch 'integration' into memory_api 2025-10-15 09:45:21 -10:00
J. Nick Koston 2001ae1d41 Merge remote-tracking branch 'origin/integration' into memory_api 2025-10-15 09:45:15 -10:00
J. Nick Koston 42d53b301c Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-10-15 09:44:42 -10:00
J. Nick Koston 9355a3592c Merge remote-tracking branch 'upstream/dev' into integration 2025-10-15 09:43:58 -10:00
J. Nick Koston 9ce3847a56 Merge branch 'dev' into ListEntitiesServicesArgument_FixedVector 2025-10-14 17:29:41 -10:00
J. Nick Koston 62774bfd70 Merge branch 'dev' into ListEntitiesServicesArgument_FixedVector 2025-10-14 16:25:06 -10:00
J. Nick Koston 9b00ab5fe4 Merge branch 'integration' into memory_api 2025-10-14 16:24:24 -10:00
J. Nick Koston 5bfc2b95d1 Merge branch 'recover_broken_git_repo' into integration 2025-10-14 16:24:19 -10:00
J. Nick Koston b927cea0d6 [git] Automatically recover from broken git repositories in external_components 2025-10-14 16:23:06 -10:00
J. Nick Koston 0a738b23f1 Merge branch 'integration' into memory_api 2025-10-14 16:06:16 -10:00
J. Nick Koston 1edda6e632 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-14 16:06:04 -10:00
J. Nick Koston 8e6ee2bed1 debug 2025-10-14 13:43:58 -10:00
J. Nick Koston 354f46f7c0 debug 2025-10-14 13:38:41 -10:00
J. Nick Koston 7b6acd3c00 tidy 2025-10-14 13:33:31 -10:00
J. Nick Koston 11f5f7683c tidy 2025-10-14 13:32:21 -10:00
J. Nick Koston 5da589abd0 fix 2025-10-14 13:27:13 -10:00
J. Nick Koston daa39a489d fix tests 2025-10-14 13:20:31 -10:00
J. Nick Koston 3bb95a190d fix 2025-10-14 13:15:44 -10:00
J. Nick Koston 25a6202bb9 [ci] Automatic Flash/RAM impact analysis 2025-10-14 13:09:01 -10:00
J. Nick Koston c4eeed7f7e [ci] Automatic Flash/RAM impact analysis 2025-10-14 13:05:02 -10:00
J. Nick Koston e2327b46e6 Merge branch 'integration' into memory_api 2025-10-14 12:30:06 -10:00
J. Nick Koston cd836e7594 Merge branch 'pin_conflits_fix' into integration 2025-10-14 12:30:00 -10:00
J. Nick Koston 837a0bf6df [pzemac, pzemdc, sdm_meter] Fix pin conflicts in ESP32-IDF tests 2025-10-14 12:18:12 -10:00
J. Nick Koston 7598900cc2 Merge branch 'integration' into memory_api 2025-10-14 09:39:00 -10:00
J. Nick Koston 07fd35a7a0 Merge branch 'fixed_vectors_for_automations' into integration 2025-10-14 09:38:54 -10:00
J. Nick Koston 793e75a093 [core] Use FixedVector for automation condition vectors to save 384 bytes flash 2025-10-14 09:28:56 -10:00
J. Nick Koston 138c0fdf91 Merge branch 'integration' into memory_api 2025-10-14 09:17:14 -10:00
J. Nick Koston 577f9a39f4 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-14 09:17:03 -10:00
J. Nick Koston 41d5122a57 Merge branch 'integration' into memory_api 2025-10-13 22:51:25 -10:00
J. Nick Koston b1c7cc6b06 Merge branch 'web_server_idf_vector_sessions' into integration 2025-10-13 22:51:19 -10:00
J. Nick Koston 3cf24a259c [web_server_idf] Use std::vector instead of std::set for SSE sessions 2025-10-13 22:46:45 -10:00
J. Nick Koston 5c3379120f Merge branch 'integration' into memory_api 2025-10-13 22:31:55 -10:00
J. Nick Koston 7291502ff3 Merge branch 'light_effects_fixed_vector' into integration 2025-10-13 22:31:49 -10:00
J. Nick Koston 87ae07e7be [light] Use FixedVector for LightState effects list 2025-10-13 22:27:41 -10:00
J. Nick Koston 3dff1d02d2 Merge branch 'integration' into memory_api 2025-10-13 21:59:26 -10:00
J. Nick Koston a2d555c54d Merge branch 'ListEntitiesServicesArgument_FixedVector' into integration 2025-10-13 21:59:18 -10:00
J. Nick Koston 7572951bc5 Merge branch 'integration' into memory_api 2025-10-13 21:58:53 -10:00
J. Nick Koston 00760ff183 Merge branch 'fixed_vector_mdns_txt_records' into integration 2025-10-13 21:58:43 -10:00
J. Nick Koston 1acd7d4672 Update esphome/core/helpers.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 21:56:11 -10:00
J. Nick Koston ce3bd55a38 [api] Use FixedVector for ListEntitiesServicesResponse args 2025-10-13 21:52:24 -10:00
J. Nick Koston a8b6a56467 Merge branch 'integration' into memory_api 2025-10-13 21:46:14 -10:00
J. Nick Koston c808998ba7 Merge branch 'fixed_vector_HomeassistantServiceMap' into integration 2025-10-13 21:46:09 -10:00
J. Nick Koston 5ebb68b719 fixed 2025-10-13 21:45:52 -10:00
J. Nick Koston 66d859bfae Merge branch 'integration' into memory_api 2025-10-13 21:42:24 -10:00
J. Nick Koston dcde6b1cdf Merge branch 'fixed_vector_HomeassistantServiceMap' into integration 2025-10-13 21:42:18 -10:00
J. Nick Koston 95aab61e58 Merge branch 'ai_instructions_embedded_systems' into integration 2025-10-13 21:42:14 -10:00
J. Nick Koston 0fca842afe preen 2025-10-13 21:41:57 -10:00
J. Nick Koston e241e43064 preen 2025-10-13 21:41:49 -10:00
J. Nick Koston 92a6aade17 fixes 2025-10-13 21:35:26 -10:00
J. Nick Koston ef766f81e9 Merge upstream/dev and address Copilot review comments
- Resolved merge conflict between embedded systems optimization and state management sections
- Added StaticVector (compile-time max size) and FixedVector (runtime size) documentation
- Clarified std::unique_ptr<uint8_t[]> lacks bounds checking and iterator support
- Added nuance to linear search vs hashing tradeoffs for small datasets
- Updated detection patterns to include _M_realloc_insert and _M_default_append
2025-10-13 21:31:47 -10:00
J. Nick Koston 17c44504da Merge branch 'dev' into fixed_vector_mdns_txt_records 2025-10-13 21:17:37 -10:00
J. Nick Koston 2316f3a5e3 Merge branch 'integration' into memory_api 2025-10-13 21:14:52 -10:00
J. Nick Koston 19c8a638f4 Merge branch 'fixed_vector_mdns_txt_records' into integration 2025-10-13 21:14:46 -10:00
J. Nick Koston 05efb6e925 refactor to avoid move 2025-10-13 21:14:32 -10:00
J. Nick Koston 1479f48636 Merge branch 'fixed_vector_HomeassistantServiceMap' into memory_api 2025-10-13 19:31:38 -10:00
J. Nick Koston 240fe97d20 Merge branch 'fixed_vector_HomeassistantServiceMap' into integration 2025-10-13 19:31:29 -10:00
J. Nick Koston 43d8386c4a tidy 2025-10-13 19:31:13 -10:00
J. Nick Koston adc0e986a2 Merge branch 'integration' into memory_api 2025-10-13 19:28:36 -10:00
J. Nick Koston 6c5ba7d394 Merge branch 'fixed_vector_HomeassistantServiceMap' into integration 2025-10-13 19:28:21 -10:00
J. Nick Koston 7492d7a437 [api] Convert HomeassistantActionRequest vectors to FixedVector for flash savings 2025-10-13 19:27:33 -10:00
J. Nick Koston 1c6dd52e9f Merge branch 'integration' into memory_api 2025-10-13 19:15:55 -10:00
J. Nick Koston 62497a43fb Merge branch 'fixed_vector_mdns_txt_records' into integration 2025-10-13 19:15:49 -10:00
J. Nick Koston 24a7426a2a rename to fix shadow 2025-10-13 19:15:39 -10:00
J. Nick Koston b7af2d7f4c Merge branch 'integration' into memory_api 2025-10-13 19:07:08 -10:00
J. Nick Koston 2132427fe7 Merge branch 'fixed_vector_mdns_txt_records' into integration 2025-10-13 19:07:01 -10:00
J. Nick Koston fc30326e60 preen 2025-10-13 19:06:02 -10:00
J. Nick Koston 45014db027 preen 2025-10-13 19:05:26 -10:00
J. Nick Koston ac35c97a44 we need copy now 2025-10-13 18:59:46 -10:00
J. Nick Koston 541c697a42 [mdns] Use FixedVector for txt_records to reduce flash usage 2025-10-13 18:52:49 -10:00
J. Nick Koston 96dd348f9a Merge branch 'integration' into memory_api 2025-10-13 18:32:24 -10:00
J. Nick Koston 6d5dcf109e Merge remote-tracking branch 'upstream/dev' into integration 2025-10-13 18:32:01 -10:00
J. Nick Koston 01c41fc57c Merge branch 'i2s_core_data' into integration 2025-10-13 18:29:11 -10:00
J. Nick Koston 97d3cae81e Merge branch 'esp32_ble_core_data' into integration 2025-10-13 18:29:07 -10:00
J. Nick Koston 60e59b98d5 Merge branch 'esp32_ble_tracker_core_data' into integration 2025-10-13 18:29:03 -10:00
J. Nick Koston 0f43f4cbbf [docs] Add embedded systems optimization and state management best practices to CLAUDE.md 2025-10-13 18:26:45 -10:00
J. Nick Koston 18d5fd160a [i2s_audio] Refactor to use CORE.data instead of module-level globals 2025-10-13 18:11:34 -10:00
J. Nick Koston dd0699305e [esp32_ble] Refactor to use CORE.data instead of module-level globals 2025-10-13 18:08:52 -10:00
J. Nick Koston 5bdd6dac97 [esp32_ble_tracker] Refactor to use CORE.data instead of module-level globals 2025-10-13 18:02:28 -10:00
J. Nick Koston 98132cb950 Merge branch 'integration' into memory_api 2025-10-13 17:50:00 -10:00
J. Nick Koston 7629309e76 Merge branch 'clear_scan_result_done' into integration 2025-10-13 17:49:47 -10:00
J. Nick Koston 5c30c1b691 core.data 2025-10-13 17:49:07 -10:00
J. Nick Koston a674727fa6 Merge branch 'integration' into memory_api 2025-10-13 16:51:04 -10:00
J. Nick Koston f54db515bc Merge branch 'get_use_address' into integration 2025-10-13 16:50:58 -10:00
J. Nick Koston c5076e69f0 host platform 2025-10-13 15:52:00 -10:00
J. Nick Koston 9945c4b350 Merge branch 'integration' into memory_api 2025-10-13 15:41:57 -10:00
J. Nick Koston 9f9abd2259 Merge branch 'get_use_address' into integration 2025-10-13 15:41:47 -10:00
J. Nick Koston 6b8d5be528 Update esphome/components/network/util.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 15:41:17 -10:00
J. Nick Koston 044b3c07ef Merge branch 'integration' into memory_api 2025-10-13 15:30:38 -10:00
J. Nick Koston 3439f38ebf Merge branch 'fixed_vector_wifi' into integration 2025-10-13 15:30:29 -10:00
J. Nick Koston 2626a851fb cleanup 2025-10-13 15:30:18 -10:00
J. Nick Koston 9775274007 preen 2025-10-13 15:25:47 -10:00
J. Nick Koston d5ba16f13a merge 2025-10-13 15:22:52 -10:00
J. Nick Koston e17cdffc78 merge 2025-10-13 15:04:40 -10:00
J. Nick Koston 910aff6589 Merge branch 'integration' into memory_api 2025-10-13 14:51:27 -10:00
J. Nick Koston 84d42aeeaf Merge branch 'fixed_vector_wifi' into integration 2025-10-13 14:51:18 -10:00
J. Nick Koston fa830cfd39 fix 2025-10-13 14:50:55 -10:00
J. Nick Koston d82bcea106 Merge branch 'integration' into memory_api 2025-10-13 14:39:08 -10:00
J. Nick Koston e9766603b7 Merge branch 'get_use_address' into integration 2025-10-13 14:39:02 -10:00
J. Nick Koston 2881f32b08 [network] Optimize get_use_address() to return const reference instead of copy 2025-10-13 14:37:10 -10:00
J. Nick Koston 10724f411b [network] Optimize get_use_address() to return const reference instead of copy 2025-10-13 14:32:17 -10:00
J. Nick Koston 99a5a6f3a6 Merge branch 'integration' into memory_api 2025-10-13 14:20:29 -10:00
J. Nick Koston 9d04878a0c Merge branch 'fixed_vector_wifi' into integration 2025-10-13 14:20:17 -10:00
J. Nick Koston 5a11a2e5b2 Merge branch 'fixed_vector_bluetooth_services' into integration 2025-10-13 14:20:12 -10:00
J. Nick Koston 7b5a86e4df fixes 2025-10-13 14:15:37 -10:00
J. Nick Koston 453ab0adb8 backmerge 2025-10-13 14:10:56 -10:00
J. Nick Koston de10d78125 dry 2025-10-13 14:10:41 -10:00
J. Nick Koston b878aa0270 fix 2025-10-13 14:09:44 -10:00
J. Nick Koston c9a1664398 merge 2025-10-13 14:08:27 -10:00
J. Nick Koston bb2f568f3d merge 2025-10-13 14:07:52 -10:00
J. Nick Koston 7792a115c2 merge 2025-10-13 14:05:31 -10:00
J. Nick Koston ce46f16308 merge 2025-10-13 14:05:19 -10:00
J. Nick Koston d5234e3357 merge 2025-10-13 14:04:39 -10:00
J. Nick Koston ddf6e0a7b6 revert 2025-10-13 14:04:15 -10:00
J. Nick Koston fbef9b1264 revert 2025-10-13 14:03:59 -10:00
J. Nick Koston eb545127c0 Merge branch 'fixed_vector_bluetooth_services' into fixed_vector_wifi 2025-10-13 14:03:34 -10:00
J. Nick Koston 8aa832ab08 Merge remote-tracking branch 'upstream/fixed_vector_bluetooth_services' into fixed_vector_bluetooth_services 2025-10-13 14:03:21 -10:00
J. Nick Koston 22370c0ad1 merge 2025-10-13 14:03:08 -10:00
J. Nick Koston 3fd9c42d82 Merge branch 'wifi_fixed_vector' into fixed_vector_wifi 2025-10-13 14:02:41 -10:00
J. Nick Koston e9448d7126 Merge branch 'dev' into fixed_vector_bluetooth_services 2025-10-13 14:02:06 -10:00
J. Nick Koston 3847e8aa73 Merge remote-tracking branch 'upstream/dev' into fixed_vector_bluetooth_services 2025-10-13 13:25:58 -10:00
J. Nick Koston 7231b0cb5c Merge branch 'integration' into memory_api 2025-10-13 11:41:49 -10:00
J. Nick Koston 494ffb8c48 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-13 11:41:35 -10:00
J. Nick Koston dd09897a1d Update esphome/components/wifi_info/text_sensor.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-12 20:46:36 -10:00
J. Nick Koston e28599b403 Merge branch 'integration' into memory_api 2025-10-12 20:22:31 -10:00
J. Nick Koston 71bf274214 Merge branch 'clear_scan_result_done' into integration 2025-10-12 20:22:23 -10:00
J. Nick Koston d191d1e99a preen 2025-10-12 20:21:56 -10:00
J. Nick Koston 987d616846 Merge branch 'integration' into memory_api 2025-10-12 20:20:49 -10:00
J. Nick Koston 299cbdd411 Merge branch 'clear_scan_result_done' into integration 2025-10-12 20:20:42 -10:00
J. Nick Koston 4d55c8f309 preen 2025-10-12 20:20:17 -10:00
J. Nick Koston ba408a10bb Merge branch 'integration' into memory_api 2025-10-12 20:15:20 -10:00
J. Nick Koston 9435a3a1fc Merge branch 'clear_scan_result_done' into integration 2025-10-12 20:15:11 -10:00
J. Nick Koston 6f3a996698 [wifi] Free scan results memory after successful connection 2025-10-12 20:12:34 -10:00
J. Nick Koston 347501d895 wifi fixed vector 2025-10-12 19:39:55 -10:00
J. Nick Koston a9fd0a3b26 fixed_vector, bluetooth services 2025-10-12 18:21:14 -10:00
J. Nick Koston 767b5a11ef Merge branch 'integration' into memory_api 2025-10-12 12:55:42 -10:00
J. Nick Koston b1eb65da7d Merge branch 'logs_fqdn_fix' into integration 2025-10-12 12:55:31 -10:00
J. Nick Koston 7c8f8e282d Fix log retrieval with FQDN when mDNS is disabled 2025-10-12 12:52:38 -10:00
J. Nick Koston a2254a6d55 Merge branch 'integration' into memory_api 2025-10-12 11:29:04 -10:00
J. Nick Koston d3806d790d Merge branch 'ble_handlers_static' into integration 2025-10-12 11:28:54 -10:00
J. Nick Koston 26ebfa4906 cleaner 2025-10-12 11:19:58 -10:00
J. Nick Koston 2c6828eb84 Merge branch 'integration' into memory_api 2025-10-12 11:16:36 -10:00
J. Nick Koston 7070204b00 Merge branch 'ble_handlers_static' into integration 2025-10-12 11:16:27 -10:00
J. Nick Koston 6f2c7c0e5d fixes 2025-10-12 11:13:14 -10:00
J. Nick Koston 2a94463ac1 [esp32_ble] Replace handler vectors with StaticVector for 2KB memory savings 2025-10-12 11:07:01 -10:00
J. Nick Koston a635db726d Merge branch 'integration' into memory_api 2025-10-12 10:32:11 -10:00
J. Nick Koston 41860c312e Merge remote-tracking branch 'upstream/dev' into integration 2025-10-12 10:31:59 -10:00
J. Nick Koston dc53831b27 Merge branch 'integration' into memory_api 2025-10-11 22:03:51 -10:00
J. Nick Koston e8397704fb Merge branch 'wifi_missed_string_lit' into integration 2025-10-11 22:03:40 -10:00
J. Nick Koston ddc7a15302 [wifi] Fix missed string literal in flash on ESP8266 2025-10-11 22:02:59 -10:00
J. Nick Koston 6a0bcdf4f6 Merge branch 'integration' into memory_api 2025-10-11 21:26:37 -10:00
J. Nick Koston cc63edcf7a Merge branch 'flakey_ota_first_connect' into integration 2025-10-11 21:26:29 -10:00
J. Nick Koston 072662c395 timeout 2025-10-11 21:26:13 -10:00
J. Nick Koston cebc8a3867 Merge branch 'integration' into memory_api 2025-10-11 21:23:51 -10:00
J. Nick Koston 2795d67787 Merge branch 'flakey_ota_first_connect' into integration 2025-10-11 21:23:37 -10:00
J. Nick Koston 66c8c045f2 [ota] Increase handshake timeout to 20s now that auth is non-blocking 2025-10-11 21:23:02 -10:00
J. Nick Koston 91dbdffea5 [mipi_rgb] Fix pin conflicts introduced by shared SPI bus in #11134 2025-10-11 19:56:05 -10:00
J. Nick Koston 2fc5afc79e Merge branch 'integration' into memory_api 2025-10-11 17:36:14 -10:00
J. Nick Koston e0933e0094 Merge branch 'http_request_const' into integration 2025-10-11 17:36:02 -10:00
J. Nick Koston 0c0ed8c4fd Merge branch 'loop_fix_vec' into integration 2025-10-11 17:35:57 -10:00
J. Nick Koston 4c00861760 add comments for bot 2025-10-11 17:35:31 -10:00
J. Nick Koston 2ff3e7fb2b add comments for bot 2025-10-11 17:34:51 -10:00
J. Nick Koston fdc9ea285d [http_request] Pass parameters by const reference to reduce flash usage 2025-10-11 17:30:30 -10:00
J. Nick Koston 34d891761a Merge branch 'integration' into memory_api 2025-10-11 17:00:46 -10:00
J. Nick Koston e64111345c Merge branch 'loop_fix_vec' into integration 2025-10-11 17:00:34 -10:00
J. Nick Koston d6239398ed Merge branch 'loop_fix_vec' into memory_api 2025-10-11 17:00:25 -10:00
J. Nick Koston b0c20d7adb [core] Optimize looping_components_ with FixedVector to save flash 2025-10-11 16:54:40 -10:00
J. Nick Koston d2a31b95c4 preen 2025-10-11 16:08:47 -10:00
J. Nick Koston 0d3489df3f Merge branch 'integration' into memory_api 2025-10-11 15:34:42 -10:00
J. Nick Koston 6b2ef78787 preen 2025-10-11 15:34:31 -10:00
J. Nick Koston 153f01ef77 preen 2025-10-11 15:34:15 -10:00
J. Nick Koston e69013317d Update esphome/core/helpers.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-11 15:33:46 -10:00
J. Nick Koston 3f65f261ab Merge branch 'helper_for_name_suffix' of https://github.com/esphome/esphome into helper_for_name_suffix 2025-10-11 15:33:28 -10:00
J. Nick Koston 5fe319fcc5 preen 2025-10-11 15:33:22 -10:00
J. Nick Koston 21c2c6e782 Update esphome/config_validation.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-11 15:33:19 -10:00
J. Nick Koston 6ecdb395fd Merge branch 'dev' into helper_for_name_suffix 2025-10-11 15:27:41 -10:00
J. Nick Koston 3d328d7233 Merge remote-tracking branch 'origin/helper_for_name_suffix' into helper_for_name_suffix 2025-10-11 15:24:11 -10:00
J. Nick Koston 9f20c48a24 adjust 2025-10-11 15:23:51 -10:00
J. Nick Koston 069893abb9 Merge branch 'integration' into memory_api 2025-10-11 13:46:07 -10:00
J. Nick Koston edd73ed192 Merge branch 'improv_cap_portal_fix' into integration 2025-10-11 13:45:59 -10:00
J. Nick Koston 10c231e872 Merge remote-tracking branch 'upstream/improv_cap_portal_fix' into improv_cap_portal_fix 2025-10-11 13:45:36 -10:00
J. Nick Koston 3758b4c801 preen 2025-10-11 13:45:22 -10:00
J. Nick Koston 5bd87906af Merge branch 'dev' into improv_cap_portal_fix 2025-10-11 13:42:41 -10:00
J. Nick Koston c8b2a74a7e Merge branch 'dev' into helper_for_name_suffix 2025-10-11 13:37:43 -10:00
J. Nick Koston 678a93cc56 fix 2025-10-11 13:08:10 -10:00
J. Nick Koston 5a0184cb35 [esp32_improv] Fix state not transitioning to PROVISIONED when WiFi configured via captive portal 2025-10-11 13:01:19 -10:00
J. Nick Koston c63902781b [esp32_improv] Fix state not transitioning to PROVISIONED when WiFi configured via captive portal 2025-10-11 12:57:13 -10:00
J. Nick Koston a193d5b40e [esp32_improv] Fix state not transitioning to PROVISIONED when WiFi configured via captive portal 2025-10-11 12:56:28 -10:00
J. Nick Koston ff6191cfd4 [esp32_improv] Fix state not transitioning to PROVISIONED when WiFi configured via captive portal 2025-10-11 12:55:03 -10:00
J. Nick Koston b7b2b296a0 Merge branch 'integration' into memory_api 2025-10-11 12:39:33 -10:00
J. Nick Koston b032ba9bd4 Merge branch 'mdns_store' into integration 2025-10-11 12:39:27 -10:00
J. Nick Koston 0975dbfb01 cleanup 2025-10-11 12:38:12 -10:00
J. Nick Koston 0c8c99dbf8 [mdns] Conditionally store services to reduce RAM usage by 200-464 bytes 2025-10-11 12:27:39 -10:00
J. Nick Koston c241258dfe Merge branch 'integration' into memory_api 2025-10-11 11:26:19 -10:00
J. Nick Koston 417f574cff Merge branch 'helper_for_name_suffix' into integration 2025-10-11 11:26:09 -10:00
J. Nick Koston 5e1848854e tweak for bot 2025-10-11 11:25:19 -10:00
J. Nick Koston 19c541f1e6 Merge branch 'integration' into memory_api 2025-10-11 11:11:46 -10:00
J. Nick Koston 4ad3f9d962 Merge branch 'helper_for_name_suffix' into integration 2025-10-11 11:11:39 -10:00
J. Nick Koston 81b7f41dd5 Merge branch 'fix_ci_only_test_comp_with_tests' into helper_for_name_suffix 2025-10-11 11:09:41 -10:00
J. Nick Koston 1acbb007dd [ci] Filter out components without tests from CI test jobs (#11134 followup) 2025-10-11 11:08:47 -10:00
J. Nick Koston 245ccb02fa Merge branch 'integration' into memory_api 2025-10-11 10:52:51 -10:00
J. Nick Koston ce6b51e27d Merge branch 'helper_for_name_suffix' into integration 2025-10-11 10:52:36 -10:00
J. Nick Koston 6273380407 [core] Add make_name_with_suffix helper to optimize string concatenation 2025-10-11 10:51:17 -10:00
J. Nick Koston 69888af408 Merge branch 'integration' into memory_api 2025-10-11 09:32:00 -10:00
J. Nick Koston 2572157fc3 Merge remote-tracking branch 'upstream/integration' into integration 2025-10-11 09:31:48 -10:00
J. Nick Koston a012557911 Merge branch 'integration' into memory_api 2025-10-11 09:31:08 -10:00
J. Nick Koston 3187e045d2 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-11 09:30:48 -10:00
J. Nick Koston d63af64282 Merge branch 'integration' into memory_api 2025-10-11 06:27:06 -10:00
J. Nick Koston 4a7a0bbc93 Merge branch 'usb_host_keep_up' into integration 2025-10-11 06:26:59 -10:00
J. Nick Koston fa69b74e6c tweak comments 2025-10-11 06:25:44 -10:00
J. Nick Koston ec71669bff tweak comments 2025-10-11 06:24:35 -10:00
J. Nick Koston 2796cac972 compile tests 2025-10-11 06:17:36 -10:00
J. Nick Koston 442a60766d missing defines 2025-10-11 06:02:49 -10:00
J. Nick Koston dd6085456a tweak 2025-10-11 06:00:57 -10:00
J. Nick Koston 460c41d9b8 [usb_host] Fix transfer slot exhaustion at high data rates and add configurable max_transfer_requests 2025-10-11 05:53:14 -10:00
J. Nick Koston c524e6c2b3 Merge branch 'integration' into memory_api 2025-10-10 21:00:54 -10:00
J. Nick Koston 5d7731b39d Merge branch 'static_vector_esp32_ble_tracker' into integration 2025-10-10 21:00:48 -10:00
J. Nick Koston dacead836f [esp32_ble_tracker] Replace std::vector with StaticVector for listeners and clients 2025-10-10 20:59:34 -10:00
J. Nick Koston 2184c1fde6 Merge branch 'integration' into memory_api 2025-10-10 20:04:45 -10:00
J. Nick Koston 1df2896796 Merge branch 'raw_tcp_mem' into integration 2025-10-10 20:04:39 -10:00
J. Nick Koston 3f49a61b03 tweak 2025-10-10 20:01:16 -10:00
J. Nick Koston ec44856537 Merge branch 'integration' into memory_api 2025-10-10 19:44:02 -10:00
J. Nick Koston a00cda32c7 Merge branch 'raw_tcp_mem' into integration 2025-10-10 19:43:53 -10:00
J. Nick Koston 8a4bd0f21c [socket] Split LWIP socket classes to reduce memory overhead on ESP8266/RP2040 2025-10-10 19:42:41 -10:00
J. Nick Koston ee3af3904f Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-10-10 17:39:56 -10:00
J. Nick Koston 02de8f9f80 merge 2025-10-10 17:39:37 -10:00
J. Nick Koston 9722c8eb60 Merge remote-tracking branch 'origin/integration' into memory_api 2025-10-10 17:39:14 -10:00
J. Nick Koston 29fb40a89f Merge branch 'integration' into memory_api 2025-10-10 17:39:01 -10:00
J. Nick Koston 1c7ff84e6a Merge branch 'partial_revert_10862' into integration 2025-10-10 17:38:53 -10:00
J. Nick Koston 632cd929ac adj 2025-10-10 17:38:26 -10:00
J. Nick Koston 3ea929eeb2 adj 2025-10-10 17:37:36 -10:00
J. Nick Koston 36ab68c1ea [esp32_ble] Partial revert of #10862 - Fix GATT client notifications 2025-10-10 17:31:13 -10:00
J. Nick Koston e972767a11 Merge branch 'integration' into memory_api 2025-10-09 22:48:13 -10:00
J. Nick Koston 4890720c0e Merge branch 'mdns_back_compat' into integration 2025-10-09 22:48:05 -10:00
J. Nick Koston cdc87a4445 [mdns] Restore mdns_txt_record() public API for external components 2025-10-09 22:46:45 -10:00
J. Nick Koston 06a0ab6839 Merge branch 'integration' into memory_api 2025-10-09 16:04:24 -10:00
J. Nick Koston 6cc5b7c3af Merge remote-tracking branch 'upstream/dev' into integration 2025-10-09 16:04:16 -10:00
J. Nick Koston 88082911e9 [opentherm][ci][tests] Remove redundant ESP32 Arduino tests and fix conditionals 2025-10-09 12:24:37 -10:00
J. Nick Koston 968d1e2647 Merge branch 'integration' into memory_api 2025-10-09 10:41:47 -10:00
J. Nick Koston 5a4f1dd2da Merge branch 'esp32_remove_esp32_ard_apis' into integration 2025-10-09 10:41:40 -10:00
J. Nick Koston d8af6e0c75 fix 2025-10-09 10:40:02 -10:00
J. Nick Koston 36bcd8c204 fix 2025-10-09 10:39:51 -10:00
J. Nick Koston 5b146e1f12 fix 2025-10-09 10:39:41 -10:00
J. Nick Koston de8a4ff6b0 Merge branch 'integration' into memory_api 2025-10-09 10:33:08 -10:00
J. Nick Koston d837a001db Merge branch 'esp32_remove_esp32_ard_apis' into integration 2025-10-09 10:33:01 -10:00
J. Nick Koston df71198a24 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-09 10:32:58 -10:00
J. Nick Koston 5a5bebe71e Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-10-09 10:32:52 -10:00
J. Nick Koston 8853593a7b [esp32_ble*] Remove Arduino BLE wrapper dependencies 2025-10-09 10:32:04 -10:00
J. Nick Koston c756e132a7 Merge branch 'integration' into memory_api 2025-10-08 09:28:07 -10:00
J. Nick Koston e5a0a1d143 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-08 09:27:34 -10:00
J. Nick Koston 98e68c32ee Merge branch 'integration' into memory_api 2025-10-08 05:50:03 -10:00
J. Nick Koston b33b68b885 Merge branch 'webserver_helpers' into integration 2025-10-08 05:49:55 -10:00
J. Nick Koston 9ac48b162b tweak 2025-10-08 05:48:56 -10:00
J. Nick Koston 41d07701ee tweak 2025-10-08 05:46:20 -10:00
J. Nick Koston fed252d1d3 wip 2025-10-08 05:40:31 -10:00
J. Nick Koston 2b8fdfb6a6 [web_server] Reduce code duplication in JSON generation with helper functions 2025-10-08 05:22:15 -10:00
J. Nick Koston 2ea32635c9 Merge branch 'integration' into memory_api 2025-10-08 05:12:32 -10:00
J. Nick Koston 8c876ec07d Merge branch 'webserver_dupe_checks' into integration 2025-10-08 05:12:22 -10:00
J. Nick Koston 576cf8ed6d [web_server] Consolidate duplicate client connection checks (saves 288 bytes flash) 2025-10-08 05:11:34 -10:00
J. Nick Koston 48799517eb Merge branch 'integration' into memory_api 2025-10-07 22:55:15 -10:00
J. Nick Koston 3e8672f351 Merge branch 'mdns_value_flash' into integration 2025-10-07 22:55:08 -10:00
J. Nick Koston 16f7de29eb Merge remote-tracking branch 'upstream/dev' into mdns_value_flash 2025-10-07 22:51:06 -10:00
J. Nick Koston b1e950e785 better cond 2025-10-07 22:45:54 -10:00
J. Nick Koston a0d9098f41 Merge branch 'integration' into memory_api 2025-10-07 22:34:07 -10:00
J. Nick Koston e1852bdd59 Merge branch 'mdns_value_flash' into integration 2025-10-07 22:34:00 -10:00
J. Nick Koston 6eef594110 Merge remote-tracking branch 'origin/mdns_value_flash' into mdns_value_flash 2025-10-07 22:33:48 -10:00
J. Nick Koston b22e154284 just remove it 2025-10-07 22:33:37 -10:00
J. Nick Koston a793690795 Merge branch 'dev' into mdns_value_flash 2025-10-07 22:23:27 -10:00
J. Nick Koston fc0afa1793 Merge branch 'integration' into memory_api 2025-10-07 22:22:31 -10:00
J. Nick Koston d80e7a5ab6 Merge branch 'mdns_value_flash' into integration 2025-10-07 22:22:26 -10:00
J. Nick Koston f33d9a77f3 bot comments 2025-10-07 22:22:12 -10:00
J. Nick Koston 734a0f3998 static analysis 2025-10-07 22:01:22 -10:00
J. Nick Koston 21d4e090bf Merge branch 'integration' into memory_api 2025-10-07 21:52:06 -10:00
J. Nick Koston fe8af38f62 Merge branch 'mdns_value_flash' into integration 2025-10-07 21:51:56 -10:00
J. Nick Koston d7964c4068 Merge branch 'dev' into integration 2025-10-07 21:51:53 -10:00
J. Nick Koston 72087bf6ba store mdns values in flash 2025-10-07 21:48:18 -10:00
J. Nick Koston f5bb79cbc4 goodbye strdup 2025-10-07 21:46:08 -10:00
J. Nick Koston d9c3213ef6 goodbye strdup 2025-10-07 21:43:35 -10:00
J. Nick Koston 328c1a8469 goodbye strdup 2025-10-07 21:39:04 -10:00
J. Nick Koston 6c0a0334a8 preen 2025-10-07 21:26:56 -10:00
J. Nick Koston 1476dcf5c8 preen 2025-10-07 21:24:10 -10:00
J. Nick Koston ac7bd4137f preen 2025-10-07 21:22:34 -10:00
J. Nick Koston 52f2826d38 preen 2025-10-07 21:21:22 -10:00
J. Nick Koston 55888b9bee store mdns values in flash 2025-10-07 21:19:35 -10:00
J. Nick Koston 181f360176 Merge branch 'integration' into memory_api 2025-10-07 16:21:40 -10:00
J. Nick Koston 4acbf03f4e Merge branch 'jesserockz-2025-457' into integration 2025-10-07 16:21:32 -10:00
J. Nick Koston 5e16d84e0c Merge branch 'dev' into jesserockz-2025-457 2025-10-07 21:12:50 -05:00
J. Nick Koston 58796141e9 Merge branch 'integration' into memory_api 2025-10-07 16:12:17 -10:00
J. Nick Koston a554d8b122 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-07 16:11:56 -10:00
J. Nick Koston 76c8da03fe Merge branch 'integration' into memory_api 2025-10-07 14:10:20 -10:00
J. Nick Koston b5ef87a1b8 Merge branch 'api_size_limits' into integration 2025-10-07 14:10:14 -10:00
J. Nick Koston 7f13080478 Merge branch 'mdns_esp32_cleanup' into integration 2025-10-07 14:10:10 -10:00
J. Nick Koston 2c408b7d78 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-07 14:10:03 -10:00
J. Nick Koston 43c7ebcab4 missed python 2025-10-07 14:06:28 -10:00
J. Nick Koston e3fadb1858 missed python 2025-10-07 14:05:22 -10:00
J. Nick Koston a991768772 missed python 2025-10-07 14:02:39 -10:00
J. Nick Koston b9e2a30a38 Update test_oversized_payloads.py 2025-10-07 18:17:17 -05:00
J. Nick Koston cb578c2198 Update test_oversized_payloads.py 2025-10-07 18:16:20 -05:00
J. Nick Koston 3b06b3386f Merge branch 'integration' into memory_api 2025-10-07 17:47:36 -05:00
J. Nick Koston 3a68268f39 Merge branch 'api_size_limits' into integration 2025-10-07 17:47:04 -05:00
J. Nick Koston ef1c12c21f adjust 2025-10-07 17:37:50 -05:00
J. Nick Koston 6107802d69 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-10-07 17:17:47 -05:00
J. Nick Koston f59d2d5aca Merge branch 'integration' into memory_api 2025-10-07 17:16:24 -05:00
J. Nick Koston 453eecb240 Merge branch 'mdns_esp32_cleanup' into integration 2025-10-07 17:16:15 -05:00
J. Nick Koston fa66b3235d tidy 2025-10-07 16:58:59 -05:00
J. Nick Koston 7446c87267 tidy 2025-10-07 16:58:19 -05:00
J. Nick Koston 57bd6ec68c tidy 2025-10-07 16:46:26 -05:00
J. Nick Koston 95ecacc5f7 tidy 2025-10-07 16:39:40 -05:00
J. Nick Koston 2e1d5662ea tidy 2025-10-07 16:34:51 -05:00
J. Nick Koston 87a1040285 keep all 8266 in flash 2025-10-07 16:29:10 -05:00
J. Nick Koston 71765f01e6 Merge branch 'dev' into api_size_limits 2025-10-07 16:18:23 -05:00
J. Nick Koston 1a6aaedbb7 preen 2025-10-07 16:16:36 -05:00
J. Nick Koston b49f60569e tidy 2025-10-07 15:50:51 -05:00
J. Nick Koston 63a94df74f tidy 2025-10-07 15:47:19 -05:00
J. Nick Koston 15968cd8be Merge branch 'integration' into memory_api 2025-10-07 15:42:36 -05:00
J. Nick Koston 7693545d86 Merge branch 'mdns_esp32_cleanup' into integration 2025-10-07 15:42:10 -05:00
J. Nick Koston f0a7c6b0bb simplify 2025-10-07 15:32:59 -05:00
J. Nick Koston 711532465e simplify 2025-10-07 15:27:49 -05:00
J. Nick Koston 2e4722104e simplify 2025-10-07 15:25:13 -05:00
J. Nick Koston c9a709675a simplify 2025-10-07 15:25:13 -05:00
J. Nick Koston 65b8148f2e simplify 2025-10-07 15:24:48 -05:00
J. Nick Koston 93d493004c simplify 2025-10-07 15:24:42 -05:00
J. Nick Koston 94eab93110 Merge branch 'integration' into memory_api 2025-10-07 14:59:21 -05:00
J. Nick Koston 762c141d93 Merge branch 'mdns_esp32_cleanup' into integration 2025-10-07 14:59:15 -05:00
J. Nick Koston cf1ba30e90 just store key in flash 2025-10-07 14:54:28 -05:00
J. Nick Koston 7bc1f23d6c Merge branch 'dev' into jesserockz-2025-457 2025-10-07 14:52:47 -05:00
J. Nick Koston 9cecbee33a revise 2025-10-07 14:44:38 -05:00
J. Nick Koston 03884d05b4 fix test 2025-10-07 14:34:03 -05:00
J. Nick Koston 0fa47e3bf5 Merge branch 'dev' into jesserockz-2025-457 2025-10-07 14:25:18 -05:00
J. Nick Koston cbd30ce37a as const object 2025-10-08 07:32:12 +13:00
J. Nick Koston cd4c4eab35 remove std::map, only 1 or 2 callbacks in flight ever 2025-10-08 07:29:56 +13:00
J. Nick Koston 1f557b46b3 fix ifdefs 2025-10-08 07:28:35 +13:00
J. Nick Koston b89c230e6a Merge branch 'integration' into memory_api 2025-10-07 11:14:50 -05:00
J. Nick Koston afdc59acb4 Merge branch 'mdns_esp32_cleanup' into integration 2025-10-07 11:14:43 -05:00
J. Nick Koston 0dcc1baf41 [mdns] Fix undefined behavior from delete/malloc mismatch in ESP32 service registration 2025-10-07 10:52:46 -05:00
J. Nick Koston 4088dbfdb6 Merge branch 'integration' into memory_api 2025-10-07 09:50:11 -05:00
J. Nick Koston 646430a337 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-07 09:50:05 -05:00
Jesse Hills 49b271747d Add missing ifdef 2025-10-07 20:11:43 +13:00
Jesse Hills 9608d8793c Fix order 2025-10-07 17:41:16 +13:00
Jesse Hills 5c49e8b984 Merge branch 'jesserockz-2025-477' into jesserockz-2025-457 2025-10-07 17:39:40 +13:00
Jesse Hills 5d73eab245 Merge branch 'jesserockz-2025-478' into jesserockz-2025-457 2025-10-07 17:39:28 +13:00
Jesse Hills 317ce77197 [core] Update helpers for new auto load functionality 2025-10-07 17:38:21 +13:00
Jesse Hills 635ef722b5 [const] Move CONF_CAPTURE_RESPONSE to const.py 2025-10-07 17:31:47 +13:00
Jesse Hills f95b4bfce5 Update test 2025-10-07 17:26:44 +13:00
Jesse Hills a11bef0558 Handle action status response without json 2025-10-07 17:25:35 +13:00
J. Nick Koston b2699f5e37 Merge branch 'integration' into memory_api 2025-10-06 17:42:49 -05:00
J. Nick Koston c80fd0c038 Merge branch 'fix_double_move' into integration 2025-10-06 17:42:43 -05:00
J. Nick Koston a051cff931 preen 2025-10-06 17:37:49 -05:00
J. Nick Koston 517f59afe4 [api] Optimize frame helpers to eliminate double-move overhead 2025-10-06 17:27:05 -05:00
J. Nick Koston 1cf5290f28 Merge branch 'integration' into memory_api 2025-10-06 17:20:32 -05:00
J. Nick Koston 02ef1351fd Merge branch 'fix_double_move' into integration 2025-10-06 17:20:26 -05:00
J. Nick Koston 8821529f6e [api] Optimize frame helpers to eliminate double-move overhead 2025-10-06 17:19:10 -05:00
J. Nick Koston e95be061b3 Merge branch 'dev' into jesserockz-2025-457 2025-10-06 15:54:29 -05:00
J. Nick Koston 242b81f3f0 Merge branch 'esp32_core' into jesserockz-2025-457 2025-10-06 15:45:54 -05:00
J. Nick Koston 38b727e0b8 Merge branch 'dev' into jesserockz-2025-457 2025-10-06 15:45:43 -05:00
J. Nick Koston 514830b372 sdkconfig instead 2025-10-06 15:41:48 -05:00
J. Nick Koston 39c1c9e837 Merge remote-tracking branch 'upstream/dev' into esp32_core 2025-10-06 15:41:34 -05:00
J. Nick Koston b0e15cdabd oops they are bool 2025-10-06 15:24:57 -05:00
J. Nick Koston 3dbdcab7e5 try a forward dec 2025-10-06 15:06:26 -05:00
J. Nick Koston 0887164d38 Merge branch 'dev' into esp32_core 2025-10-06 14:34:50 -05:00
J. Nick Koston c4f0f14696 [esp32] Fix clang-tidy error for Arduino watchdog function declarations 2025-10-06 14:33:10 -05:00
J. Nick Koston cb8765a1dd Merge branch 'integration' into memory_api 2025-10-06 14:17:42 -05:00
J. Nick Koston a76af3ca65 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-06 14:17:33 -05:00
Jesse Hills 8ef8a7eaaf Merge branch 'dev' into jesserockz-2025-457 2025-10-07 07:35:49 +13:00
J. Nick Koston 553b65b998 Merge branch 'integration' into memory_api 2025-10-06 12:41:56 -05:00
J. Nick Koston ce92b9b810 Merge branch 'uuid_compare_was_overly_complex' into integration 2025-10-06 12:41:51 -05:00
J. Nick Koston d2cad4cae9 [esp32_ble] Refactor ESPBTUUID comparison with direct returns and memcmp 2025-10-06 12:40:04 -05:00
J. Nick Koston 5daccc92c6 Merge branch 'integration' into memory_api 2025-10-06 12:34:44 -05:00
J. Nick Koston 88230b9400 Merge branch 'espuuid_hex' into integration 2025-10-06 12:34:38 -05:00
J. Nick Koston c2d75bf29a [esp32_ble] Refactor ESPBTUUID::from_raw to use parse_hex helpers 2025-10-06 12:12:54 -05:00
J. Nick Koston 4b09d3a11b Merge branch 'integration' into memory_api 2025-10-06 12:00:27 -05:00
J. Nick Koston 88ef521129 Merge branch 'esp32_ble_server_early_bail' into integration 2025-10-06 12:00:21 -05:00
J. Nick Koston 63a48dd1d8 adjust confusing comment 2025-10-06 11:59:34 -05:00
J. Nick Koston fae8b5f16a Merge branch 'integration' into memory_api 2025-10-06 11:57:44 -05:00
J. Nick Koston 40da1b73cc Merge branch 'esp32_ble_server_early_bail' into integration 2025-10-06 11:57:37 -05:00
J. Nick Koston 2294bdd8f0 Merge branch 'esp32_ble_server_cleanup' into integration 2025-10-06 11:57:34 -05:00
J. Nick Koston f4b3732ee1 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-06 11:57:24 -05:00
J. Nick Koston c3ac3736cf [esp32_ble_server] Use early returns in is_created() and is_failed() methods 2025-10-06 11:55:04 -05:00
J. Nick Koston 9280a8762c [esp32_ble_server] Refactor property setters to reduce code duplication 2025-10-06 11:47:16 -05:00
Jesse Hills 0e0b67f126 Split response and error triggers
Simplify variables in response lambdas to JsonObject
Use `const char *` for message and parse to json right away
2025-10-06 17:04:47 +13:00
J. Nick Koston 3ab91e1f8b Merge branch 'integration' into memory_api 2025-10-05 22:51:51 -05:00
J. Nick Koston b503e49739 revert 2025-10-05 22:51:36 -05:00
J. Nick Koston a159e4762a Merge branch 'dev' into api_size_limits 2025-10-05 22:29:00 -05:00
Jesse Hills a405592385 Update esphome/components/api/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-10-06 13:32:09 +13:00
J. Nick Koston 0a45aad842 Merge branch 'integration' into memory_api 2025-10-05 17:23:15 -05:00
J. Nick Koston 2919f14100 merge 2025-10-05 17:23:06 -05:00
J. Nick Koston 0e04b5ce61 Merge branch 'integration' into memory_api 2025-10-05 17:22:14 -05:00
J. Nick Koston 825e110f1a Merge remote-tracking branch 'upstream/dev' into integration 2025-10-05 17:22:08 -05:00
J. Nick Koston 6cedaee76a Merge branch 'light_validation_dupe_code' into integration 2025-10-05 17:21:45 -05:00
J. Nick Koston a65b75efe3 Update esphome/components/light/light_call.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-05 17:21:26 -05:00
J. Nick Koston c9a70eb270 Merge branch 'wifi_logging_opt' into memory_api 2025-10-05 17:11:28 -05:00
J. Nick Koston 71a254a126 Merge branch 'integration' into memory_api 2025-10-05 17:10:30 -05:00
J. Nick Koston b963526d2f Merge branch 'esp32_ble_server_unique_ptr_mfr_data' into integration 2025-10-05 17:10:24 -05:00
J. Nick Koston 6b5d1b4400 Merge branch 'light_validation_dupe_code' into integration 2025-10-05 17:08:54 -05:00
J. Nick Koston 6b87187c66 [esp32_ble_server] Optimize manufacturer_data storage to reduce memory overhead 2025-10-05 17:00:32 -05:00
J. Nick Koston 795865e139 Merge remote-tracking branch 'upstream/dev' into ble_connections_slots_are_shared_client_server 2025-10-05 16:12:48 -05:00
J. Nick Koston 1b4c5f7976 [light] Reduce flash usage by eliminating duplicate validation code 2025-10-05 16:09:12 -05:00
J. Nick Koston 6841d40d07 Merge branch 'integration' into memory_api 2025-10-05 14:43:26 -05:00
J. Nick Koston 58f917030e Merge remote-tracking branch 'upstream/dev' into integration 2025-10-05 14:43:19 -05:00
J. Nick Koston 4687e58b03 help bot 2025-10-04 22:02:32 -05:00
J. Nick Koston b31f381444 wip 2025-10-04 21:19:26 -05:00
J. Nick Koston f2a84052db Merge branch 'integration' into memory_api 2025-10-04 20:31:35 -05:00
J. Nick Koston c796c02b3a Merge branch 'esp32_ble_name' into integration 2025-10-04 20:31:29 -05:00
J. Nick Koston 03d61dffad [esp32_ble] Optimize string operations to reduce flash usage by 264 bytes 2025-10-04 20:25:06 -05:00
J. Nick Koston 481c87aac3 Merge branch 'integration' into memory_api 2025-10-04 20:18:05 -05:00
J. Nick Koston 3f4a9771c5 Merge branch 'wifi_logging_opt' into integration 2025-10-04 20:17:58 -05:00
J. Nick Koston 6cf6fcf4e6 [wifi] Optimize logging to reduce flash usage by 284 bytes on ESP8266 2025-10-04 20:12:47 -05:00
J. Nick Koston 244ed9f95f Merge branch 'integration' into memory_api 2025-10-04 13:58:45 -05:00
J. Nick Koston 89c91d3ddc Merge branch 'ethernet_macro_dupe' into integration 2025-10-04 13:58:40 -05:00
J. Nick Koston 07840539d7 [ethernet] Consolidate error handling to reduce flash usage 2025-10-04 13:57:55 -05:00
J. Nick Koston 0178bd166d Merge branch 'integration' into memory_api 2025-10-04 13:48:39 -05:00
J. Nick Koston b3fc8ccfca Merge branch 'mac_address_valid_double_loop_fix' into integration 2025-10-04 13:48:33 -05:00
J. Nick Koston 737bf2cde5 [core] Merge duplicate loops in mac_address_is_valid() 2025-10-04 13:37:41 -05:00
J. Nick Koston 1ec74583a6 Merge branch 'integration' into memory_api 2025-10-04 13:08:16 -05:00
J. Nick Koston 1b4076cc13 Merge branch 'scheduler_item_removal_dedupe_code' into integration 2025-10-04 13:08:11 -05:00
J. Nick Koston 82dbf05e7f [scheduler] Deduplicate item removal code with template helper 2025-10-04 13:07:34 -05:00
J. Nick Koston 395aef5a13 Merge branch 'integration' into memory_api 2025-10-04 12:46:45 -05:00
J. Nick Koston 9ff12c9c8f Merge branch 'api_connection_tiny_cleanup' into integration 2025-10-04 12:46:40 -05:00
J. Nick Koston f00e9528da [api] Simplify message reading conditional 2025-10-04 12:45:51 -05:00
J. Nick Koston 8f4decdce4 Merge branch 'integration' into memory_api 2025-10-04 12:40:48 -05:00
J. Nick Koston deede5a479 Merge branch 'api_logging_cleanups' into integration 2025-10-04 12:40:43 -05:00
J. Nick Koston 0d5eb79000 [api] Consolidate fatal error logging to reduce flash usage 2025-10-04 12:40:02 -05:00
J. Nick Koston 76afcc7647 Merge branch 'integration' into memory_api 2025-10-04 11:25:30 -05:00
J. Nick Koston 2806b5e314 Merge remote-tracking branch 'upstream/dev' into integration 2025-10-04 11:25:21 -05:00
J. Nick Koston c640792482 Merge branch 'integration' into memory_api 2025-10-04 00:26:26 -05:00
J. Nick Koston 2a85ba1949 Merge branch 'ota_fix_s3' into integration 2025-10-04 00:26:20 -05:00
J. Nick Koston 44ffd08c33 [esphome.ota] Fix ESP32-S3 OTA authentication with hardware SHA acceleration 2025-10-04 00:22:18 -05:00
J. Nick Koston 5600e52207 Merge branch 'integration' into memory_api 2025-10-03 20:35:52 -05:00
J. Nick Koston c558308d6f Merge branch 'use_idf_webserver_esp32' into integration 2025-10-03 20:35:44 -05:00
J. Nick Koston 7060771cb4 missed one 2025-10-03 20:35:33 -05:00
J. Nick Koston e27df825f8 Merge branch 'integration' into memory_api 2025-10-03 19:40:40 -05:00
J. Nick Koston 683d3fd19f Merge branch 'json_missing_define' into integration 2025-10-03 19:40:35 -05:00
J. Nick Koston 7d35c46ad3 [json] Fix missing defines.h include causing PSRAM allocator to be unused 2025-10-03 19:36:56 -05:00
J. Nick Koston e20ad92bf7 Merge branch 'integration' into memory_api 2025-10-03 18:38:55 -05:00
J. Nick Koston 2b6fc94f31 Merge branch 'bound_tx_buf' into integration 2025-10-03 18:38:50 -05:00
J. Nick Koston 61d3a9a93a Merge remote-tracking branch 'upstream/dev' into bound_tx_buf 2025-10-03 18:38:20 -05:00
J. Nick Koston ef3ab92979 Merge branch 'integration' into memory_api 2025-10-03 18:34:25 -05:00
J. Nick Koston a51c288cf6 Merge branch 'ble_connections_slots_are_shared_client_server' into integration 2025-10-03 18:34:19 -05:00
J. Nick Koston 60f67382be copilot review comments 2025-10-03 18:31:21 -05:00
J. Nick Koston 944514eea4 Merge branch 'integration' into memory_api 2025-10-03 18:21:34 -05:00
J. Nick Koston e2f25500bf Merge branch 'ble_connections_slots_are_shared_client_server' into integration 2025-10-03 18:21:29 -05:00
J. Nick Koston 6ebdb61098 Merge upstream/dev into ble_connections_slots_are_shared_client_server 2025-10-03 18:21:00 -05:00
J. Nick Koston 34e0620765 Merge branch 'integration' into memory_api 2025-10-03 18:11:25 -05:00
J. Nick Koston 389c76a922 Merge branch 'ble_connections_slots_are_shared_client_server' into integration 2025-10-03 18:11:17 -05:00
J. Nick Koston 6b02b0cb59 remove default from tracker 2025-10-03 18:09:54 -05:00
J. Nick Koston d660207c12 Merge branch 'integration' into memory_api 2025-10-03 18:07:17 -05:00
J. Nick Koston eb9befde4d merge 2025-10-03 18:07:10 -05:00
J. Nick Koston 249080d118 Merge branch 'integration' into memory_api 2025-10-03 18:04:25 -05:00
J. Nick Koston 8cda4127bc Merge branch 'conf_max_connections' into integration 2025-10-03 18:04:17 -05:00
J. Nick Koston e3d12cbac7 Create CONF_MAX_CONNECTIONS const 2025-10-03 18:01:15 -05:00
J. Nick Koston d697d5df8b preen 2025-10-03 17:56:14 -05:00
J. Nick Koston 1570f83fd8 lint 2025-10-03 17:50:56 -05:00
J. Nick Koston f16f826f12 its shared 2025-10-03 17:42:46 -05:00
J. Nick Koston 5e9c9e8e79 Merge branch 'integration' into memory_api 2025-10-03 17:08:07 -05:00
J. Nick Koston 0165c3d79b Merge branch 'std_map_overkill_wifi' into integration 2025-10-03 17:08:02 -05:00
J. Nick Koston 11a4d31e90 [wifi] Optimize WPA2 EAP phase2 logging to reduce memory overhead 2025-10-03 17:04:57 -05:00
J. Nick Koston 7887e136d6 Merge branch 'integration' into memory_api 2025-10-03 16:56:45 -05:00
J. Nick Koston c30bd49568 Merge branch 'use_idf_webserver_esp32' into integration 2025-10-03 16:56:37 -05:00
J. Nick Koston 7621eb1f6e revert clang-tidy changes, copilot disagrees 2025-10-03 16:54:11 -05:00
J. Nick Koston 11b113b9db Merge branch 'dev' into use_idf_webserver_esp32 2025-10-03 16:42:21 -05:00
J. Nick Koston a3f4863fdc Merge branch 'integration' into memory_api 2025-10-03 16:41:25 -05:00
J. Nick Koston 76fc04f286 Merge branch 'idf_query' into integration 2025-10-03 16:41:20 -05:00
J. Nick Koston e19b48599c fix dangling pointer 2025-10-03 16:40:10 -05:00
J. Nick Koston 9e6dc91051 Merge branch 'integration' into memory_api 2025-10-03 16:06:56 -05:00
J. Nick Koston b678b23a34 Merge branch 'logger_runtime_tags' into integration 2025-10-03 16:06:50 -05:00
J. Nick Koston 22d1729c5c Merge branch 'dev' into logger_runtime_tags 2025-10-03 16:06:38 -05:00
J. Nick Koston 28324adfb9 [logger] Conditionally compile runtime tag-specific log levels for performance 2025-10-03 16:03:30 -05:00
J. Nick Koston d909910d6d Merge branch 'integration' into memory_api 2025-10-03 15:32:28 -05:00
J. Nick Koston 6f7afef08c Merge branch 'idf_query' into integration 2025-10-03 15:32:20 -05:00
J. Nick Koston 0f05f5119a [web_server_idf] Improve parameter caching security and reduce memory overhead 2025-10-03 15:31:09 -05:00
J. Nick Koston c78dc048d8 Merge branch 'integration' into memory_api 2025-10-03 14:58:25 -05:00
J. Nick Koston 3c3202bcf3 Merge branch 'fix_watchdog_reset_idf_web_server' into integration 2025-10-03 14:58:19 -05:00
J. Nick Koston 006f8e0bac tidy 2025-10-03 14:58:08 -05:00
J. Nick Koston 7b65279021 Merge branch 'integration' into memory_api 2025-10-03 14:32:17 -05:00
J. Nick Koston 85025ff3f7 Merge branch 'fix_watchdog_reset_idf_web_server' into integration 2025-10-03 14:32:11 -05:00
J. Nick Koston 0938abbcae fix 2025-10-03 14:32:02 -05:00
J. Nick Koston 916984b616 Merge branch 'integration' into memory_api 2025-10-03 14:23:48 -05:00
J. Nick Koston 5252a03102 Merge branch 'use_idf_webserver_esp32' into integration 2025-10-03 14:23:42 -05:00
J. Nick Koston 64268ff838 missed one 2025-10-03 14:23:29 -05:00
J. Nick Koston 095542035e Merge branch 'integration' into memory_api 2025-10-03 14:21:34 -05:00
J. Nick Koston 580cfebfcf Merge branch 'fix_watchdog_reset_idf_web_server' into integration 2025-10-03 14:21:26 -05:00
J. Nick Koston 88e40a3fc8 [web_server_idf] Fix watchdog timeout with unreliable event source connections 2025-10-03 14:17:12 -05:00
J. Nick Koston 834ce57a75 fix libs 2025-10-03 09:25:31 -05:00
J. Nick Koston 52a19e916c fix libs 2025-10-03 09:18:36 -05:00
J. Nick Koston 1a2be1e579 fix libs 2025-10-03 09:12:24 -05:00
J. Nick Koston d687650bf2 fix libs 2025-10-03 09:02:16 -05:00
J. Nick Koston eecf7093ce fix libs 2025-10-03 08:55:58 -05:00
J. Nick Koston e068df06e2 fix libs 2025-10-03 08:45:17 -05:00
J. Nick Koston b3edda224f fix 2025-10-03 08:37:07 -05:00
J. Nick Koston 03dd169f1b fix 2025-10-03 08:02:45 -05:00
J. Nick Koston 74a6ef2604 preen 2025-10-03 07:40:57 -05:00
J. Nick Koston 18dcd8ebbc Merge branch 'dev' into use_idf_webserver_esp32 2025-10-03 14:37:23 +02:00
J. Nick Koston fddeb482b5 fix compat 2025-10-03 07:36:23 -05:00
J. Nick Koston 0388dad588 [web_server] Use ESP-IDF web server for ESP32 Arduino builds 2025-10-02 21:32:18 -05:00
J. Nick Koston d8fe655285 always use idf webserver on esp32 2025-10-02 21:19:45 -05:00
J. Nick Koston 29551832b3 Merge branch 'integration' into memory_api 2025-10-03 00:46:01 +02:00
J. Nick Koston f607388c5f Merge branch 'no_mod_logger' into integration 2025-10-03 00:45:53 +02:00
J. Nick Koston abcbdece2e handle >999 2025-10-03 00:33:03 +02:00
J. Nick Koston ed907f842d handle >999 2025-10-03 00:30:43 +02:00
J. Nick Koston aa1c5b5daa show BIG on overflow 2025-10-03 00:26:17 +02:00
J. Nick Koston f7cbb5d647 Merge branch 'integration' into memory_api 2025-10-02 23:06:43 +02:00
J. Nick Koston 976b55ed2e Merge branch 'webserver_string_construction_reduce' into integration 2025-10-02 23:06:36 +02:00
J. Nick Koston f5fc06fd9e preen 2025-10-02 23:03:53 +02:00
J. Nick Koston 10a16c3761 preen 2025-10-02 23:03:01 +02:00
J. Nick Koston cd1b47667b preen 2025-10-02 23:02:46 +02:00
J. Nick Koston 86f2d2e5c2 Merge remote-tracking branch 'upstream/memory_api' into memory_api 2025-10-02 22:14:58 +02:00
J. Nick Koston 650f2f915a Merge branch 'webserver_string_construction_reduce' into memory_api 2025-10-02 22:14:12 +02:00
J. Nick Koston 403bfdc68a Merge branch 'webserver_string_construction_reduce' into integration 2025-10-02 22:14:02 +02:00
J. Nick Koston e69d18195b [web_server] Reduce flash and RAM usage by optimizing string construction 2025-10-02 22:12:12 +02:00
J. Nick Koston 9865320c88 Merge branch 'integration' into memory_api 2025-10-02 20:08:01 +02:00
J. Nick Koston dd38b911f1 Merge branch 'no_std_pair' into integration 2025-10-02 20:07:49 +02:00
J. Nick Koston 3b0393bd3b Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-10-02 20:07:46 +02:00
J. Nick Koston 9d8ff38a85 [core] Replace std::pair with purpose-built named structs for component metadata 2025-10-02 20:04:29 +02:00
J. Nick Koston be4af0a977 Merge branch 'integration' into memory_api 2025-10-02 16:45:45 +02:00
J. Nick Koston 484af4a38b Merge branch 'number_call_logging' into integration 2025-10-02 16:45:00 +02:00
J. Nick Koston 8931dcf409 reduce 2025-10-02 16:33:22 +02:00
J. Nick Koston 1fc4d1acfb number 2025-10-02 16:20:42 +02:00
J. Nick Koston 5374df73ed number 2025-10-02 16:18:06 +02:00
J. Nick Koston 28e8750ad6 Merge branch 'integration' into memory_api 2025-10-02 14:20:41 +02:00
J. Nick Koston c4d18ae292 Merge branch 'no_mod_logger' into integration 2025-10-02 14:20:30 +02:00
J. Nick Koston a4cb14a76a Apply Copilot review suggestion: use remainder variable instead of modifying line parameter 2025-10-02 13:18:19 +02:00
J. Nick Koston 772450f1b3 no mod 2025-10-02 11:43:27 +02:00
J. Nick Koston bd6169ce34 Merge branch 'integration' into memory_api 2025-10-02 10:08:55 +02:00
J. Nick Koston e4388ba48b Merge remote-tracking branch 'upstream/dev' into integration 2025-10-02 10:08:46 +02:00
J. Nick Koston e845bb3404 Merge branch 'integration' into memory_api 2025-10-02 00:22:06 +02:00
J. Nick Koston d0b6fbdf73 Merge branch 'lock_mask' into integration 2025-10-02 00:21:59 +02:00
J. Nick Koston ff55e03a5f back compat 2025-10-02 00:20:25 +02:00
J. Nick Koston b44b3cbb41 back compat 2025-10-02 00:15:55 +02:00
J. Nick Koston 2cdc04fa27 Merge branch 'integration' into memory_api 2025-10-02 00:04:56 +02:00
J. Nick Koston fd65e560e8 Merge branch 'lock_mask' into integration 2025-10-02 00:04:47 +02:00
J. Nick Koston efc8a8b904 [lock] Replace std::set with bitmask (saves 388B flash + 23B RAM per lock) 2025-10-02 00:04:10 +02:00
J. Nick Koston 28bc3c20ad Merge branch 'integration' into memory_api 2025-10-01 23:35:54 +02:00
J. Nick Koston 729de03305 Merge branch 'mdns_services_const' into integration 2025-10-01 23:35:47 +02:00
J. Nick Koston 15ca069d58 preen 2025-10-01 23:34:12 +02:00
J. Nick Koston 86bfedc30e preen 2025-10-01 23:30:33 +02:00
J. Nick Koston 785ad0cd47 preen 2025-10-01 23:27:14 +02:00
J. Nick Koston 76defeac39 preen 2025-10-01 23:26:29 +02:00
J. Nick Koston fabeae554f Merge branch 'integration' into memory_api 2025-10-01 23:10:25 +02:00
J. Nick Koston daf2e81f1d Merge branch 'mdns_services_const' into integration 2025-10-01 23:10:18 +02:00
J. Nick Koston 03c869bd43 update comment 2025-10-01 23:05:59 +02:00
J. Nick Koston 636d1e16f2 update comment 2025-10-01 23:05:30 +02:00
J. Nick Koston 4208bad94d Merge branch 'integration' into memory_api 2025-10-01 22:49:37 +02:00
J. Nick Koston 5df3745304 Merge branch 'mdns_services_const' into integration 2025-10-01 22:49:28 +02:00
J. Nick Koston de2838fa66 preen 2025-10-01 22:35:33 +02:00
J. Nick Koston b4b8b43bd7 preen 2025-10-01 22:34:32 +02:00
J. Nick Koston 30df2cb9ee preen 2025-10-01 22:33:50 +02:00
J. Nick Koston 03e0fbd657 preen 2025-10-01 22:33:22 +02:00
J. Nick Koston c12eba9590 preen 2025-10-01 22:32:28 +02:00
J. Nick Koston 2eb35f83b7 preen 2025-10-01 22:31:55 +02:00
J. Nick Koston 518402f031 preen 2025-10-01 22:31:04 +02:00
J. Nick Koston 9647fd26f7 Merge remote-tracking branch 'upstream/dev' into mdns_services_const 2025-10-01 22:26:08 +02:00
J. Nick Koston 21d7dc2b9b [mdns][openthread] Use std::array for mdns services and remove unnecessary copy 2025-10-01 22:25:11 +02:00
J. Nick Koston a9dc0628c4 [mdns][openthread] Use std::array for mdns services and remove unnecessary copy 2025-10-01 22:21:58 +02:00
J. Nick Koston b89d969d09 Merge branch 'integration' into memory_api 2025-10-01 21:36:07 +02:00
J. Nick Koston 9e2e4f56ad Merge branch 'bound_tx_buf' into integration 2025-10-01 21:36:01 +02:00
J. Nick Koston b252486587 preen 2025-10-01 21:13:05 +02:00
J. Nick Koston 73c6411a1b Merge branch 'bound_tx_buf' into integration 2025-10-01 21:08:59 +02:00
J. Nick Koston 65384ef31a style 2025-10-01 21:08:49 +02:00
J. Nick Koston 829f9fb9bc style 2025-10-01 21:08:31 +02:00
J. Nick Koston 5afe2ea48e Merge branch 'integration' into memory_api 2025-10-01 20:47:48 +02:00
J. Nick Koston fa548e20da Merge branch 'bound_tx_buf' into integration 2025-10-01 20:47:21 +02:00
J. Nick Koston 4b10bf09be tweak, compiler optimizes it away anyways though 2025-10-01 20:36:40 +02:00
J. Nick Koston a4c794c9fa tweak, compiler optimizes it away anyways though 2025-10-01 20:34:51 +02:00
J. Nick Koston b7ab9773a3 Merge branch 'integration' into memory_api 2025-10-01 18:20:48 +02:00
J. Nick Koston cc5b9ba4d6 Merge branch 'bound_tx_buf' into integration 2025-10-01 18:20:40 +02:00
J. Nick Koston adade2952a 64 2025-10-01 18:17:41 +02:00
J. Nick Koston f3330118ba [api] Add configurable send queue limit to prevent OOM crashes 2025-10-01 18:13:57 +02:00
J. Nick Koston 0cabe6d28e Merge branch 'integration' into memory_api 2025-10-01 17:06:11 +02:00
J. Nick Koston 2b374529f4 Merge branch 'client_info_flash' into integration 2025-10-01 17:06:01 +02:00
J. Nick Koston 85a6f85f2d Merge remote-tracking branch 'upstream/dev' into client_info_flash 2025-10-01 16:39:08 +02:00
J. Nick Koston f4aea8fa7a tweak 2025-10-01 16:35:26 +02:00
J. Nick Koston 767753bdda Merge branch 'integration' into memory_api 2025-10-01 16:08:09 +02:00
J. Nick Koston 7b89647217 Merge branch 'user_services' into integration 2025-10-01 16:08:01 +02:00
J. Nick Koston dab9a77c1a lint 2025-10-01 16:01:52 +02:00
J. Nick Koston 8c9c2ea3ec Merge branch 'integration' into memory_api 2025-10-01 15:57:57 +02:00
J. Nick Koston 9a240b64ce Merge branch 'user_services' into integration 2025-10-01 15:57:51 +02:00
J. Nick Koston 1b5ad59da5 [api] Reduce flash usage in user services by eliminating vector copy 2025-10-01 15:57:16 +02:00
J. Nick Koston 5a407a7edf Merge branch 'dev' into client_info_flash 2025-10-01 15:41:14 +02:00
J. Nick Koston d0f9b54d95 Merge branch 'dev' into client_info_flash 2025-10-01 15:24:17 +02:00
J. Nick Koston 8ef4fc4fe9 Merge branch 'integration' into memory_api 2025-10-01 15:20:45 +02:00
J. Nick Koston dee7ae7f63 Merge branch 'client_info_flash' into integration 2025-10-01 15:20:36 +02:00
J. Nick Koston a760f7d604 [api] Remove ClientInfo::get_combined_info() to eliminate heap fragmentation 2025-10-01 15:04:26 +02:00
J. Nick Koston fc2f44fa77 Merge branch 'integration' into memory_api 2025-10-01 13:36:04 +02:00
J. Nick Koston a1ce92e406 Merge branch 'comp_align' into integration 2025-10-01 13:35:55 +02:00
J. Nick Koston 57d4cc151d [core] Fix ComponentIterator alignment for 32-bit platforms 2025-10-01 13:34:54 +02:00
J. Nick Koston ef0079609e Merge branch 'integration' into memory_api 2025-10-01 13:09:34 +02:00
J. Nick Koston 0e64d25a50 Merge branch 'logging_speed_up' into integration 2025-10-01 13:09:26 +02:00
J. Nick Koston 774efad78b preen 2025-10-01 12:59:01 +02:00
J. Nick Koston 3c594a7520 preen 2025-10-01 12:38:33 +02:00
J. Nick Koston 40c4fadd2c ansi color 2025-10-01 12:10:19 +02:00
J. Nick Koston f0408fb121 Merge branch 'integration' into memory_api 2025-10-01 04:58:22 +02:00
J. Nick Koston d36b0a38c9 Merge branch 'logging_speed_up' into integration 2025-10-01 04:58:11 +02:00
J. Nick Koston e7b2cdd03c preen 2025-10-01 03:59:43 +02:00
J. Nick Koston 4a3475f94d preen 2025-10-01 03:54:28 +02:00
Jesse Hills 211a8c872b Add action response to tests 2025-10-01 13:58:19 +13:00
Jesse Hills f4b7009c96 move callback 2025-10-01 13:50:07 +13:00
J. Nick Koston 21b22ccd34 Merge branch 'integration' into memory_api 2025-10-01 02:43:56 +02:00
J. Nick Koston cf26ec66a0 Merge branch 'logging_speed_up' into integration 2025-10-01 02:43:50 +02:00
J. Nick Koston 2e47315d81 [logger] Optimize log formatting performance (33-67% faster) 2025-10-01 01:42:14 +02:00
J. Nick Koston d558e68cf3 [logger] Optimize log formatting performance (33-67% faster) 2025-10-01 01:41:40 +02:00
J. Nick Koston ec3adaae5c [logger] Optimize log formatting performance (33-67% faster) 2025-10-01 01:41:27 +02:00
J. Nick Koston 9bffa2faa6 [logger] Optimize log formatting performance (33-67% faster) 2025-10-01 01:36:35 +02:00
J. Nick Koston 502cd2b54d [logger] Optimize log formatting performance (33-67% faster) 2025-10-01 01:33:49 +02:00
Jesse Hills 226399222d move error message 2025-10-01 11:16:07 +13:00
Jesse Hills 9a95ec95f9 Merge branch 'dev' into jesserockz-2025-457 2025-10-01 11:12:55 +13:00
Jesse Hills 2ef4f3c65f Update esphome/components/api/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 08:45:58 +13:00
J. Nick Koston c9088fcaf2 Merge branch 'integration' into memory_api 2025-09-30 18:29:15 +02:00
J. Nick Koston 65dae1232f Merge remote-tracking branch 'upstream/dev' into integration 2025-09-30 18:28:49 +02:00
J. Nick Koston 212933ec29 Merge branch 'web_server_more_tables' into memory_api 2025-09-30 14:11:57 +02:00
J. Nick Koston fa89617a56 Merge branch 'integration' into memory_api 2025-09-30 13:59:59 +02:00
J. Nick Koston edff3af3ae Merge branch 'dhcp_option_114' into integration 2025-09-30 13:59:30 +02:00
J. Nick Koston d30a3f0d83 [captive_portal] Add DHCP Option 114 support for ESP32 2025-09-30 11:53:15 +02:00
J. Nick Koston 950310e49a [web_server] Optimize handler methods with lookup tables to reduce flash usage 2025-09-30 11:08:48 +02:00
J. Nick Koston 823d97d216 Merge branch 'integration' into memory_api 2025-09-30 10:31:17 +02:00
J. Nick Koston db6751570a Merge remote-tracking branch 'upstream/dev' into integration 2025-09-30 10:30:58 +02:00
Jesse Hills 6c362d42c3 [api] Add support for getting action responses from home-assistant 2025-09-30 15:28:41 +13:00
J. Nick Koston 29b6a1a6aa add comments to explain to copilot why std::vector convert is needed 2025-09-29 20:15:31 -05:00
J. Nick Koston d381a220f7 Merge branch 'integration' into memory_api 2025-09-29 20:00:45 -05:00
J. Nick Koston d7d66a1d2e Merge branch 'event_emitter_cleanup' into integration 2025-09-29 20:00:39 -05:00
J. Nick Koston 0dfb18a307 cleanup 2025-09-29 19:59:05 -05:00
J. Nick Koston 0cdfcad54d cleanup 2025-09-29 19:46:34 -05:00
J. Nick Koston daa18bdbaf Merge branch 'integration' into memory_api 2025-09-29 19:14:40 -05:00
J. Nick Koston 3e50987963 Merge branch 'event_emitter_cleanup' into integration 2025-09-29 19:14:33 -05:00
J. Nick Koston 47a10e4be1 sever needs multi 2025-09-29 19:07:17 -05:00
J. Nick Koston a260c31a63 preen 2025-09-29 18:57:05 -05:00
J. Nick Koston e9299e8671 Apply suggestions from code review 2025-09-29 18:54:30 -05:00
J. Nick Koston 0eef3caa37 Merge branch 'integration' into memory_api 2025-09-29 18:51:24 -05:00
J. Nick Koston caca945d18 Merge branch 'event_emitter_cleanup' into integration 2025-09-29 18:51:01 -05:00
J. Nick Koston 87b54daee0 wip 2025-09-29 18:17:25 -05:00
J. Nick Koston 43d8e213f6 wip 2025-09-29 18:15:25 -05:00
J. Nick Koston 9ff838bf35 wip 2025-09-29 18:13:46 -05:00
J. Nick Koston d802d70311 wip 2025-09-29 18:07:46 -05:00
J. Nick Koston e7750250e0 wip 2025-09-29 17:55:26 -05:00
J. Nick Koston 9efe9f1c19 wip 2025-09-29 17:49:03 -05:00
J. Nick Koston ee50ea31b4 Merge branch 'integration' into memory_api 2025-09-29 16:41:35 -05:00
J. Nick Koston 8259fd29e3 Merge branch 'deep_sleep_fixes' into integration 2025-09-29 16:41:13 -05:00
J. Nick Koston c2d9d66bb0 Remove C2 and H2 from component test matrix to avoid CI disk space issues 2025-09-29 14:39:56 -05:00
J. Nick Koston d1e068cdc3 Merge remote-tracking branch 'upstream/dev' into deep_sleep_fixes 2025-09-29 14:39:08 -05:00
J. Nick Koston b11a52fd1e Remove C2 and H2 from component test matrix to avoid CI disk space issues 2025-09-29 14:38:54 -05:00
J. Nick Koston c1081fbff7 Merge branch 'integration' into memory_api 2025-09-29 14:05:43 -05:00
J. Nick Koston 26ab6291f1 Merge branch 'script_name' into integration 2025-09-29 14:05:36 -05:00
J. Nick Koston c0ff48de17 fix 2025-09-29 14:05:27 -05:00
J. Nick Koston 07e230b6a7 Merge branch 'integration' into memory_api 2025-09-29 14:00:46 -05:00
J. Nick Koston 7249f3d167 Merge branch 'script_name' into integration 2025-09-29 14:00:40 -05:00
J. Nick Koston 8ca9e2d015 [script] Reduce RAM usage by storing names in flash 2025-09-29 13:59:39 -05:00
J. Nick Koston 4f1c4ada9f Merge branch 'integration' into memory_api 2025-09-29 13:13:52 -05:00
J. Nick Koston 6a849a1d49 Merge branch 'esp8266_socket_overhead' into integration 2025-09-29 13:13:26 -05:00
J. Nick Koston e23c97d9e9 Merge branch 'api_limits' into integration 2025-09-29 13:13:17 -05:00
J. Nick Koston 3560d6ca96 sane 2025-09-29 12:45:24 -05:00
J. Nick Koston 8b76b59a45 [socket] Reduce memory overhead for LWIP TCP accept queue on ESP8266/RP2040 2025-09-29 12:05:59 -05:00
J. Nick Koston bb82496c12 limtis 2025-09-29 12:04:27 -05:00
J. Nick Koston 825d24f4d0 Merge branch 'integration' into memory_api 2025-09-29 10:02:05 -05:00
J. Nick Koston a888a72859 Merge branch 'api_size_limits' into integration 2025-09-29 10:01:54 -05:00
J. Nick Koston 6b83e55088 [api] Add message size limits to prevent memory exhaustion 2025-09-29 09:58:36 -05:00
J. Nick Koston 7975f12d60 [esp32] deep sleep fixes to align with variant support 2025-09-28 22:31:27 -05:00
J. Nick Koston 0af79adb4a Merge branch 'integration' into memory_api 2025-09-28 21:34:32 -05:00
J. Nick Koston 7ead15c987 Merge branch 'guard_trq_allocation' into integration 2025-09-28 21:34:24 -05:00
J. Nick Koston b8bbe91e67 switch to != per discord review comemnts 2025-09-28 21:33:35 -05:00
J. Nick Koston 9705663e62 no need to copy 2025-09-28 21:29:38 -05:00
J. Nick Koston 1917d2b0af Merge branch 'integration' into memory_api 2025-09-28 18:54:40 -05:00
J. Nick Koston b74193e730 Merge branch 'guard_trq_allocation' into integration 2025-09-28 18:54:35 -05:00
J. Nick Koston 5334ddd9f0 Update esphome/components/usb_host/usb_host_client.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-28 18:54:14 -05:00
J. Nick Koston f2ee0195de fix retry 2025-09-28 18:53:31 -05:00
J. Nick Koston 4652bfa312 Merge branch 'integration' into memory_api 2025-09-28 18:50:46 -05:00
J. Nick Koston f2e1e1d8cc Merge branch 'guard_trq_allocation' into integration 2025-09-28 18:50:39 -05:00
J. Nick Koston a37cd67bc3 add static assert to ensure we do not break it in the future 2025-09-28 18:49:53 -05:00
J. Nick Koston d015457d76 Merge branch 'integration' into memory_api 2025-09-28 18:44:23 -05:00
J. Nick Koston ef09159e4a Merge branch 'guard_trq_allocation' into integration 2025-09-28 18:44:16 -05:00
J. Nick Koston 73ce3d4ef6 reduce flash usag 2025-09-28 18:44:08 -05:00
J. Nick Koston 0945912979 Merge branch 'guard_trq_allocation' into memory_api 2025-09-28 18:43:06 -05:00
J. Nick Koston c37cd31706 Merge branch 'guard_trq_allocation' into integration 2025-09-28 18:43:02 -05:00
J. Nick Koston d65b1fad67 fix underflow 2025-09-28 18:41:20 -05:00
J. Nick Koston e51b16a9c4 Merge branch 'integration' into memory_api 2025-09-28 18:27:26 -05:00
J. Nick Koston 19186507bb Merge branch 'guard_trq_allocation' into integration 2025-09-28 18:27:18 -05:00
J. Nick Koston e07af13bef [usb_host] Fix double-free crash with lock-free atomic pool allocation 2025-09-28 18:25:29 -05:00
J. Nick Koston 1af6432c31 Merge branch 'integration' into memory_api 2025-09-27 13:59:32 -05:00
J. Nick Koston 1e10ee8388 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:59:27 -05:00
J. Nick Koston ddd004985b fix auto load 2025-09-27 13:52:49 -05:00
J. Nick Koston f6cc548d19 fix auto load 2025-09-27 13:52:38 -05:00
J. Nick Koston 4fa9c00158 Merge branch 'make_captive_portal_captive' into memory_api 2025-09-27 13:46:42 -05:00
J. Nick Koston 42c6a3b878 Merge branch 'integration' into memory_api 2025-09-27 13:46:33 -05:00
J. Nick Koston d418b8d4d6 Merge branch 'imporv_name' into integration 2025-09-27 13:46:21 -05:00
J. Nick Koston f387e7690c nesting 2025-09-27 13:46:12 -05:00
J. Nick Koston 7e4cfe369d make bot happy 2025-09-27 13:45:12 -05:00
J. Nick Koston c17e38e58f order matters 2025-09-27 13:39:03 -05:00
J. Nick Koston 7612944616 tidy, i ts needed for arudino 2025-09-27 13:35:49 -05:00
J. Nick Koston 5841dc58a9 Merge branch 'integration' into memory_api 2025-09-27 13:32:55 -05:00
J. Nick Koston 17142239e0 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:32:50 -05:00
J. Nick Koston edea7c18ba fix existing code tidy is comlpaining about 2025-09-27 13:32:41 -05:00
J. Nick Koston 9e6a589ee4 Merge branch 'integration' into memory_api 2025-09-27 13:22:15 -05:00
J. Nick Koston 163301f7d8 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:22:11 -05:00
J. Nick Koston d66fd678c2 simple 2025-09-27 13:20:58 -05:00
J. Nick Koston e5908389aa tidy 2025-09-27 13:19:23 -05:00
J. Nick Koston 10c4d3396e Merge branch 'make_captive_portal_captive' into memory_api 2025-09-27 13:13:05 -05:00
J. Nick Koston b525b446e7 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:13:01 -05:00
J. Nick Koston 89f41833d8 remove debugging 2025-09-27 13:11:50 -05:00
J. Nick Koston c787495273 Merge branch 'integration' into memory_api 2025-09-27 13:09:45 -05:00
J. Nick Koston b4ee4e4256 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:09:17 -05:00
J. Nick Koston cba69e6a36 preen 2025-09-27 13:09:09 -05:00
J. Nick Koston 3ab362214b preen 2025-09-27 13:09:06 -05:00
J. Nick Koston f3fd86a50d Merge branch 'integration' into memory_api 2025-09-27 13:07:38 -05:00
J. Nick Koston 21c3a288a7 Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:07:32 -05:00
J. Nick Koston cf650708d2 preen 2025-09-27 13:05:42 -05:00
J. Nick Koston 45a8b641b9 Merge branch 'integration' into memory_api 2025-09-27 13:04:20 -05:00
J. Nick Koston 2820322a0e Merge branch 'make_captive_portal_captive' into integration 2025-09-27 13:04:14 -05:00
J. Nick Koston 72c1830b9b preen 2025-09-27 12:49:08 -05:00
J. Nick Koston 29943bfef1 preen 2025-09-27 12:48:09 -05:00
J. Nick Koston 0356081961 make it captive 2025-09-27 12:47:00 -05:00
J. Nick Koston 6b72736d5e wip 2025-09-27 12:32:24 -05:00
J. Nick Koston aed6fa14f0 make_captive_portal_captive 2025-09-27 12:23:45 -05:00
J. Nick Koston 3aec19a4a6 Merge branch 'integration' into memory_api 2025-09-27 11:15:54 -05:00
J. Nick Koston b86b186188 Merge branch 'imporv_name' into memory_api 2025-09-27 11:10:16 -05:00
J. Nick Koston 6fc481a768 Merge branch 'imporv_name' into integration 2025-09-27 11:10:12 -05:00
J. Nick Koston a9a5cef281 preen 2025-09-27 11:09:59 -05:00
J. Nick Koston 75adceb027 Merge branch 'imporv_name' into memory_api 2025-09-27 11:09:25 -05:00
J. Nick Koston d897820dbf Merge branch 'imporv_name' into integration 2025-09-27 11:09:21 -05:00
J. Nick Koston e6ca3afd56 preen 2025-09-27 11:09:10 -05:00
J. Nick Koston 3c06dda9f0 Merge branch 'integration' into memory_api 2025-09-27 10:54:33 -05:00
J. Nick Koston b6810d4d67 Merge remote-tracking branch 'upstream/tracker_vv' into integration 2025-09-27 10:54:25 -05:00
J. Nick Koston fa2abf2d19 Merge branch 'imporv_name' into integration 2025-09-27 10:54:19 -05:00
J. Nick Koston bb986cfb6e [esp32_ble_tracker] Reduce gap_scan_result log verbosity to VV 2025-09-27 10:53:50 -05:00
J. Nick Koston 7aa0815cd2 imporv_name 2025-09-27 10:51:15 -05:00
J. Nick Koston d51f1e0f0e Merge branch 'ota_password_block' into integration 2025-09-27 09:29:30 -05:00
J. Nick Koston 08cf92bec7 Merge branch 'ota_password_block' into memory_api 2025-09-27 09:29:15 -05:00
J. Nick Koston b6e8eece18 Merge branch 'integration' into memory_api 2025-09-27 09:29:09 -05:00
J. Nick Koston 0e7112bcfb Merge remote-tracking branch 'upstream/dev' into integration 2025-09-27 09:29:03 -05:00
J. Nick Koston e4460bc802 preen 2025-09-27 09:25:32 -05:00
J. Nick Koston ceb1dcba40 fix 2025-09-27 02:04:18 -05:00
J. Nick Koston 8b98ed16e9 error 2025-09-27 01:52:34 -05:00
J. Nick Koston 91adbc2466 preen 2025-09-27 01:39:56 -05:00
J. Nick Koston 603bde05e7 preen 2025-09-27 01:11:30 -05:00
J. Nick Koston 5abde23432 merge 2025-09-27 01:08:10 -05:00
J. Nick Koston 9cdd4bc555 preen 2025-09-27 00:15:57 -05:00
J. Nick Koston c526873d71 Merge branch 'integration' into memory_api 2025-09-27 00:04:03 -05:00
J. Nick Koston b092c33e92 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-27 00:03:57 -05:00
J. Nick Koston 93ca48d9aa stack it 2025-09-27 00:00:00 -05:00
J. Nick Koston 9875e96b13 stack it 2025-09-26 23:56:11 -05:00
J. Nick Koston c789fbf9f3 stack it 2025-09-26 23:54:21 -05:00
J. Nick Koston dba680a748 stack it 2025-09-26 23:52:48 -05:00
J. Nick Koston 20cbc48ad4 stack it 2025-09-26 23:45:56 -05:00
J. Nick Koston 7e8de7c92c stack it 2025-09-26 23:44:24 -05:00
J. Nick Koston 5fb99e9013 stack it 2025-09-26 23:42:58 -05:00
J. Nick Koston 2d6669068f stack it 2025-09-26 23:41:40 -05:00
J. Nick Koston e5868a79a2 stack it 2025-09-26 23:40:50 -05:00
J. Nick Koston 6430ae80cf stack it 2025-09-26 23:38:13 -05:00
J. Nick Koston 9f421ca60c stack it 2025-09-26 23:32:02 -05:00
J. Nick Koston a2d3e81c4e stack it 2025-09-26 23:29:09 -05:00
J. Nick Koston d1d8efd5a2 stack it 2025-09-26 23:28:03 -05:00
J. Nick Koston 0fb3d7550e stack it 2025-09-26 23:27:04 -05:00
J. Nick Koston e2c637cf48 stack it 2025-09-26 23:26:54 -05:00
J. Nick Koston 3b92c6630d stack it 2025-09-26 23:26:16 -05:00
J. Nick Koston 4b003389b8 stack it 2025-09-26 23:14:28 -05:00
J. Nick Koston 7251f7edec stack it 2025-09-26 23:13:21 -05:00
J. Nick Koston abcc2d483b optimize 2025-09-26 22:33:41 -05:00
J. Nick Koston 3bec6efdc3 optimize 2025-09-26 22:10:41 -05:00
J. Nick Koston e0f99e0596 optimize 2025-09-26 22:09:44 -05:00
J. Nick Koston a08a99e3f4 optimize 2025-09-26 22:05:06 -05:00
J. Nick Koston 10c5a19503 optimize 2025-09-26 22:01:44 -05:00
J. Nick Koston e7b9f17bbe optimize 2025-09-26 21:54:58 -05:00
J. Nick Koston cc4c059429 optimize 2025-09-26 21:52:00 -05:00
J. Nick Koston a12283ba35 optimize 2025-09-26 21:27:40 -05:00
J. Nick Koston 78333ef795 safe a write 2025-09-26 21:14:56 -05:00
J. Nick Koston d4026f9333 Merge branch 'integration' into memory_api 2025-09-26 18:19:51 -05:00
J. Nick Koston 38c9cbd92d Merge branch 'ble_server_automations_conditional_compile' into integration 2025-09-26 18:19:34 -05:00
J. Nick Koston 581be5680e cond 2025-09-26 18:12:28 -05:00
J. Nick Koston 7e52eb5ee3 cond 2025-09-26 17:54:56 -05:00
J. Nick Koston 78f64d493c Merge branch 'integration' into memory_api 2025-09-26 16:17:40 -05:00
J. Nick Koston 5caf0a7a17 Merge branch 'platform_normalize_too_late' into integration 2025-09-26 16:17:33 -05:00
J. Nick Koston ae2773a7a7 fixes 2025-09-26 16:14:43 -05:00
J. Nick Koston f5bba6f8cc rename to workaround the test conflict 2025-09-26 16:13:38 -05:00
J. Nick Koston b134f40201 [core] Fix platform component normalization happening too late in validation pipeline 2025-09-26 16:10:53 -05:00
J. Nick Koston 3f202c291a [core] Fix platform component normalization happening too late in validation pipeline 2025-09-26 16:10:04 -05:00
J. Nick Koston 7de2ed7658 [core] Fix platform component normalization happening too late in validation pipeline 2025-09-26 16:08:42 -05:00
J. Nick Koston 303b47cf00 [core] Fix platform component normalization happening too late in validation pipeline 2025-09-26 16:05:34 -05:00
J. Nick Koston f4134f21ba Merge branch 'integration' into memory_api 2025-09-26 15:00:59 -05:00
J. Nick Koston e94b3321c8 Merge branch 'improv_fix_crash' into integration 2025-09-26 15:00:52 -05:00
J. Nick Koston 886baab266 guard 2025-09-26 15:00:43 -05:00
J. Nick Koston 71f35c849d Merge branch 'integration' into memory_api 2025-09-26 14:27:10 -05:00
J. Nick Koston 44b673eafe Merge branch 'improv_fix_crash' into integration 2025-09-26 14:27:02 -05:00
J. Nick Koston d1bd6492ad missing nullptr 2025-09-26 14:26:54 -05:00
J. Nick Koston 7136993f31 Merge branch 'integration' into memory_api 2025-09-26 12:36:43 -05:00
J. Nick Koston 21d7d27c7b Merge branch 'improv_fix_crash' into integration 2025-09-26 12:36:39 -05:00
J. Nick Koston 33ff0c59c4 [esp32_improv] Fix null pointer crashes and incorrect state advertising 2025-09-26 12:29:42 -05:00
J. Nick Koston 5ecdce9473 Merge branch 'integration' into memory_api 2025-09-26 10:32:23 -05:00
J. Nick Koston 63d690fb8d Merge branch 'event_emitter_vector' into integration 2025-09-26 10:32:13 -05:00
J. Nick Koston 2b0af0df84 preen 2025-09-26 10:32:05 -05:00
J. Nick Koston 70a0b4e1e4 Merge branch 'integration' into memory_api 2025-09-26 10:23:34 -05:00
J. Nick Koston bbcdf140bb Merge branch 'event_emitter_vector' into integration 2025-09-26 10:23:28 -05:00
J. Nick Koston a3f8173436 prefer this-> 2025-09-26 10:23:17 -05:00
J. Nick Koston efe5057cc2 Merge branch 'integration' into memory_api 2025-09-26 10:18:10 -05:00
J. Nick Koston 285eb7a2e1 Merge branch 'event_emitter_vector' into integration 2025-09-26 10:17:59 -05:00
J. Nick Koston 4110d926dd preen 2025-09-26 10:17:48 -05:00
J. Nick Koston fbf413690b Merge branch 'event_emitter_vector' into integration 2025-09-26 10:15:58 -05:00
J. Nick Koston 9ed99e52e2 Merge remote-tt racking branch 'upstream/ble_server_opt' into integration 2025-09-26 10:15:52 -05:00
J. Nick Koston eeff69d50b [event_emitter] Replace unordered_map with vector - saves 2.6KB flash, 2.3x faster 2025-09-26 10:14:34 -05:00
J. Nick Koston 70685f2939 bot comments 2025-09-26 09:46:38 -05:00
J. Nick Koston fb3ce6c783 bot comments 2025-09-26 09:43:36 -05:00
J. Nick Koston 75b9b56627 Merge branch 'integration' into memory_api 2025-09-26 09:15:34 -05:00
J. Nick Koston 8275b54594 Merge branch 'ble_server_opt' into integration 2025-09-26 09:15:26 -05:00
J. Nick Koston baf09e2eed [esp32_ble_server] Optimize notification and action managers for typical use cases 2025-09-26 09:14:29 -05:00
J. Nick Koston ba88187353 Merge branch 'integration' into memory_api 2025-09-26 00:13:24 -05:00
J. Nick Koston cf6a33ab71 Merge branch 'esp32_ble_server_services_simple' into integration 2025-09-26 00:13:13 -05:00
J. Nick Koston 1eaa121ad2 [esp32_ble_server] Optimize service storage: 1KB flash savings, 84x-241x faster lookups 2025-09-26 00:04:05 -05:00
J. Nick Koston 91b2140916 Merge branch 'integration' into memory_api 2025-09-25 22:50:16 -05:00
J. Nick Koston 243695a1d3 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-25 22:50:06 -05:00
J. Nick Koston e9f78238d4 Merge branch 'sha256_ota' into memory_api 2025-09-25 20:36:24 -05:00
J. Nick Koston bbe72ac738 Merge branch 'sha256_ota' into integration 2025-09-25 20:36:20 -05:00
J. Nick Koston ba73061a4f random_bytes 2025-09-25 20:36:04 -05:00
Jesse Hills f33819bb8e Add some more defines for dev/ci 2025-09-26 13:12:24 +12:00
J. Nick Koston be696c40db Merge branch 'dev' into sha256_ota 2025-09-25 16:03:42 -05:00
J. Nick Koston 3ce430985a Merge branch 'integration' into memory_api 2025-09-25 14:48:12 -05:00
J. Nick Koston fa5245fcfc Merge branch 'version_text_sensor_flash' into integration 2025-09-25 14:48:02 -05:00
J. Nick Koston c3266db03d [version] Reduce flash usage by optimizing string concatenation in setup() 2025-09-25 14:47:32 -05:00
J. Nick Koston 24d034c674 Merge branch 'dependabot/pip/ruff-0.13.2' into memory_api 2025-09-25 14:37:14 -05:00
J. Nick Koston d06175816c match pre-commit 2025-09-25 14:34:42 -05:00
J. Nick Koston 76a2725a25 Merge branch 'integration' into memory_api 2025-09-25 14:33:43 -05:00
J. Nick Koston f7d617fabe Merge branch 'remove_std_find_web_server_like_we_did_for_idf' into integration 2025-09-25 14:33:36 -05:00
J. Nick Koston 55cc3a5646 Merge branch 'climate_stl_overhead' into integration 2025-09-25 14:33:31 -05:00
J. Nick Koston 829b6cfe6a review 2025-09-25 14:33:19 -05:00
J. Nick Koston f62e66e52b [web_server] Remove std::find_if overhead matching IDF implementation 2025-09-25 14:31:08 -05:00
J. Nick Koston a4af23ebe4 Merge branch 'integration' into memory_api 2025-09-25 14:24:58 -05:00
J. Nick Koston 7b24e10da0 Merge branch 'climate_stl_overhead' into integration 2025-09-25 14:24:53 -05:00
J. Nick Koston 1da9345af0 [climate] Remove STL algorithm overhead in save_state() method 2025-09-25 14:24:25 -05:00
J. Nick Koston 2d395d1f8d Merge branch 'integration' into memory_api 2025-09-25 14:20:58 -05:00
J. Nick Koston a0bf1ba099 Merge branch 'select_stl_overhead' into integration 2025-09-25 14:20:51 -05:00
J. Nick Koston 62a466c013 [select] Remove STL algorithm overhead to reduce flash usage 2025-09-25 14:20:05 -05:00
dependabot[bot] a4991a1d96 Bump ruff from 0.13.1 to 0.13.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.1...0.13.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-25 19:01:29 +00:00
J. Nick Koston dadc557b01 Merge branch 'integration' into memory_api 2025-09-25 11:09:51 -05:00
J. Nick Koston 0ff72b8d42 Merge branch 'log_text_sensor' into integration 2025-09-25 11:09:46 -05:00
J. Nick Koston f9c494ad9f Update esphome/components/text_sensor/text_sensor.cpp 2025-09-25 11:09:32 -05:00
J. Nick Koston 56c16e6893 [text_sensor] Convert LOG_TEXT_SENSOR macro to function to reduce flash usage 2025-09-25 11:08:45 -05:00
J. Nick Koston c5062dab55 Merge branch 'integration' into memory_api 2025-09-25 10:56:43 -05:00
J. Nick Koston 9a0996567d Merge remote-tracking branch 'upstream/dev' into integration 2025-09-25 10:56:38 -05:00
J. Nick Koston a09ca274c3 Merge branch 'sha256_ota' into memory_api 2025-09-25 10:32:23 -05:00
J. Nick Koston aa5ca91731 Merge branch 'sha256_ota' into integration 2025-09-25 10:32:16 -05:00
J. Nick Koston 8a620ccac0 Merge branch 'sha256' into sha256_ota 2025-09-25 10:32:06 -05:00
J. Nick Koston 640d98bb6f address review comments 2025-09-25 10:31:42 -05:00
J. Nick Koston 136c95656c codeowners 2025-09-25 08:57:27 -05:00
J. Nick Koston 2bc1cc2ae7 Add sha256 support
This is a breakout from https://github.com/esphome/esphome/pull/10809
2025-09-25 08:55:43 -05:00
J. Nick Koston 7899d4256c Add sha256 support
This is a breakout from https://github.com/esphome/esphome/pull/10809
2025-09-25 08:54:52 -05:00
J. Nick Koston 6a8c80a0f0 Merge remote-tracking branch 'upstream/dev' into sha256_ota 2025-09-25 08:53:57 -05:00
J. Nick Koston 97b59f7775 Merge branch 'integration' into memory_api 2025-09-24 22:21:00 -05:00
J. Nick Koston fe1991e56e Merge remote-tracking branch 'upstream/dev' into integration 2025-09-24 22:20:55 -05:00
J. Nick Koston 8c894e76e7 Merge branch 'integration' into memory_api 2025-09-24 22:07:52 -05:00
J. Nick Koston 58b60c2dca Merge remote-tracking branch 'upstream/dev' into integration 2025-09-24 22:07:46 -05:00
J. Nick Koston 90ffdfd650 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-09-24 22:07:31 -05:00
J. Nick Koston 50b479b8f1 Merge branch 'integration' into memory_api 2025-09-24 21:20:52 -05:00
J. Nick Koston 7a12d3e807 Merge branch 'disable_gattx_not_used' into integration 2025-09-24 21:20:44 -05:00
J. Nick Koston e177905bde more 2025-09-24 21:20:29 -05:00
J. Nick Koston 8abdaceb51 Merge branch 'integration' into memory_api 2025-09-24 17:41:33 -05:00
J. Nick Koston 646f9375cd Merge branch 'disable_gattx_not_used' into integration 2025-09-24 17:41:26 -05:00
J. Nick Koston 5e94b5e997 missing gattc guard 2025-09-24 17:41:11 -05:00
J. Nick Koston 20bc9da534 Merge branch 'integration' into memory_api 2025-09-24 11:53:14 -05:00
J. Nick Koston 5ae4392285 Merge branch 'disable_gattx_not_used' into integration 2025-09-24 11:53:09 -05:00
J. Nick Koston a71c04b4b1 [esp32_ble] Automatically disable unused GATT functionality to save RAM 2025-09-24 11:47:05 -05:00
J. Nick Koston b91ae29142 Merge branch 'integration' into memory_api 2025-09-24 09:22:37 -05:00
J. Nick Koston 100ea930b8 Merge branch 'dev' into integration 2025-09-24 09:22:32 -05:00
J. Nick Koston 42525b981e Merge branch 'integration' into memory_api 2025-09-23 23:42:09 -05:00
J. Nick Koston d9b7de1e05 Merge branch 'usb_host_blocking_fix' into integration 2025-09-23 23:41:59 -05:00
J. Nick Koston daf45d6117 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-23 23:41:50 -05:00
J. Nick Koston 90921348e9 cleanup 2025-09-23 23:08:17 -05:00
J. Nick Koston 07e5ce78eb simplify 2025-09-23 23:04:20 -05:00
J. Nick Koston dca79872bf simplify 2025-09-23 23:03:25 -05:00
J. Nick Koston af031530ce remove debug 2025-09-23 22:48:52 -05:00
J. Nick Koston b9a5c57b77 preen 2025-09-23 22:47:17 -05:00
J. Nick Koston 13911933a9 Merge branch 'usb_host_blocking_fix' of https://github.com/esphome/esphome into usb_host_blocking_fix 2025-09-23 22:45:32 -05:00
J. Nick Koston 6403c6ee64 preen 2025-09-23 22:45:30 -05:00
J. Nick Koston 1e2785e387 Update esphome/components/usb_host/usb_host_client.cpp 2025-09-23 22:45:16 -05:00
J. Nick Koston 7fbc7e3c37 lock free 2025-09-23 22:41:43 -05:00
J. Nick Koston 5f17a95f2e lock free 2025-09-23 22:37:02 -05:00
J. Nick Koston 9f2f33fc89 lock free 2025-09-23 22:36:48 -05:00
J. Nick Koston 7388a2c9a3 ato 2025-09-23 22:22:44 -05:00
J. Nick Koston 6ba720d126 ato 2025-09-23 22:21:44 -05:00
J. Nick Koston efc0d86aa6 ato 2025-09-23 22:18:43 -05:00
J. Nick Koston 971931b877 ato 2025-09-23 22:15:53 -05:00
J. Nick Koston fdb2e0b247 ato 2025-09-23 22:15:36 -05:00
J. Nick Koston 0b5964053e ato 2025-09-23 22:13:42 -05:00
J. Nick Koston 4d64a05334 ato 2025-09-23 22:12:59 -05:00
J. Nick Koston 02b144c2e5 fix 2025-09-23 22:02:03 -05:00
J. Nick Koston fb9334e5ba fix 2025-09-23 21:59:38 -05:00
J. Nick Koston d5ad9dc0fb fix 2025-09-23 21:58:01 -05:00
J. Nick Koston c08c0c111a fix 2025-09-23 21:56:22 -05:00
J. Nick Koston 70e89f79db fix 2025-09-23 21:54:33 -05:00
J. Nick Koston 0370a3061d fix 2025-09-23 21:41:48 -05:00
J. Nick Koston 0ed6ba9afa wip 2025-09-23 21:37:07 -05:00
J. Nick Koston 4699e56832 wip 2025-09-23 21:28:14 -05:00
J. Nick Koston ce784299d8 wip 2025-09-23 21:23:58 -05:00
J. Nick Koston 9ac0f4aa4d Merge branch 'integration' into memory_api 2025-09-23 17:59:18 -05:00
J. Nick Koston fe5dbfa268 Merge remote-tracking branch 'upstream/auth_connection_checks_dry' into integration 2025-09-23 17:59:11 -05:00
J. Nick Koston d87c212cf3 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-23 17:59:03 -05:00
J. Nick Koston 50c45b8a20 Merge branch 'dev' into auth_connection_checks_dry 2025-09-23 17:58:45 -05:00
J. Nick Koston 093e70ceb8 Merge branch 'integration' into memory_api 2025-09-23 17:44:51 -05:00
J. Nick Koston 3f5d51bf85 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-23 17:44:34 -05:00
J. Nick Koston 7100d65f14 Merge remote-tracking branch 'upstream/core_api_no_allocate' into memory_api 2025-09-23 15:47:08 -05:00
J. Nick Koston 92539c288a Merge remote-tracking branch 'upstream/core_api_no_allocate' into integration 2025-09-23 15:46:58 -05:00
J. Nick Koston 15dc83d7c5 Merge branch 'dev' into core_api_no_allocate 2025-09-23 15:13:29 -05:00
J. Nick Koston 886cca1095 Merge branch 'integration' into memory_api 2025-09-23 15:05:44 -05:00
J. Nick Koston 14463c5f5b Merge remote-tracking branch 'upstream/dev' into integration 2025-09-23 15:05:30 -05:00
J. Nick Koston d28d4d449b Merge branch 'dev' into core_api_no_allocate 2025-09-23 14:33:00 -05:00
J. Nick Koston 7d8c97ac3b Merge branch 'integration' into memory_api 2025-09-23 11:52:10 -05:00
J. Nick Koston 34bc2ddebb Merge branch 'auth_connection_checks_dry' into integration 2025-09-23 11:52:05 -05:00
J. Nick Koston 43cfdb7919 Reduce duplicate code in API to check auth and connection 2025-09-23 11:47:38 -05:00
J. Nick Koston 9984cfc039 Merge branch 'integration' into memory_api 2025-09-23 11:30:15 -05:00
J. Nick Koston b8f8035461 Merge branch 'core_api_no_allocate' into integration 2025-09-23 11:30:08 -05:00
J. Nick Koston 40271f5a30 wip 2025-09-23 11:23:09 -05:00
J. Nick Koston 2a8c9de3a6 Merge remote-tracking branch 'upstream/dev' into core_api_no_allocate 2025-09-23 11:19:47 -05:00
J. Nick Koston f3b685acf9 wip 2025-09-23 11:19:32 -05:00
J. Nick Koston e368f4782d cleanup 2025-09-23 11:18:03 -05:00
J. Nick Koston ed62cc22ad preen 2025-09-23 11:08:41 -05:00
J. Nick Koston 288b70669d Merge branch 'integration' into memory_api 2025-09-23 10:14:05 -05:00
J. Nick Koston 92d16122e9 Merge branch 'sha256_ota' into integration 2025-09-23 10:14:00 -05:00
J. Nick Koston f42b523fd9 dry 2025-09-23 09:54:39 -05:00
J. Nick Koston 174cdac5e1 dry 2025-09-23 09:49:42 -05:00
J. Nick Koston 7ac0f1c9a2 dry 2025-09-23 09:49:03 -05:00
J. Nick Koston 106f8e6804 dry 2025-09-23 09:48:36 -05:00
J. Nick Koston 307ad1c18b reduce magic numbers 2025-09-23 09:46:58 -05:00
J. Nick Koston 7e273879b5 reduce magic numbers 2025-09-23 09:45:02 -05:00
J. Nick Koston 58add6d365 Merge branch 'integration' into memory_api 2025-09-23 09:17:25 -05:00
J. Nick Koston 6e7718a63e Merge branch 'remove-esp32-arduino-wifi-driver' into integration 2025-09-23 09:17:15 -05:00
J. Nick Koston 1ffa10c28f Merge branch 'remove-esp32-arduino-wifi-driver' into memory_api 2025-09-23 09:16:55 -05:00
J. Nick Koston aa687be49d Merge branch 'integration' into memory_api 2025-09-23 09:11:09 -05:00
J. Nick Koston f77191c789 Merge remote-tracking branch 'swoboda1337/libretiny_lib' into integration 2025-09-23 09:11:04 -05:00
J. Nick Koston 13c0aa1ba8 [wifi] Unify ESP32 WiFi implementation to use ESP-IDF driver 2025-09-23 08:53:11 -05:00
J. Nick Koston c800e02ee8 Merge branch 'integration' into memory_api 2025-09-23 08:41:53 -05:00
J. Nick Koston 3133c320ae Merge branch 'remove_esp32_arduino_ble_limiations' into integration 2025-09-23 08:41:47 -05:00
J. Nick Koston 11b1f13646 Merge branch 'dev' into remove_esp32_arduino_ble_limiations 2025-09-23 08:36:06 -05:00
Jonathan Swoboda 373c2d31dd Fix lib_ignore handling and ingore some libraries on libretiny 2025-09-23 07:33:34 -04:00
J. Nick Koston 0e85cf7ed8 Merge branch 'integration' into memory_api 2025-09-23 00:42:34 -05:00
J. Nick Koston 81f822d275 Merge branch 'bluetooth_no_allocate' into integration 2025-09-23 00:42:26 -05:00
J. Nick Koston 94819fb946 add comments 2025-09-23 00:41:49 -05:00
J. Nick Koston c0ea795348 Merge branch 'integration' into memory_api 2025-09-23 00:19:31 -05:00
J. Nick Koston a41bd97883 Merge remote-tracking branch 'upstream/bluetooth_no_allocate' into integration 2025-09-23 00:19:24 -05:00
J. Nick Koston f07034b161 Merge branch 'dev' into bluetooth_no_allocate 2025-09-23 00:18:23 -05:00
J. Nick Koston af7fea3680 not string anymore 2025-09-22 23:49:32 -05:00
J. Nick Koston 85b5b859b5 Implement zero-copy API for bluetooth_proxy writes
This is the same as https://github.com/esphome/esphome/pull/10836 for Bluetooth proxy
writes. This avoids the copy since all the messages live on the stack anyways
and there are no lifetime concerns

Doing bluetooth first since there is a wider test case vs zwave
2025-09-22 23:44:09 -05:00
J. Nick Koston 6a91df841b Merge remote-tracking branch 'upstream/dev' into zwave_no_allocate 2025-09-22 23:35:49 -05:00
J. Nick Koston 8a54b6d76e fix dump 2025-09-22 22:43:56 -05:00
J. Nick Koston cf7fad9c14 Implement zero-copy API for zwave_proxy 2025-09-22 22:37:57 -05:00
J. Nick Koston d7bff38ad9 Implement zero-copy API for zwave_proxy 2025-09-22 22:30:30 -05:00
J. Nick Koston ed5c0be283 Merge branch 'dev' into sha256_ota 2025-09-22 16:31:12 -06:00
J. Nick Koston 3d07a4a3c9 Merge branch 'integration' into memory_api 2025-09-22 16:23:34 -05:00
J. Nick Koston fc55cfad0a Merge remote-tracking branch 'upstream/dev' into integration 2025-09-22 16:23:13 -05:00
kbx81 b58a1bfc6c Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-09-22 15:00:31 -05:00
J. Nick Koston d8f9c2da5d Merge branch 'dev' into sha256_ota 2025-09-21 22:40:35 -06:00
kbx81 24649cd55c Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-09-21 23:32:09 -05:00
J. Nick Koston 00849aadb7 Merge branch 'dev' into sha256_ota 2025-09-21 16:06:29 -06:00
J. Nick Koston 1069ed0363 Merge branch 'sha256_ota' into memory_api 2025-09-21 15:57:03 -06:00
J. Nick Koston 7554465287 Merge branch 'sha256_ota' into integration 2025-09-21 15:56:58 -06:00
J. Nick Koston 6c26f75a77 preen 2025-09-21 15:56:05 -06:00
J. Nick Koston 0ab4f69a9c Merge branch 'integration' into memory_api 2025-09-21 15:53:38 -06:00
J. Nick Koston 5121b955e2 Merge branch 'sha256_ota' into integration 2025-09-21 15:53:31 -06:00
J. Nick Koston b1f90fb78d preen 2025-09-21 15:53:23 -06:00
J. Nick Koston 199d575052 Merge branch 'integration' into memory_api 2025-09-21 15:46:50 -06:00
J. Nick Koston 95c159a9fc Merge branch 'sha256_ota' into integration 2025-09-21 15:46:41 -06:00
J. Nick Koston ba5e995fc1 preen 2025-09-21 15:40:47 -06:00
J. Nick Koston 57be58baa0 preen 2025-09-21 15:37:45 -06:00
J. Nick Koston 67e847773d Merge branch 'dev' into sha256_ota 2025-09-21 15:37:11 -06:00
J. Nick Koston 0d67d2de60 preen 2025-09-21 15:36:27 -06:00
J. Nick Koston 0e9a1fc80d cleanup 2025-09-21 15:30:36 -06:00
J. Nick Koston fe4a0c94cf reduce 2025-09-21 15:27:38 -06:00
J. Nick Koston 457399f3af preen 2025-09-21 12:23:49 -06:00
J. Nick Koston f58ea07ac3 preen 2025-09-21 12:22:50 -06:00
J. Nick Koston 61d6034838 preen 2025-09-21 12:20:18 -06:00
J. Nick Koston 05685b41cd merge 2025-09-21 12:12:53 -06:00
J. Nick Koston 7d96cf66c6 Merge branch 'integration' into memory_api 2025-09-21 12:11:12 -06:00
J. Nick Koston ebb23c5b24 Merge branch 'sha256_ota' into integration 2025-09-21 12:11:05 -06:00
J. Nick Koston f86d9b0aa6 remove testing 2025-09-21 12:09:46 -06:00
J. Nick Koston 8bf908a88a Merge branch 'integration' into memory_api 2025-09-21 12:06:47 -06:00
J. Nick Koston 5e4d7525e8 Merge branch 'sha256_ota' into integration 2025-09-21 12:06:25 -06:00
J. Nick Koston 8ea13115a0 preen 2025-09-21 12:06:12 -06:00
J. Nick Koston 0272228ece preen 2025-09-21 12:02:41 -06:00
J. Nick Koston 991409d315 cleanup 2025-09-21 11:56:16 -06:00
J. Nick Koston d5c067acfa preen 2025-09-21 11:53:37 -06:00
J. Nick Koston 85ca03345c Merge branch 'integration' into memory_api 2025-09-21 11:47:33 -06:00
J. Nick Koston 32d39b4dcd Merge branch 'sha256_ota' into integration 2025-09-21 11:47:25 -06:00
J. Nick Koston 9cbbb167db preen 2025-09-21 11:47:15 -06:00
J. Nick Koston 70bbe3b825 Merge branch 'integration' into memory_api 2025-09-21 11:39:44 -06:00
J. Nick Koston d17a6181cf Merge branch 'sha256_ota' into integration 2025-09-21 11:39:39 -06:00
J. Nick Koston d5b57384bf was overly complex 2025-09-21 11:39:25 -06:00
J. Nick Koston 5e9a5798bd cleanup 2025-09-21 11:30:05 -06:00
J. Nick Koston 863588d313 Merge branch 'integration' into memory_api 2025-09-21 11:25:51 -06:00
J. Nick Koston 35afd10022 Merge branch 'sha256_ota' into integration 2025-09-21 11:25:46 -06:00
J. Nick Koston f85f5aae46 base it 2025-09-21 11:23:57 -06:00
J. Nick Koston cd90fb2cf7 Merge branch 'integration' into memory_api 2025-09-21 11:06:50 -06:00
J. Nick Koston 46055afeea Merge remote-tracking branch 'upstream/fix_update_all_after_path_convert' into integration 2025-09-21 11:06:40 -06:00
J. Nick Koston abc5604c1f Merge branch 'integration' into memory_api 2025-09-21 11:06:30 -06:00
J. Nick Koston dcd50b232a Merge branch 'sha256_ota' into integration 2025-09-21 11:06:21 -06:00
J. Nick Koston 56be0dfc90 preen 2025-09-21 11:04:02 -06:00
J. Nick Koston 7ea680a802 [core] Fix TypeError in update-all command after Path migration 2025-09-21 11:00:49 -06:00
J. Nick Koston f3ced331a6 no esp32 ard needed 2025-09-21 10:57:06 -06:00
J. Nick Koston 3aa7da60e6 fix libretiny 2025-09-21 10:56:08 -06:00
J. Nick Koston ada1b00cad use evp interface 2025-09-21 10:44:09 -06:00
J. Nick Koston d1fb3336f0 reen 2025-09-21 10:42:51 -06:00
J. Nick Koston ee7e30eaa8 doh 2025-09-21 10:41:44 -06:00
J. Nick Koston 4cdeb3f547 sha256 for host 2025-09-21 10:40:26 -06:00
J. Nick Koston 93c444ee15 sha256 for host 2025-09-21 10:37:44 -06:00
J. Nick Koston 113fe6dfd5 sha256 for host 2025-09-21 10:35:20 -06:00
J. Nick Koston e47cecc5f0 remove unreachable code 2025-09-21 10:28:09 -06:00
J. Nick Koston 233cc08dc6 remove unreachable code 2025-09-21 10:27:27 -06:00
J. Nick Koston 7d4a7d48ee remove unreachable code 2025-09-21 10:26:52 -06:00
J. Nick Koston 97bc627d41 preen 2025-09-21 10:25:48 -06:00
J. Nick Koston 0e71662158 preen 2025-09-21 10:18:27 -06:00
J. Nick Koston 69cad7b3c7 preen 2025-09-21 10:15:22 -06:00
J. Nick Koston 2aa0ebd1d2 preen 2025-09-21 10:14:40 -06:00
J. Nick Koston 0cae1f28b0 preen 2025-09-21 10:12:48 -06:00
J. Nick Koston eee8b11119 preen 2025-09-21 10:09:35 -06:00
J. Nick Koston 17704f712e preen 2025-09-21 10:07:27 -06:00
J. Nick Koston 594c60a4a4 preen 2025-09-21 10:07:01 -06:00
J. Nick Koston 0d622fa268 cleanup 2025-09-21 09:56:29 -06:00
J. Nick Koston 0b0eb5d4bf cleanup 2025-09-21 09:56:22 -06:00
J. Nick Koston e2fd5190c2 cleanup 2025-09-21 09:55:01 -06:00
J. Nick Koston 1d6c6c917a cleanup 2025-09-21 09:54:17 -06:00
J. Nick Koston 6c8b66df96 cleanup 2025-09-21 09:52:39 -06:00
J. Nick Koston 139577f96a cleanup 2025-09-21 09:49:25 -06:00
J. Nick Koston 0ddd1037ca cleanup 2025-09-21 09:05:40 -06:00
J. Nick Koston a81985bfba cleanup 2025-09-21 09:01:07 -06:00
J. Nick Koston 8da7705927 fix nrf52 2025-09-20 18:29:17 -06:00
J. Nick Koston cebacfcc59 fix rp2040 2025-09-20 08:52:06 -06:00
J. Nick Koston d7245ebde6 try to make it work on 8266 2025-09-20 07:55:53 -06:00
J. Nick Koston f171afca62 move context to .h 2025-09-20 07:03:48 -06:00
J. Nick Koston dfc161b618 preen 2025-09-19 22:54:36 -06:00
J. Nick Koston e49cbac46a optimize 2025-09-19 22:51:14 -06:00
J. Nick Koston e5fd5425c1 Merge branch 'integration' into memory_api 2025-09-19 22:44:34 -06:00
J. Nick Koston 8fc3ffdea9 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-19 22:44:16 -06:00
J. Nick Koston 6810e87fa7 reorder 2025-09-19 22:35:18 -06:00
kbx81 1b6f3fd0ec Merge remote-tracking branch 'upstream/dev' into 20250915-wifi-info-use-callbacks 2025-09-19 22:11:23 -05:00
J. Nick Koston f6b9f802e8 Merge branch 'dev' into sha256_ota 2025-09-19 19:12:19 -05:00
J. Nick Koston f80dfa9be7 Merge remote-tracking branch 'upstream/sha256_ota' into sha256_ota 2025-09-19 17:00:41 -06:00
J. Nick Koston 110b364c1f make member 2025-09-19 17:00:23 -06:00
J. Nick Koston acb5616334 make member 2025-09-19 17:00:03 -06:00
J. Nick Koston 2ce07d8aae Merge branch 'dev' into sha256_ota 2025-09-19 17:32:58 -05:00
J. Nick Koston e41ca7e888 tidy 2025-09-19 16:31:58 -06:00
J. Nick Koston 4b6fbc2a1e preen 2025-09-19 15:56:40 -06:00
J. Nick Koston 0919669fc6 preen 2025-09-19 15:56:21 -06:00
J. Nick Koston e721e8c203 preen 2025-09-19 15:54:17 -06:00
J. Nick Koston 6215199c1a codeowners 2025-09-19 15:51:52 -06:00
J. Nick Koston 46f05b34e5 preen 2025-09-19 15:45:38 -06:00
J. Nick Koston 8e1b620a49 Merge remote-tracking branch 'upstream/dev' into sha256_ota 2025-09-19 15:42:09 -06:00
J. Nick Koston 88a98cfeef Merge remote-tracking branch 'upstream/dev' into sha256_ota 2025-09-19 09:10:11 -06:00
Keith Burzinski 5e5f766697 Merge branch 'dev' into 20250915-wifi-info-use-callbacks 2025-09-18 17:54:56 -05:00
J. Nick Koston 8b765715d6 preen 2025-09-18 15:17:25 -05:00
J. Nick Koston 080fe6eae5 preen 2025-09-18 15:11:52 -05:00
J. Nick Koston f15c83462c preen 2025-09-18 15:06:51 -05:00
J. Nick Koston 853d3ae331 preen 2025-09-18 14:46:49 -05:00
J. Nick Koston bff257258e preen 2025-09-18 14:33:37 -05:00
J. Nick Koston 55232c711a drop splitdefault as well 2025-09-17 17:48:50 -05:00
J. Nick Koston f8d380cb7d Merge branch 'integration' into memory_api 2025-09-17 17:45:29 -05:00
J. Nick Koston 951559d9ef Merge branch 'arduino_ethernet_checks_remove' into integration 2025-09-17 17:45:22 -05:00
J. Nick Koston 455d2c2332 [ethernet] Remove redundant Arduino framework version check 2025-09-17 17:44:36 -05:00
J. Nick Koston 4031dc2305 Merge branch 'integration' into memory_api 2025-09-17 17:40:18 -05:00
J. Nick Koston ebf120b587 Merge branch 'remove_esp32_arduino_ble_limiations' into integration 2025-09-17 17:40:11 -05:00
J. Nick Koston f2c20c8ca8 [esp32_ble_tracker] Remove Arduino-specific BLE limitations now that Arduino uses IDF 2025-09-17 17:38:55 -05:00
J. Nick Koston c69dde4454 Merge branch 'integration' into memory_api 2025-09-17 17:25:33 -05:00
J. Nick Koston 32e6d079d3 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-17 17:25:21 -05:00
Keith Burzinski 946eccb2ee Merge branch 'dev' into 20250915-wifi-info-use-callbacks 2025-09-17 02:21:15 -05:00
J. Nick Koston db9b1c36f6 Merge branch 'integration' into memory_api 2025-09-16 21:31:32 -05:00
J. Nick Koston d8a11958c5 Merge branch 'improv_wait_for_start' into integration 2025-09-16 21:31:27 -05:00
J. Nick Koston 0794235159 [esp32_improv] Disable loop by default until provisioning needed 2025-09-16 21:27:08 -05:00
kbx81 38719aaef8 tidy 2025-09-16 17:31:30 -05:00
J. Nick Koston e700ce6c61 Merge branch 'integration' into memory_api 2025-09-16 12:18:27 -05:00
J. Nick Koston c0306f3d89 Merge branch 'no_git_opts_log' into integration 2025-09-16 12:18:22 -05:00
J. Nick Koston d249e54e8b cleanup, less mocking 2025-09-16 12:08:18 -05:00
J. Nick Koston c74777098f cleaner 2025-09-16 12:05:35 -05:00
J. Nick Koston 1793b6a27b cleaner 2025-09-16 12:04:05 -05:00
J. Nick Koston 81cfc30f3a cleaner 2025-09-16 12:03:28 -05:00
J. Nick Koston edd8fa8d6f cleaner 2025-09-16 12:02:57 -05:00
J. Nick Koston 452a12892e fix reg 2025-09-16 12:01:01 -05:00
J. Nick Koston c39320c515 fixes 2025-09-16 11:57:10 -05:00
J. Nick Koston 586f24e02d fixes 2025-09-16 11:54:09 -05:00
J. Nick Koston 9be832a23c fixes 2025-09-16 11:51:55 -05:00
J. Nick Koston 7d87dbe641 fixes 2025-09-16 11:51:44 -05:00
J. Nick Koston 8e13335ff6 fixes 2025-09-16 11:49:36 -05:00
J. Nick Koston 4a04f9f0f0 Merge branch 'integration' into memory_api 2025-09-16 10:53:06 -05:00
J. Nick Koston 48356ab86d Merge branch 'fix_clean_build_files_not_removing_platformio_cache' into memory_api 2025-09-16 10:52:06 -05:00
J. Nick Koston 34da6d7c5c Merge branch 'fix_clean_build_files_not_removing_platformio_cache' into integration 2025-09-16 10:52:02 -05:00
J. Nick Koston cb73396225 review 2025-09-16 10:51:50 -05:00
J. Nick Koston 6d1cec6112 review 2025-09-16 10:51:39 -05:00
J. Nick Koston f1f0fc858c Merge branch 'integration' into memory_api 2025-09-16 10:50:10 -05:00
J. Nick Koston db24cc231e Merge branch 'fix_clean_build_files_not_removing_platformio_cache' into integration 2025-09-16 10:50:06 -05:00
J. Nick Koston bc73346f1f [core] Fix clean build files to properly clear PlatformIO cache 2025-09-16 10:49:05 -05:00
J. Nick Koston b69e6f2152 Merge branch 'integration' into memory_api 2025-09-15 23:26:46 -05:00
J. Nick Koston 2741f4f88d Merge branch 'inline_stringref_convertToJson' into integration 2025-09-15 23:26:35 -05:00
J. Nick Koston 157ea2daa4 [core] Make StringRef convertToJson inline to save 250+ bytes flash 2025-09-15 23:25:41 -05:00
J. Nick Koston f0bce77adc Merge branch 'integration' into memory_api 2025-09-15 22:01:30 -05:00
J. Nick Koston 7f94d82e45 Merge branch 'webserver_remove_lambas' into integration 2025-09-15 22:01:09 -05:00
J. Nick Koston 192e935ef2 preen 2025-09-15 21:47:18 -05:00
J. Nick Koston bd11ffd395 preen 2025-09-15 21:47:15 -05:00
J. Nick Koston 7aae946678 cleanup 2025-09-15 21:44:50 -05:00
J. Nick Koston 7549d031fd cleanup 2025-09-15 21:40:30 -05:00
J. Nick Koston b0b207eddb cleanup 2025-09-15 21:34:19 -05:00
J. Nick Koston 7fe92085b4 preen 2025-09-15 21:28:53 -05:00
J. Nick Koston 35f50b710e preen 2025-09-15 21:28:42 -05:00
J. Nick Koston 0091a2b92b Merge branch 'integration' into memory_api 2025-09-15 21:20:26 -05:00
J. Nick Koston 5497e2d34e Merge branch 'webserver_remove_lambas' into integration 2025-09-15 21:20:17 -05:00
J. Nick Koston 703bb0c9c6 cleanup 2025-09-15 21:18:52 -05:00
J. Nick Koston 5acea1252b Merge branch 'webserver_remove_lambas' into memory_api 2025-09-15 20:55:41 -05:00
J. Nick Koston e16042373c Merge branch 'webserver_remove_lambas' into integration 2025-09-15 20:55:36 -05:00
J. Nick Koston 290c2e17f5 simplier 2025-09-15 20:49:22 -05:00
J. Nick Koston f37c833c38 Merge branch 'integration' into memory_api 2025-09-15 19:01:16 -05:00
J. Nick Koston bf7b5309b8 Merge branch 'webserver_remove_lambas' into integration 2025-09-15 19:01:09 -05:00
J. Nick Koston c203f61e6b more ArduinoJson false positives 2025-09-15 18:58:07 -05:00
J. Nick Koston cd15a43d77 Merge branch 'integration' into memory_api 2025-09-15 18:45:20 -05:00
J. Nick Koston 572079f6d3 Merge branch 'webserver_remove_lambas' into integration 2025-09-15 18:45:14 -05:00
J. Nick Koston 044aeaa063 preen 2025-09-15 18:39:14 -05:00
J. Nick Koston c1a90dad9e get rid of lambdas 2025-09-15 18:37:40 -05:00
kbx81 eae9335894 [wifi_info] Use callbacks instead of polling 2025-09-15 18:35:25 -05:00
J. Nick Koston beb80a2bb6 Merge branch 'integration' into memory_api 2025-09-15 18:00:13 -05:00
J. Nick Koston f5f93db4bb Merge branch 'ethernet_cond_compile' into integration 2025-09-15 17:59:55 -05:00
J. Nick Koston 877ba13f4f [ethernet] Conditionally compile PHY-specific code to reduce flash usage 2025-09-15 17:57:46 -05:00
J. Nick Koston 64f267914e Merge branch 'integration' into memory_api 2025-09-15 17:45:01 -05:00
J. Nick Koston c3736da9fb Merge branch 'archive_bug' into integration 2025-09-15 17:44:54 -05:00
J. Nick Koston f91a6979b4 add more coverage to make sure we are more careful about deletes 2025-09-15 17:37:35 -05:00
J. Nick Koston f3c156ca57 add more coverage to make sure we are more careful about deletes 2025-09-15 17:29:51 -05:00
J. Nick Koston 50f22a362f cleanup 2025-09-15 17:28:00 -05:00
J. Nick Koston 601c792913 cleanup 2025-09-15 17:25:56 -05:00
J. Nick Koston 62b713a04c cleanup 2025-09-15 17:25:23 -05:00
J. Nick Koston 55684d079e cleanup 2025-09-15 17:24:58 -05:00
J. Nick Koston f7bfbb619d cleanup 2025-09-15 17:24:45 -05:00
J. Nick Koston 47d24edd0e cleanup 2025-09-15 17:23:01 -05:00
J. Nick Koston fa00e07e10 fix 2025-09-15 17:19:28 -05:00
J. Nick Koston 313851f4df Merge remote-tracking branch 'upstream/dev' into archive_bug 2025-09-15 17:18:19 -05:00
J. Nick Koston e02f2f625f Merge branch 'integration' into memory_api 2025-09-15 12:16:10 -05:00
J. Nick Koston b01ef008bb Merge branch 'select_const_ref' into integration 2025-09-15 12:16:04 -05:00
J. Nick Koston d8385780f1 [select] Use const references to avoid unnecessary vector copies 2025-09-15 12:15:29 -05:00
J. Nick Koston d005408f71 Merge branch 'integration' into memory_api 2025-09-15 11:53:58 -05:00
J. Nick Koston fd99a50f19 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-15 11:53:50 -05:00
J. Nick Koston 415593d05e Merge branch 'integration' into memory_api 2025-09-14 23:16:22 -05:00
J. Nick Koston fe4a1c21b3 Merge branch 'libretiny_vector_prefs' into integration 2025-09-14 23:16:16 -05:00
J. Nick Koston f8ff00af06 [libretiny] Optimize preferences memory usage by replacing vector with unique_ptr 2025-09-14 23:15:33 -05:00
J. Nick Koston ca185cb28f Merge branch 'integration' into memory_api 2025-09-14 22:48:18 -05:00
J. Nick Koston 2e7a7a8617 Merge branch 'esp32_prefs_no_vector' into integration 2025-09-14 22:48:12 -05:00
J. Nick Koston 2df57e622c zu 2025-09-14 22:47:43 -05:00
J. Nick Koston 277b8aff73 Merge branch 'integration' into memory_api 2025-09-14 22:36:34 -05:00
J. Nick Koston 5195e2bf44 Merge branch 'esp32_prefs_no_vector' into integration 2025-09-14 22:36:29 -05:00
J. Nick Koston c7ec5c820a [esp32] Optimize NVS preferences memory usage by replacing vector with unique_ptr 2025-09-14 22:35:26 -05:00
J. Nick Koston adaebf64ba Merge branch 'integration' into memory_api 2025-09-14 22:19:20 -05:00
J. Nick Koston bc63f9909d Merge branch 'json_psram' into integration 2025-09-14 22:19:13 -05:00
J. Nick Koston 43a2f20ea7 [json] Only compile SpiRamAllocator when PSRAM is enabled 2025-09-14 22:18:44 -05:00
J. Nick Koston a8b8819826 Merge branch 'integration' into memory_api 2025-09-14 21:56:20 -05:00
J. Nick Koston aad369463b Merge branch 'auth_request' into integration 2025-09-14 21:56:06 -05:00
J. Nick Koston e2c00977cf Merge remote-tracking branch 'upstream/dependabot/pip/aioesphomeapi-41.0.0' into integration 2025-09-14 21:56:01 -05:00
J. Nick Koston 29870385ae Merge remote-tracking branch 'upstream/dashboard_dns_lookup_delay' into integration 2025-09-14 21:55:55 -05:00
J. Nick Koston 76132c3958 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-14 21:55:50 -05:00
dependabot[bot] 913a088c33 Bump aioesphomeapi from 40.2.1 to 41.0.0
Bumps [aioesphomeapi](https://github.com/esphome/aioesphomeapi) from 40.2.1 to 41.0.0.
- [Release notes](https://github.com/esphome/aioesphomeapi/releases)
- [Commits](https://github.com/esphome/aioesphomeapi/compare/v40.2.1...v41.0.0)

---
updated-dependencies:
- dependency-name: aioesphomeapi
  dependency-version: 41.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 02:46:11 +00:00
J. Nick Koston 623878a9c3 Merge branch 'dev' into dashboard_dns_lookup_delay 2025-09-14 21:28:46 -05:00
J. Nick Koston 73773ed5c6 [api] Rename ConnectRequest/Response to AuthenticationRequest/Response in API 2025-09-14 21:22:17 -05:00
J. Nick Koston f857fa1f0d [dashboard] Fix archive handler incorrectly deleting build folders instead of archiving them 2025-09-14 19:22:33 -05:00
J. Nick Koston 54a170242c Merge branch 'dev' into dashboard_dns_lookup_delay 2025-09-14 17:37:29 -05:00
J. Nick Koston 2a0567c456 Merge branch 'integration' into memory_api 2025-09-14 16:19:26 -05:00
J. Nick Koston bae0d4d097 Merge branch 'fix_scheduler_item_time_cap' into integration 2025-09-14 16:19:20 -05:00
J. Nick Koston 99649c3a8f [scheduler] Fix timing accumulation in scheduler causing incorrect execution measurements 2025-09-14 16:16:46 -05:00
J. Nick Koston 6378bb2ac4 Merge branch 'integration' into memory_api 2025-09-14 14:42:12 -05:00
J. Nick Koston 50e1f83d7c Merge branch 'mac_formatting_perf_wifi' into integration 2025-09-14 14:42:07 -05:00
J. Nick Koston 682d98f9b4 [wifi] Optimize WiFi MAC formatting to eliminate sprintf dependency 2025-09-14 14:30:30 -05:00
J. Nick Koston 35060416ba [wifi] Optimize WiFi MAC formatting to eliminate sprintf dependency 2025-09-14 14:29:25 -05:00
J. Nick Koston cb439f31b9 Merge branch 'integration' into memory_api 2025-09-14 14:21:16 -05:00
J. Nick Koston b8be8e187d Merge branch 'mac_formatting_perf_for_ble' into integration 2025-09-14 14:21:10 -05:00
J. Nick Koston 4e680020d1 [esp32_ble] Optimize BLE hex formatting to eliminate sprintf dependency 2025-09-14 14:20:34 -05:00
J. Nick Koston 0e9110482c Merge branch 'integration' into memory_api 2025-09-14 14:01:21 -05:00
J. Nick Koston 1e6dc467ec Merge branch 'md5_hex_performance' into integration 2025-09-14 14:01:16 -05:00
J. Nick Koston d262526f31 preen 2025-09-14 14:00:01 -05:00
J. Nick Koston 53ab104c6a Merge branch 'integration' into memory_api 2025-09-14 13:54:27 -05:00
J. Nick Koston 38aea3d9b6 Merge branch 'md5_hex_performance' into integration 2025-09-14 13:54:16 -05:00
J. Nick Koston 6f387017aa Merge branch 'mac_formatting_perf' into integration 2025-09-14 13:53:46 -05:00
J. Nick Koston 16b7714990 preen 2025-09-14 13:53:36 -05:00
J. Nick Koston 22c91dfadc cleanup 2025-09-14 13:51:10 -05:00
J. Nick Koston 0b42250900 [core] Optimize MAC address formatting to eliminate sprintf dependency 2025-09-14 13:49:11 -05:00
J. Nick Koston 842006efa1 Merge branch 'integration' into memory_api 2025-09-14 10:50:16 -05:00
J. Nick Koston 69804f5ccf Merge branch 'md5_hex_performance' into integration 2025-09-14 10:50:11 -05:00
J. Nick Koston b03a651499 [md5] Optimize MD5::get_hex() to eliminate sprintf dependency 2025-09-14 10:48:26 -05:00
J. Nick Koston eb5d74f3b1 Merge branch 'fix_ethernet_reconnect_ipv6' into integration 2025-09-14 10:19:14 -05:00
J. Nick Koston 2eb02d5440 comments 2025-09-14 09:26:24 -05:00
J. Nick Koston dfc7382c35 comments 2025-09-14 09:26:24 -05:00
J. Nick Koston bcf8f4ef9d comments 2025-09-14 09:25:59 -05:00
J. Nick Koston ea26f9319b comments 2025-09-14 09:25:46 -05:00
J. Nick Koston f78ae3aa52 Merge branch 'integration' into memory_api 2025-09-14 09:18:36 -05:00
J. Nick Koston 0359c3120a Merge branch 'fix_ethernet_reconnect_ipv6' into integration 2025-09-14 09:18:32 -05:00
J. Nick Koston 4bb40418c5 comments 2025-09-14 09:17:51 -05:00
J. Nick Koston 09a4d51120 comments 2025-09-14 09:17:24 -05:00
J. Nick Koston c1c4fabc28 comments 2025-09-14 09:16:11 -05:00
J. Nick Koston dc8c5a6cb3 comments 2025-09-14 09:12:07 -05:00
J. Nick Koston 3a4a01ac51 [ethernet] Fix permanent component failure from undocumented ESP_FAIL in IPv6 setup 2025-09-14 09:05:28 -05:00
J. Nick Koston a8c1f6e551 Merge branch 'integration' into memory_api 2025-09-13 22:42:36 -05:00
J. Nick Koston 2d27055860 Merge branch 'get_time_response_plus_connect_password_only' into integration 2025-09-13 22:42:27 -05:00
J. Nick Koston c2f0e14e12 [api] Exclude ConnectRequest/Response when password is disabled 2025-09-13 22:39:52 -05:00
J. Nick Koston 62c457fd87 Merge branch 'integration' into memory_api 2025-09-13 18:08:02 -05:00
J. Nick Koston 9f8ced865f Merge branch 'get_time_response' into integration 2025-09-13 18:07:56 -05:00
J. Nick Koston 722548e393 Revert unneeded GetTime bidirectional support added in #9790 2025-09-13 18:06:12 -05:00
J. Nick Koston b118aa7339 Merge branch 'integration' into memory_api 2025-09-13 17:16:36 -05:00
J. Nick Koston de4ae7fd84 Merge branch 'cleanup_server_info_hello' into integration 2025-09-13 17:16:23 -05:00
J. Nick Koston 38ef33fe5a [api] Optimize HelloResponse server_info to reduce memory usage 2025-09-13 17:16:14 -05:00
J. Nick Koston 51c943d21e [api] Optimize HelloResponse server_info to reduce memory usage 2025-09-13 17:16:09 -05:00
J. Nick Koston 1ea97e9caf [api] Optimize HelloResponse server_info to reduce memory usage 2025-09-13 17:15:05 -05:00
J. Nick Koston 11691d05e2 Merge branch 'integration' into memory_api 2025-09-13 17:01:04 -05:00
J. Nick Koston c1d990ee2b Merge remote-tracking branch 'upstream/dev' into integration 2025-09-13 17:00:51 -05:00
J. Nick Koston 4b15421d42 dry 2025-09-12 16:36:57 -05:00
J. Nick Koston 3909d271f7 Merge remote-tracking branch 'upstream/dev' into dashboard_dns_lookup_delay 2025-09-12 16:34:34 -05:00
J. Nick Koston 801c15a1e0 dry 2025-09-11 19:43:08 -05:00
J. Nick Koston 0be3387d37 break it out 2025-09-11 19:39:36 -05:00
J. Nick Koston 6744156434 break it out 2025-09-11 19:38:18 -05:00
J. Nick Koston aaeb541bd0 break it out 2025-09-11 19:38:04 -05:00
J. Nick Koston a86f35dbb6 break it up 2025-09-11 19:34:06 -05:00
J. Nick Koston 46c83c8824 fix type 2025-09-11 19:28:54 -05:00
J. Nick Koston 8925966119 reorder 2025-09-11 19:26:18 -05:00
J. Nick Koston 854a415805 wip 2025-09-11 19:17:54 -05:00
J. Nick Koston 384ded539d wip 2025-09-11 19:14:51 -05:00
J. Nick Koston 305b4504de wip 2025-09-11 19:14:03 -05:00
J. Nick Koston 5dbe56849a wip 2025-09-11 19:10:58 -05:00
J. Nick Koston 99403c5a36 wip 2025-09-11 19:08:43 -05:00
J. Nick Koston b416f7c1fb fixes 2025-09-11 19:05:31 -05:00
J. Nick Koston fd9df3a629 fixes 2025-09-11 19:02:33 -05:00
J. Nick Koston 7dcedbae09 fixes 2025-09-11 19:00:31 -05:00
J. Nick Koston b9bf81fffc fixes 2025-09-11 18:57:35 -05:00
J. Nick Koston 23d82f8368 preen 2025-09-11 18:54:06 -05:00
J. Nick Koston 158236f819 preen 2025-09-11 18:51:44 -05:00
J. Nick Koston 817dba3d53 preen 2025-09-11 18:50:28 -05:00
J. Nick Koston 7fb8c84d6a cleanup 2025-09-11 18:47:09 -05:00
J. Nick Koston 80240437c5 cleanup 2025-09-11 18:35:51 -05:00
J. Nick Koston 29525febe1 cleanup 2025-09-11 18:28:28 -05:00
J. Nick Koston bc9d16289e Fix dashboard dns lookup delay 2025-09-11 18:25:06 -05:00
J. Nick Koston 519bc5ef9e Fix dashboard dns lookup delay 2025-09-11 18:22:16 -05:00
J. Nick Koston 4d3405340d Fix dashboard dns lookup delay 2025-09-11 18:21:01 -05:00
J. Nick Koston f6ebe21509 Merge branch 'integration' into memory_api 2025-09-10 21:17:19 -05:00
J. Nick Koston 99d25cc0b3 Merge branch 'ble_cleanups' into integration 2025-09-10 21:17:10 -05:00
J. Nick Koston ec97a464f7 [esp32_ble_tracker] Simplify BLE client state machine by removing READY_TO_CONNECT 2025-09-10 21:14:12 -05:00
J. Nick Koston 386b52f4a4 [esp32_ble_tracker] Simplify BLE client state machine by removing READY_TO_CONNECT 2025-09-10 21:06:35 -05:00
J. Nick Koston 604074e3bf [esp32_ble_tracker] Simplify BLE client state machine by removing READY_TO_CONNECT 2025-09-10 21:02:33 -05:00
J. Nick Koston 185a2c2fe7 Merge branch 'integration' into memory_api 2025-09-09 17:06:57 -05:00
J. Nick Koston 2ac3d19d96 Merge branch 'dev' into integration 2025-09-09 17:06:51 -05:00
J. Nick Koston af45b63d51 Merge branch 'dev' into memory_api 2025-09-09 17:06:39 -05:00
J. Nick Koston e59928166b Merge branch 'integration' into memory_api 2025-09-08 20:31:33 -05:00
J. Nick Koston 67603ba302 Merge branch 'insertion_sort_by_priority' into integration 2025-09-08 20:31:23 -05:00
J. Nick Koston c0cab7ded3 [core] Refactor insertion sort functions to eliminate code duplication 2025-09-08 20:30:38 -05:00
J. Nick Koston 6a7145fef8 Merge branch 'integration' into memory_api 2025-09-08 19:53:58 -05:00
J. Nick Koston b955454852 Merge branch 'reduce_flash_loop_comp' into integration 2025-09-08 19:53:46 -05:00
J. Nick Koston 0495856f61 [core] Reduce flash usage by refactoring looping component partitioning 2025-09-08 19:53:08 -05:00
J. Nick Koston 29552b951d Merge branch 'integration' into memory_api 2025-09-08 19:28:32 -05:00
J. Nick Koston 959846ed89 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-08 19:28:20 -05:00
J. Nick Koston 4c9fd2b800 Merge branch 'integration' into memory_api 2025-09-08 10:05:14 -05:00
J. Nick Koston 6b73cdbafb Merge branch 'fix_upload_run' into integration 2025-09-08 10:05:03 -05:00
J. Nick Koston 8179495fd7 [core] Fix serial upload regression from DNS resolution PR #10595 2025-09-08 10:03:56 -05:00
J. Nick Koston f37223c756 Merge branch 'integration' into memory_api 2025-09-07 22:03:07 -05:00
J. Nick Koston 2f66a9f586 Merge branch 'tiny_scheduler_cleanup_reduce_nesting' into integration 2025-09-07 22:02:55 -05:00
J. Nick Koston 9a9783bb21 [core] Reduce unnecessary nesting in scheduler loop 2025-09-07 22:02:03 -05:00
J. Nick Koston 5b4b026d1b Merge branch 'integration' into memory_api 2025-09-07 20:11:09 -05:00
J. Nick Koston b78b4601f3 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-07 20:10:59 -05:00
J. Nick Koston 563216220d Merge branch 'integration' into memory_api 2025-09-07 18:54:50 -05:00
J. Nick Koston 66d301a120 Merge branch 'component_source_logstring' into integration 2025-09-07 18:54:29 -05:00
J. Nick Koston b3c4c4b411 Merge remote-tracking branch 'upstream/dev' into component_source_logstring 2025-09-07 18:53:46 -05:00
J. Nick Koston d2e1135a56 Merge branch 'integration' into memory_api 2025-09-07 18:47:09 -05:00
J. Nick Koston 232c91fccf Merge branch 'dev' into integration 2025-09-07 18:46:59 -05:00
J. Nick Koston aec6c3ae33 Merge branch 'integration' into memory_api 2025-09-07 18:23:31 -05:00
J. Nick Koston a255e5be13 Merge branch 'bad_ind_flash_esp8266' into integration 2025-09-07 18:23:22 -05:00
J. Nick Koston 424e0a97b2 const 2025-09-07 18:23:03 -05:00
J. Nick Koston 72a1f467f0 Merge branch 'integration' into memory_api 2025-09-07 18:05:23 -05:00
J. Nick Koston 00e54961a2 fix merge 2025-09-07 18:05:14 -05:00
J. Nick Koston c3b20bbda1 Merge branch 'dev' into bad_ind_flash_esp8266 2025-09-07 18:02:27 -05:00
J. Nick Koston c634ef4b12 Merge branch 'integration' into memory_api 2025-09-07 18:02:14 -05:00
J. Nick Koston bf5e0d6e28 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-07 18:01:59 -05:00
J. Nick Koston ffd607ee28 Merge branch 'integration' into memory_api 2025-09-07 17:21:57 -05:00
J. Nick Koston 5a5b528205 Merge branch 'optimize_pcf8574' into integration 2025-09-07 17:21:51 -05:00
J. Nick Koston b227e83c08 Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-07 17:21:48 -05:00
J. Nick Koston e969fc3027 Merge branch 'sx1509_gpio_cache' into integration 2025-09-07 17:21:44 -05:00
J. Nick Koston 269fed6ccc Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into sx1509_gpio_cache 2025-09-07 17:21:27 -05:00
J. Nick Koston 2d43f31fdb Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into optimize_pcf8574 2025-09-07 17:21:09 -05:00
J. Nick Koston c906eb881b Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into pca9554_loop_churn_fix 2025-09-07 17:20:40 -05:00
J. Nick Koston 1964764dd0 Merge branch 'integration' into memory_api 2025-09-07 16:50:48 -05:00
J. Nick Koston d0c157c92e Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into integration 2025-09-07 16:50:42 -05:00
J. Nick Koston 7d65acf7db use conditional 2025-09-07 16:48:09 -05:00
J. Nick Koston f358f0a8f9 Merge branch 'integration' into memory_api 2025-09-07 09:48:20 -05:00
J. Nick Koston 8fb7cd2340 Merge branch 'base64_chars_flash_esp8266' into integration 2025-09-07 09:48:10 -05:00
J. Nick Koston 7bd8b1d137 Update esphome/core/helpers.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-07 09:46:54 -05:00
J. Nick Koston f9d10954bb Merge branch 'integration' into memory_api 2025-09-07 09:33:29 -05:00
J. Nick Koston 3a9bc75b29 Merge branch 'log_update_interval' into integration 2025-09-07 09:33:21 -05:00
J. Nick Koston 0f2a8300b2 [core] Convert LOG_UPDATE_INTERVAL macro to function to reduce flash usage 2025-09-07 09:32:02 -05:00
J. Nick Koston 68c8a67677 Merge branch 'integration' into memory_api 2025-09-07 09:02:28 -05:00
J. Nick Koston 546a2e2fcc Merge branch 'component_source_logstring' into integration 2025-09-07 09:02:20 -05:00
J. Nick Koston b70573e8ff Merge remote-tracking branch 'upstream/dev' into component_source_logstring 2025-09-07 09:02:07 -05:00
J. Nick Koston 5f8731a136 Merge branch 'integration' into memory_api 2025-09-07 08:59:12 -05:00
J. Nick Koston 3faea0b0cd Merge branch 'base64_chars_flash_esp8266' into integration 2025-09-07 08:58:54 -05:00
J. Nick Koston 960a65e2f3 [core] Store BASE64 chars in flash memory array 2025-09-07 08:56:44 -05:00
J. Nick Koston 28233180c9 tidy 2025-09-07 08:27:25 -05:00
J. Nick Koston 2be9f42ddd Merge branch 'integration' into memory_api 2025-09-07 08:23:54 -05:00
J. Nick Koston 11f5849e70 Merge branch 'bad_ind_flash_esp8266' into integration 2025-09-07 08:23:29 -05:00
J. Nick Koston c198ef6b07 [api] Store plaintext error message in PROGMEM on ESP8266 2025-09-07 08:21:02 -05:00
J. Nick Koston 902619e46d Merge branch 'integration' into memory_api 2025-09-06 23:30:57 -05:00
J. Nick Koston b738a8ba83 Merge branch 'scheduler_skip_add_no_change' into integration 2025-09-06 23:30:51 -05:00
J. Nick Koston 0364ea38e6 Merge remote-tracking branch 'upstream/scheduler_skip_add_no_change' into scheduler_skip_add_no_change 2025-09-06 23:30:40 -05:00
J. Nick Koston fec9e63b0c rename 2025-09-06 23:29:40 -05:00
J. Nick Koston 97957b49f1 rename 2025-09-06 23:29:11 -05:00
J. Nick Koston 98f7ae93db Update esphome/core/scheduler.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-06 23:27:14 -05:00
J. Nick Koston 871d36e303 Merge branch 'integration' into memory_api 2025-09-06 22:58:10 -05:00
J. Nick Koston d0b0ee704c Merge branch 'scheduler_skip_add_no_change' into integration 2025-09-06 22:58:00 -05:00
J. Nick Koston 4a9cfeddcd better name 2025-09-06 22:56:57 -05:00
J. Nick Koston 08f6286427 Merge branch 'integration' into memory_api 2025-09-06 22:53:35 -05:00
J. Nick Koston 7b7ec63b4a Merge branch 'scheduler_skip_add_no_change' into integration 2025-09-06 22:53:27 -05:00
J. Nick Koston 57fd7552e3 [core] Skip redundant process_to_add() call when no scheduler items added 2025-09-06 22:52:48 -05:00
J. Nick Koston 261ab786fd Merge branch 'integration' into memory_api 2025-09-06 09:23:33 -05:00
J. Nick Koston a4e7805635 Merge remote-tracking branch 'origin/dev' into integration 2025-09-06 09:23:24 -05:00
J. Nick Koston 5e44aa2ccc Merge branch 'integration' into memory_api 2025-09-05 22:23:30 -05:00
J. Nick Koston 5d039c3bbc Merge branch 'warning_strings_flash' into integration 2025-09-05 22:23:16 -05:00
J. Nick Koston 2aadf59219 cleanup 2025-09-05 22:22:52 -05:00
J. Nick Koston e9498d65c5 Merge branch 'integration' into memory_api 2025-09-05 22:15:46 -05:00
J. Nick Koston ba5324fa2f merge 2025-09-05 22:15:31 -05:00
J. Nick Koston f2dede2861 Merge branch 'integration' into memory_api 2025-09-05 22:14:32 -05:00
J. Nick Koston b793f94d9a Merge branch 'warning_strings_flash' into integration 2025-09-05 22:13:20 -05:00
J. Nick Koston ad58b92abe more 2025-09-05 22:08:32 -05:00
J. Nick Koston 9360601f53 more 2025-09-05 22:07:20 -05:00
J. Nick Koston 52fe034bff wip 2025-09-05 22:01:10 -05:00
J. Nick Koston 1108dd8e78 warnings strings flash 2025-09-05 21:54:47 -05:00
J. Nick Koston a6d43b5ec9 warnings strings flash 2025-09-05 21:49:19 -05:00
J. Nick Koston a26c769b96 Merge branch 'integration' into memory_api 2025-09-05 21:28:09 -05:00
J. Nick Koston d8d9c21ee6 Merge remote-tracking branch 'upstream/dev' into integration 2025-09-05 21:27:59 -05:00
J. Nick Koston bf7ac26ab1 Merge branch 'integration' into memory_api 2025-09-05 17:20:13 -05:00
J. Nick Koston 65d8819a9e Merge branch 'component_source_logstring' into integration 2025-09-05 17:20:05 -05:00
J. Nick Koston d90d7e77e9 cleanup 2025-09-05 17:19:52 -05:00
J. Nick Koston 8e468ff645 Merge branch 'integration' into memory_api 2025-09-05 17:11:30 -05:00
J. Nick Koston ac46cc0eea Merge branch 'component_source_logstring' into integration 2025-09-05 17:11:16 -05:00
J. Nick Koston c84928aba5 [core] Store component source strings in flash on ESP8266 (breaking change) 2025-09-05 17:08:11 -05:00
J. Nick Koston a891b34b01 Merge branch 'integration' into memory_api 2025-09-05 14:40:56 -05:00
J. Nick Koston 2d28a1a4f4 Merge branch 'mdns_progmem' into integration 2025-09-05 14:40:46 -05:00
J. Nick Koston a1773e0a3c fix warning 2025-09-05 14:40:32 -05:00
J. Nick Koston 48d9de7f24 Merge branch 'integration' into memory_api 2025-09-05 13:53:51 -05:00
J. Nick Koston d8abd045e0 Merge branch 'ota_log_str' into integration 2025-09-05 13:53:40 -05:00
J. Nick Koston bc67196556 [esphome] ESP8266: Move OTA error strings to PROGMEM (saves 116 bytes RAM) 2025-09-05 13:53:10 -05:00
J. Nick Koston 7ffe6459f6 Merge branch 'integration' into memory_api 2025-09-05 13:36:33 -05:00
J. Nick Koston e968302251 Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 13:35:39 -05:00
J. Nick Koston f2bde66933 cleanup 2025-09-05 13:35:30 -05:00
J. Nick Koston f6b97d3977 Merge branch 'logger_esp8266_progmem' into memory_api 2025-09-05 13:27:37 -05:00
J. Nick Koston fd1086965a Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 13:27:29 -05:00
J. Nick Koston 47fac7c99a standard way 2025-09-05 13:21:54 -05:00
J. Nick Koston c311ed9e15 Merge remote-tracking branch 'upstream/dev' into logger_esp8266_progmem 2025-09-05 13:18:15 -05:00
J. Nick Koston 35ab40faf4 try to make tidy happy 2025-09-05 13:14:51 -05:00
J. Nick Koston ce9cf27ca5 Merge branch 'integration' into memory_api 2025-09-05 13:10:56 -05:00
J. Nick Koston b7fc25c69c Merge branch 'state_class_to_string_flash' into integration 2025-09-05 13:10:51 -05:00
J. Nick Koston 3f3b31a2b4 simplify 2025-09-05 13:04:27 -05:00
J. Nick Koston 2f7c1601e3 Merge branch 'integration' into memory_api 2025-09-05 13:02:18 -05:00
J. Nick Koston dd6283bc4d Merge branch 'state_class_to_string_flash' into integration 2025-09-05 13:02:14 -05:00
J. Nick Koston 406e6852d2 preen 2025-09-05 13:01:58 -05:00
J. Nick Koston bb5a973fdf Merge branch 'integration' into memory_api 2025-09-05 11:34:19 -05:00
J. Nick Koston ba2f6027fb Merge branch 'state_class_to_string_flash' into memory_api 2025-09-05 11:34:06 -05:00
J. Nick Koston fa9f8c829b Merge branch 'state_class_to_string_flash' into integration 2025-09-05 11:33:27 -05:00
J. Nick Koston 4248cbc596 [sensor] ESP8266: Use LogString for state_class_to_string() to save RAM 2025-09-05 11:32:52 -05:00
J. Nick Koston ed7cbb9111 Merge branch 'integration' into memory_api 2025-09-05 11:20:33 -05:00
J. Nick Koston 394c20c54b Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 11:20:29 -05:00
J. Nick Koston dd870b0362 fix header 2025-09-05 11:19:38 -05:00
J. Nick Koston b5dea4549c Merge branch 'integration' into memory_api 2025-09-05 11:17:17 -05:00
J. Nick Koston 71ac279adc revert 2025-09-05 11:17:08 -05:00
J. Nick Koston c8d575aab7 revert 2025-09-05 11:15:09 -05:00
J. Nick Koston 9b882a8792 Merge branch 'integration' into memory_api 2025-09-05 11:12:43 -05:00
J. Nick Koston 9dabaf3c31 Merge branch 'web_server_8266_store_flash' into integration 2025-09-05 11:12:36 -05:00
J. Nick Koston a0b2d9c34c Revert "json keys"
This reverts commit ae3f4ad919.
2025-09-05 11:12:25 -05:00
J. Nick Koston 4321fc86c2 Revert "more"
This reverts commit ef0e93a9cb.
2025-09-05 11:12:15 -05:00
J. Nick Koston 210680a4cb Merge branch 'integration' into memory_api 2025-09-05 11:06:50 -05:00
J. Nick Koston 20935a9b9b Merge branch 'web_server_8266_store_flash' into integration 2025-09-05 11:06:43 -05:00
J. Nick Koston ef0e93a9cb more 2025-09-05 11:05:10 -05:00
J. Nick Koston ae3f4ad919 json keys 2025-09-05 11:02:14 -05:00
J. Nick Koston c6f8aa45eb Merge branch 'integration' into memory_api 2025-09-05 10:45:36 -05:00
J. Nick Koston 820fffbf71 Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 10:45:31 -05:00
J. Nick Koston abe768a704 header 2025-09-05 10:45:21 -05:00
J. Nick Koston def3992af5 Merge branch 'integration' into memory_api 2025-09-05 10:43:11 -05:00
J. Nick Koston c598366e61 Merge branch 'web_server_8266_store_flash' into integration 2025-09-05 10:43:07 -05:00
J. Nick Koston 6d70417cae silence false positive 2025-09-05 10:42:39 -05:00
J. Nick Koston f28691edb4 Merge branch 'integration' into memory_api 2025-09-05 10:39:27 -05:00
J. Nick Koston da09a2d76c Merge branch 'ota_web_server_esp8266_flash' into integration 2025-09-05 10:39:20 -05:00
J. Nick Koston 4911c859d4 beginResponse_P 2025-09-05 10:39:11 -05:00
J. Nick Koston 4b57f1e619 beginResponse_P 2025-09-05 10:38:58 -05:00
J. Nick Koston f9d3cddd23 Merge branch 'integration' into memory_api 2025-09-05 10:34:18 -05:00
J. Nick Koston 3603b6c18d Merge branch 'web_server_8266_store_flash' into integration 2025-09-05 10:34:11 -05:00
J. Nick Koston 6e24048a90 preen 2025-09-05 10:30:45 -05:00
J. Nick Koston b7ef1cd7d4 Merge branch 'integration' into memory_api 2025-09-05 10:26:16 -05:00
J. Nick Koston 1ca66767ba Merge branch 'ota_web_server_esp8266_flash' into integration 2025-09-05 10:26:10 -05:00
J. Nick Koston 70358c27d3 [web_server] ESP8266: Store OTA response strings in PROGMEM (saves 52 bytes RAM) 2025-09-05 10:25:34 -05:00
J. Nick Koston 40794bca78 Merge branch 'logger_esp8266_progmem' into memory_api 2025-09-05 10:20:37 -05:00
J. Nick Koston 7c15311622 Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 10:20:34 -05:00
J. Nick Koston d323d49185 Revert "Update esphome/components/logger/logger_esp8266.cpp"
This reverts commit 9e56bc1710.
2025-09-05 10:20:13 -05:00
J. Nick Koston f4f1b9d8c3 Merge branch 'integration' into memory_api 2025-09-05 10:19:29 -05:00
J. Nick Koston 0a72155c42 Merge branch 'logger_esp8266_progmem' into integration 2025-09-05 10:19:25 -05:00
J. Nick Koston 9e56bc1710 Update esphome/components/logger/logger_esp8266.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-05 10:19:03 -05:00
J. Nick Koston 7903e43a66 [logger] ESP8266: Store UART selection strings in PROGMEM (saves 36 bytes RAM) 2025-09-05 10:18:07 -05:00
J. Nick Koston 8c90675eb2 Merge branch 'integration' into memory_api 2025-09-05 10:12:10 -05:00
J. Nick Koston d4e49f6705 Merge branch 'script_ram' into integration 2025-09-05 10:12:03 -05:00
J. Nick Koston d2d0f06be3 [script] ESP8266: Store log format strings in PROGMEM (saves 240 bytes RAM) 2025-09-05 10:11:11 -05:00
J. Nick Koston 51c29f7c61 Merge branch 'integration' into memory_api 2025-09-05 09:43:38 -05:00
J. Nick Koston 0dfa34d961 Merge branch 'light_missing_macros' into integration 2025-09-05 09:43:33 -05:00
J. Nick Koston 4969b8ab80 [light] ESP8266: Store log strings in flash memory 2025-09-05 09:42:53 -05:00
J. Nick Koston 5760d5c995 Merge branch 'integration' into memory_api 2025-09-05 09:22:50 -05:00
J. Nick Koston 2c571dbe68 Merge branch 'gpio_binary_sensor_progmem_logs' into integration 2025-09-05 09:22:43 -05:00
J. Nick Koston fd67da9fb0 [gpio] ESP8266: Store log strings in flash memory 2025-09-05 09:22:06 -05:00
J. Nick Koston 62fbda4cc3 Merge branch 'integration' into memory_api 2025-09-05 09:14:09 -05:00
J. Nick Koston a580d83954 Merge branch 'web_server_8266_store_flash' into integration 2025-09-05 09:14:04 -05:00
J. Nick Koston f67c5fbab2 [web_server] ESP8266: Move strings to PROGMEM (saves 128 bytes RAM) 2025-09-05 09:13:15 -05:00
J. Nick Koston 33697e95ac Merge branch 'captive_portal_progmem_8266' into memory_api 2025-09-05 08:43:02 -05:00
J. Nick Koston 14b0a84ca7 Merge branch 'captive_portal_progmem_8266' into integration 2025-09-05 08:42:58 -05:00
J. Nick Koston 3f622169b9 missed one 2025-09-05 08:42:46 -05:00
J. Nick Koston 894bbd27c3 Merge branch 'integration' into memory_api 2025-09-05 08:32:09 -05:00
J. Nick Koston 8a53229bfb Merge branch 'captive_portal_progmem_8266' into integration 2025-09-05 08:32:01 -05:00
J. Nick Koston a8352ef2cb preen 2025-09-05 08:29:32 -05:00
J. Nick Koston 6ff31bdbbf fix refactoring error 2025-09-05 08:27:39 -05:00
J. Nick Koston eb666324fe Merge branch 'integration' into memory_api 2025-09-04 23:32:23 -05:00
J. Nick Koston fde9d70f95 Merge branch 'captive_portal_progmem_8266' into integration 2025-09-04 23:32:15 -05:00
J. Nick Koston 089430abc9 [captive_portal] ESP8266: Move strings to PROGMEM (saves 192 bytes RAM) 2025-09-04 23:31:44 -05:00
J. Nick Koston 2433ac4821 Merge branch 'integration' into memory_api 2025-09-04 22:58:41 -05:00
J. Nick Koston f53c9be729 Merge branch 'mdns_progmem' into integration 2025-09-04 22:58:35 -05:00
J. Nick Koston 639b924be3 [mdns] Move constant strings to flash on ESP8266 2025-09-04 22:57:44 -05:00
J. Nick Koston cf7140ce1a Merge branch 'integration' into memory_api 2025-09-04 22:29:59 -05:00
J. Nick Koston 38ccfc7b5c Merge branch 'noise_prologue_flash_esp8266' into integration 2025-09-04 22:29:53 -05:00
J. Nick Koston e2b6efd8de [api] Store Noise protocol prologue in flash on ESP8266 2025-09-04 22:28:42 -05:00
J. Nick Koston f762d3a6e2 Merge branch 'integration' into memory_api 2025-09-04 21:42:14 -05:00
J. Nick Koston c45b8a33d4 Merge branch 'align_resolver' into integration 2025-09-04 21:42:09 -05:00
J. Nick Koston 830b9a881a redesign 2025-09-04 21:39:50 -05:00
pre-commit-ci-lite[bot] 6ab0581c93 [pre-commit.ci lite] apply automatic fixes 2025-09-05 02:12:35 +00:00
J. Nick Koston f836b71e1c Update test_resolver.py 2025-09-04 21:11:22 -05:00
J. Nick Koston f18303fe2b fix test 2025-09-04 20:56:05 -05:00
J. Nick Koston 3fc928f5d1 fix, cover 2025-09-04 20:17:08 -05:00
J. Nick Koston 2d37518c00 fix, cover 2025-09-04 20:16:30 -05:00
J. Nick Koston a282920d7c fix, cover 2025-09-04 20:06:55 -05:00
J. Nick Koston d7aec744b7 preen 2025-09-04 20:00:31 -05:00
J. Nick Koston ccbe629f8d Fix DNS resolution inconsistency between logs and OTA operations 2025-09-04 19:58:44 -05:00
J. Nick Koston d5f855004e Merge branch 'integration' into memory_api 2025-09-04 14:45:52 -05:00
J. Nick Koston 85b8925d17 Merge branch 'sx1509_gpio_cache' into integration 2025-09-04 14:45:46 -05:00
J. Nick Koston 245c36e628 fix 2025-09-04 14:45:34 -05:00
J. Nick Koston 025da5ac30 Merge branch 'integration' into memory_api 2025-09-04 14:40:26 -05:00
J. Nick Koston 140b970ac5 Merge branch 'pca6414a_cached_gpio_expander' into integration 2025-09-04 14:40:15 -05:00
J. Nick Koston 87b6fbfb47 Merge branch 'mcp_23016_gpio_cache' into integration 2025-09-04 14:40:12 -05:00
J. Nick Koston ead5ba4da6 Merge branch 'sx1509_gpio_cache' into integration 2025-09-04 14:40:07 -05:00
J. Nick Koston 06833d6f8b [sx1509] Migrate to CachedGpioExpander to reduce I2C bus usage 2025-09-04 14:36:27 -05:00
J. Nick Koston d9ded6b87e [sx1509] Migrate to CachedGpioExpander to reduce I2C bus usage 2025-09-04 14:35:34 -05:00
J. Nick Koston 977f07c338 [pca6416a] Migrate to reduce I2C bus usage 2025-09-04 14:22:33 -05:00
J. Nick Koston 053415a22e [mcp23016] Migrate to CachedGpioExpander to reduce I2C bus usage 2025-09-04 14:02:31 -05:00
J. Nick Koston ed0b1b02ed Merge branch 'integration' into memory_api 2025-09-04 13:51:40 -05:00
J. Nick Koston 66d3e8c5c2 Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 13:51:29 -05:00
J. Nick Koston 04a238d851 Merge branch 'optimize_pcf8574' into integration 2025-09-04 13:51:15 -05:00
J. Nick Koston a63927a5f6 Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into optimize_pcf8574 2025-09-04 13:51:05 -05:00
J. Nick Koston c29c5b754a Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into pca9554_loop_churn_fix 2025-09-04 13:50:39 -05:00
J. Nick Koston 2b4bf270fd Merge branch 'integration' into memory_api 2025-09-04 13:49:39 -05:00
J. Nick Koston 71c5f3c6b2 Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into integration 2025-09-04 13:49:30 -05:00
J. Nick Koston e843f1759b update docs 2025-09-04 13:49:19 -05:00
J. Nick Koston feecc734fb update docs 2025-09-04 13:49:10 -05:00
J. Nick Koston a6ed4bb844 Merge branch 'integration' into memory_api 2025-09-04 13:27:13 -05:00
J. Nick Koston 058f04232f Merge branch 'gpio_expander_fix_more_than_8_pins_in_bank' into integration 2025-09-04 13:27:07 -05:00
J. Nick Koston ef50033766 [gpio_expander] Fix CachedGpioExpander template to support >8 pins per bank 2025-09-04 13:16:48 -05:00
J. Nick Koston 56652ce763 Merge branch 'integration' into memory_api 2025-09-04 13:10:35 -05:00
J. Nick Koston 5920508c32 Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 13:10:31 -05:00
J. Nick Koston d29586ba5a fix 2025-09-04 13:10:21 -05:00
J. Nick Koston 42c8624f95 Merge branch 'integration' into memory_api 2025-09-04 13:09:32 -05:00
J. Nick Koston 960590434c Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 13:09:27 -05:00
J. Nick Koston 4065bdaea6 merge 2025-09-04 13:08:57 -05:00
J. Nick Koston 1528c06599 Merge branch 'integration' into memory_api 2025-09-04 13:05:31 -05:00
J. Nick Koston b814edd43c Merge branch 'optimize_pcf8574' into integration 2025-09-04 13:05:23 -05:00
J. Nick Koston 2d409b017e Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 13:05:15 -05:00
J. Nick Koston 20d3e4a1b8 Merge branch 'integration' into memory_api 2025-09-04 13:05:08 -05:00
J. Nick Koston c36dc5c4ad Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 13:05:04 -05:00
J. Nick Koston cf9c8e3786 update pca as well 2025-09-04 13:03:33 -05:00
J. Nick Koston 5b0d1fb30e cleanup 2025-09-04 12:57:44 -05:00
J. Nick Koston ee090c7c38 cleanup 2025-09-04 12:32:52 -05:00
J. Nick Koston e866ae0f50 handle 16 pins 2025-09-04 12:28:23 -05:00
J. Nick Koston f5dbc44662 Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 12:24:02 -05:00
J. Nick Koston 75de980f58 Merge branch 'optimize_pcf8574' into integration 2025-09-04 12:23:58 -05:00
J. Nick Koston 4885819881 use helper 2025-09-04 12:21:48 -05:00
J. Nick Koston ec88aefebf Merge branch 'integration' into memory_api 2025-09-04 11:21:29 -05:00
J. Nick Koston 03c64b1ae5 Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 11:21:22 -05:00
J. Nick Koston c1c522dc08 fix stale comment 2025-09-04 11:21:17 -05:00
J. Nick Koston 0585f05d90 Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 11:20:27 -05:00
J. Nick Koston 8211220cc4 Merge branch 'optimize_pcf8574' into integration 2025-09-04 11:20:21 -05:00
J. Nick Koston 784d547294 correctness 2025-09-04 11:19:30 -05:00
J. Nick Koston 526ba902ae Merge branch 'integration' into memory_api 2025-09-04 11:04:30 -05:00
J. Nick Koston 339a2e2d0f Merge branch 'optimize_pcf8574' into integration 2025-09-04 11:04:21 -05:00
J. Nick Koston 1d91bf5759 [pcf8574] Add lazy input caching to reduce I2C bus usage 2025-09-04 11:02:23 -05:00
J. Nick Koston 888a1539c5 Merge branch 'integration' into memory_api 2025-09-04 10:56:08 -05:00
J. Nick Koston abb6e1c2ab Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 10:55:54 -05:00
J. Nick Koston d2a9e0ef7a build 2025-09-04 10:55:27 -05:00
J. Nick Koston 52ce1f8985 Merge branch 'integration' into memory_api 2025-09-04 10:53:37 -05:00
J. Nick Koston 2d84834d6d Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 10:53:31 -05:00
J. Nick Koston cd4a6bbe37 add myself since I use this in production now and will be swithing more devices to use it 2025-09-04 10:52:47 -05:00
J. Nick Koston 30ed4717de Merge branch 'integration' into memory_api 2025-09-04 10:43:24 -05:00
J. Nick Koston 727b271079 Merge branch 'pca9554_loop_churn_fix' into integration 2025-09-04 10:43:19 -05:00
J. Nick Koston faca78aeb9 [pca9554] Reduce I2C bus usage with lazy input caching 2025-09-04 10:33:05 -05:00
J. Nick Koston b0ec9abbc4 Merge branch 'i2c_std_vector_heap' into memory_api 2025-09-04 10:14:22 -05:00
J. Nick Koston b1413ac0e0 Merge branch 'integration' into memory_api 2025-09-04 09:06:59 -05:00
J. Nick Koston 80ed40426a Merge branch 'logger_8266_str_to_flash' into integration 2025-09-04 09:06:54 -05:00
J. Nick Koston e6ab45a78d esp32 fix 2025-09-04 09:06:11 -05:00
J. Nick Koston 049606607a Merge branch 'ota_esp8266_logstr' into memory_api 2025-09-04 09:02:48 -05:00
J. Nick Koston 8fdb62b4f7 Merge branch 'ota_esp8266_logstr' into integration 2025-09-04 09:02:41 -05:00
J. Nick Koston 2e7ebc6258 [esphome] Store OTA component log strings in flash on ESP8266 2025-09-04 09:01:59 -05:00
J. Nick Koston b5df54d900 Merge branch 'integration' into memory_api 2025-09-04 08:58:18 -05:00
J. Nick Koston 072bbcd30b Merge branch 'logger_8266_str_to_flash' into integration 2025-09-04 08:58:12 -05:00
J. Nick Koston b4154831a6 cleanup 2025-09-04 08:58:03 -05:00
J. Nick Koston 81783ef49d cleanup 2025-09-04 08:57:43 -05:00
J. Nick Koston 85314be7a2 Merge branch 'logger_8266_str_to_flash' into memory_api 2025-09-04 08:53:18 -05:00
J. Nick Koston 8d7dfc1a75 Merge branch 'logger_8266_str_to_flash' into integration 2025-09-04 08:53:13 -05:00
J. Nick Koston 313556bb49 [esp8266][logger] Store LOG_LEVELS strings in PROGMEM to reduce RAM usage 2025-09-04 08:52:06 -05:00
J. Nick Koston a58b7abde7 Merge branch 'integration' into memory_api 2025-09-04 08:37:41 -05:00
J. Nick Koston faa243227f Merge branch 'esp8266_api_progmem' into integration 2025-09-04 08:37:35 -05:00
J. Nick Koston 70da50b32f [esp8266][api] Store error strings in PROGMEM to reduce RAM usage 2025-09-04 08:32:49 -05:00
J. Nick Koston 85a4a61d14 [i2c] Optimize memory usage with stack allocation for small buffers 2025-09-04 08:07:22 -05:00
J. Nick Koston e1b9b57cd7 Merge branch 'esp8266_gpio_progmem' into memory_api 2025-09-03 22:58:53 -05:00
J. Nick Koston 07fba41139 Merge branch 'esp8266_gpio_progmem' into integration 2025-09-03 22:58:48 -05:00
J. Nick Koston 0fa3d79c38 fixes 2025-09-03 22:58:35 -05:00
J. Nick Koston 27594869e2 fixes 2025-09-03 22:58:14 -05:00
J. Nick Koston 7587be3dfd Merge branch 'integration' into memory_api 2025-09-03 22:57:33 -05:00
J. Nick Koston 4cc17031a0 Merge branch 'esp8266_gpio_progmem' into integration 2025-09-03 22:57:23 -05:00
J. Nick Koston ace79b1886 fixes 2025-09-03 22:57:15 -05:00
J. Nick Koston 28c2af69ea Merge branch 'integration' into memory_api 2025-09-03 22:56:34 -05:00
J. Nick Koston 5026406d90 Merge branch 'esp8266_gpio_progmem' into integration 2025-09-03 22:56:27 -05:00
J. Nick Koston 87f40cf24a cleanup 2025-09-03 22:56:15 -05:00
J. Nick Koston 897bb4d13f [esp8266] Store GPIO initialization arrays in PROGMEM to save RAM 2025-09-03 22:53:24 -05:00
J. Nick Koston c57631394c Revert "[esp8266] Store component source strings in PROGMEM to save RAM"
This reverts commit ea01cc598b.
2025-09-03 22:17:41 -05:00
J. Nick Koston aadbc41d6a Revert "preen"
This reverts commit da9a7c41d1.
2025-09-03 22:17:36 -05:00
J. Nick Koston 2d3243d631 Revert "[esp8266] Store component source strings in PROGMEM to save RAM"
This reverts commit ea01cc598b.
2025-09-03 22:16:59 -05:00
J. Nick Koston 105e94db2e Revert "preen"
This reverts commit da9a7c41d1.
2025-09-03 22:16:41 -05:00
J. Nick Koston 32fec42130 Merge branch 'integration' into memory_api 2025-09-03 22:06:30 -05:00
J. Nick Koston b04f4e949d Merge branch 'esp8266_component_source_progmem' into integration 2025-09-03 22:06:22 -05:00
J. Nick Koston da9a7c41d1 preen 2025-09-03 22:05:21 -05:00
J. Nick Koston ea01cc598b [esp8266] Store component source strings in PROGMEM to save RAM 2025-09-03 21:56:47 -05:00
J. Nick Koston 4766abc461 Merge branch 'integration' into memory_api 2025-09-03 19:11:03 -05:00
J. Nick Koston e453da6161 Merge remote-tracking branch 'origin/esp8266_prefs' into memory_api 2025-09-03 19:10:44 -05:00
J. Nick Koston 64902373e4 Merge remote-tracking branch 'origin/esp8266_prefs' into integration 2025-09-03 19:10:37 -05:00
J. Nick Koston 3b4ed0a51f preen 2025-09-03 19:04:21 -05:00
J. Nick Koston 2d2ca0de52 Merge branch 'integration' into memory_api 2025-09-03 18:41:23 -05:00
J. Nick Koston 6cee81589e Merge remote-tracking branch 'origin/esp8266_prefs' into integration 2025-09-03 18:41:13 -05:00
J. Nick Koston 63cd8a6a58 [esp8266] Reduce preference memory usage by 40% through field optimization 2025-09-03 18:40:28 -05:00
J. Nick Koston 9495a885ed Merge branch 'integration' into memory_api 2025-09-03 17:56:30 -05:00
J. Nick Koston 8f2903dee8 Merge branch 'esp32_gpio_memory' into integration 2025-09-03 17:56:23 -05:00
J. Nick Koston 7249716a3c [esp32] Reduce GPIO memory usage by 50% through bit-packing 2025-09-03 17:53:48 -05:00
J. Nick Koston 6c3dba06ba Merge branch 'integration' into memory_api 2025-09-03 16:37:56 -05:00
J. Nick Koston 0ffd011286 Merge branch 'reduce_scheduler_item_memory' into integration 2025-09-03 16:37:20 -05:00
J. Nick Koston 1298268937 Update esphome/core/scheduler.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-03 16:37:01 -05:00
J. Nick Koston 26e0151fee Update esphome/core/scheduler.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-03 16:36:49 -05:00
J. Nick Koston 4192930b0f Merge remote-tracking branch 'upstream/reduce_scheduler_item_memory' into reduce_scheduler_item_memory 2025-09-03 16:35:28 -05:00
J. Nick Koston ca0029e002 explain why its safe 2025-09-03 16:35:00 -05:00
J. Nick Koston 9d7f606a39 explain why its safe 2025-09-03 16:34:47 -05:00
J. Nick Koston 191e9dedc5 Update esphome/core/scheduler.h 2025-09-03 16:30:37 -05:00
J. Nick Koston 93c453c8f9 Merge branch 'integration' into memory_api 2025-09-03 16:23:14 -05:00
J. Nick Koston 34472313f4 Merge branch 'reduce_scheduler_item_memory' into integration 2025-09-03 16:22:50 -05:00
J. Nick Koston ce0271aab1 Merge branch 'scheduler_pool_v2' into integration 2025-09-03 16:21:50 -05:00
J. Nick Koston d505f5ecaa [scheduler] Reduce SchedulerItem memory usage by 7.4% on 32-bit platforms 2025-09-03 16:13:07 -05:00
J. Nick Koston 00ea769787 Merge branch 'dev' into scheduler_pool_v2 2025-09-03 15:31:41 -05:00
J. Nick Koston a9bd37bacd Merge branch 'integration' into memory_api 2025-09-02 23:32:49 -05:00
J. Nick Koston 3206afdc2a Merge branch 'scheduler_pool_v2' into integration 2025-09-02 23:32:37 -05:00
J. Nick Koston af10a809de cleanup 2025-09-02 22:43:26 -05:00
J. Nick Koston 1a5402f35c preen 2025-09-02 22:27:40 -05:00
J. Nick Koston 9a6e678621 Merge remote-tracking branch 'upstream/dev' into scheduler_pool_v2 2025-09-02 21:31:24 -05:00
J. Nick Koston 4e54bd8c45 Merge remote-tracking branch 'upstream/dev' into scheduler_pool_v2 2025-09-02 21:31:12 -05:00
J. Nick Koston 5aa54bfff4 preen 2025-09-02 20:30:16 -05:00
J. Nick Koston 91eabc983e cleanup 2025-09-02 20:20:02 -05:00
J. Nick Koston 3066afef24 fix churn on last itme 2025-09-02 20:07:47 -05:00
J. Nick Koston 979a021a27 preen 2025-09-02 19:55:38 -05:00
J. Nick Koston e90ae09354 preen 2025-09-02 19:54:01 -05:00
J. Nick Koston c8a4a3b752 more churn 2025-09-02 19:52:44 -05:00
J. Nick Koston 41628d2193 improve debug logging 2025-09-02 19:47:15 -05:00
J. Nick Koston be4c8956ad debug 2025-09-02 19:39:49 -05:00
J. Nick Koston 6e14050351 preen 2025-09-02 19:11:14 -05:00
J. Nick Koston 0c5b63c382 preen 2025-09-02 18:59:54 -05:00
J. Nick Koston 43634257f6 fix defer churn 2025-09-02 18:43:38 -05:00
J. Nick Koston d061feafdd Merge branch 'scheduler_pool_v2' into integration 2025-09-02 16:14:01 -05:00
J. Nick Koston f72f80ed7b cleanup 2025-09-02 16:13:51 -05:00
J. Nick Koston e0e8a982d5 improve pool hit rate 2025-09-02 16:12:59 -05:00
J. Nick Koston b009a0f967 improve pool hit rate 2025-09-02 16:10:28 -05:00
J. Nick Koston c4efdf5766 preen 2025-09-02 11:14:43 -05:00
J. Nick Koston 05c71bda91 preen 2025-09-02 11:10:46 -05:00
J. Nick Koston ef33f630c2 preen 2025-09-02 11:07:13 -05:00
J. Nick Koston 3115c6fdbf preen 2025-09-02 11:05:42 -05:00
J. Nick Koston 154023f017 preen 2025-09-02 11:04:42 -05:00
J. Nick Koston 50f5728c76 preen 2025-09-02 11:00:18 -05:00
J. Nick Koston 4400535775 some tests 2025-09-02 10:45:59 -05:00
J. Nick Koston 4c12150200 debug logging 2025-09-02 10:31:27 -05:00
J. Nick Koston 2080f881da Merge branch 'integration' into memory_api 2025-09-02 10:18:22 -05:00
J. Nick Koston 86a6edd612 Merge branch 'scheduler_pool_v2' into integration 2025-09-02 10:18:16 -05:00
J. Nick Koston 4eb744d05e Merge branch 'integration' into memory_api 2025-09-02 10:11:55 -05:00
J. Nick Koston 1da1144e5b Merge remote-tracking branch 'upstream/dev' into integration 2025-09-02 10:11:50 -05:00
J. Nick Koston ce4d422da8 comments 2025-09-02 10:06:51 -05:00
J. Nick Koston 98b8f15576 pool scheduler items 2025-09-02 08:48:39 -05:00
J. Nick Koston 98c1b01fe7 pool scheduler items 2025-09-02 08:47:07 -05:00
J. Nick Koston 1855877abe Merge branch 'integration' into memory_api 2025-09-02 08:00:14 -05:00
J. Nick Koston 01187a9000 Merge branch 'state_class_to_string_no_alloc' into integration 2025-09-02 08:00:04 -05:00
J. Nick Koston 48070be829 [sensor] Change state_class_to_string() to return const char* to avoid allocations 2025-09-01 23:24:37 -05:00
J. Nick Koston d738962d8d Merge branch 'integration' into memory_api 2025-09-01 23:14:34 -05:00
J. Nick Koston 3527ca75b6 Merge branch 'get_icon_avoid_string_alloc' into integration 2025-09-01 23:14:19 -05:00
J. Nick Koston 0affd158cb Merge branch 'get_device_class_avoid_string_alloc' into integration 2025-09-01 23:14:14 -05:00
J. Nick Koston 085647a1cd Merge branch 'get_uom_avoid_string_alloc' into integration 2025-09-01 23:14:06 -05:00
J. Nick Koston 4746eb65f7 [core] Use get_unit_of_measurement_ref() in entity logging to avoid string allocations 2025-09-01 23:11:47 -05:00
J. Nick Koston 4da18133f4 [core] Use get_device_class_ref() in entity platform logging to avoid string allocations 2025-09-01 23:07:33 -05:00
J. Nick Koston ae46100af8 [core] Use get_icon_ref() in entity platform logging to avoid string allocations 2025-09-01 23:01:11 -05:00
J. Nick Koston 64a2b688a5 Merge branch 'integration' into memory_api 2025-09-01 22:34:38 -05:00
J. Nick Koston e55b05ed32 Merge branch 'hash_avoid_temp_heap_std_string' into integration 2025-09-01 22:34:28 -05:00
J. Nick Koston f75a50206f [core] Optimize fnv1_hash to avoid string allocations for static entities 2025-09-01 22:28:43 -05:00
J. Nick Koston 9ebdfde287 Merge branch 'integration' into memory_api 2025-08-29 22:11:17 -05:00
J. Nick Koston fb234ee9bf Merge branch 'entity_count_order_fix' into integration 2025-08-29 22:11:09 -05:00
J. Nick Koston 8be40bf1ca Fix incorrect entity count when lambdas are present (priority ordering issue) 2025-08-29 18:21:41 -05:00
J. Nick Koston bcea7e9fb1 Merge branch 'integration' into memory_api 2025-08-29 10:49:02 -05:00
J. Nick Koston d8fbe2457e Merge remote-tracking branch 'upstream/proxy_configured_mode' into integration 2025-08-29 10:48:51 -05:00
J. Nick Koston a6eaf59eff [bluetooth_proxy] Expose configured scanning mode in API responses 2025-08-29 08:59:09 -05:00
J. Nick Koston c828941e16 Merge branch 'integration' into memory_api 2025-08-28 13:13:27 -05:00
J. Nick Koston a8df3fa249 Merge branch 'fix_string_lifetime_fill_and_encode_entity_info' into integration 2025-08-28 13:13:18 -05:00
J. Nick Koston 4930027557 [api] Fix string lifetime issue in fill_and_encode_entity_info for dynamic object_id 2025-08-28 13:11:58 -05:00
J. Nick Koston c90b4c0f81 Merge branch 'integration' into memory_api 2025-08-27 09:47:26 -05:00
J. Nick Koston 0df992ee44 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-27 09:47:18 -05:00
J. Nick Koston 2f699b3c20 Merge branch 'integration' into memory_api 2025-08-27 09:47:03 -05:00
J. Nick Koston 170f99ee08 Merge branch 'ota_magic_validation' into integration 2025-08-27 09:46:58 -05:00
J. Nick Koston 001d05b8f2 Merge branch 'integration' into memory_api 2025-08-26 18:22:10 -05:00
J. Nick Koston be7578ef9a Merge branch 'none_address_fix' into integration 2025-08-26 18:22:05 -05:00
J. Nick Koston ed7054cdb7 Fix AttributeError when uploading OTA to offline OpenThread devices 2025-08-26 18:20:38 -05:00
J. Nick Koston a61300b82f Merge branch 'integration' into memory_api 2025-08-26 17:22:56 -05:00
J. Nick Koston 830e8969a3 Merge branch 'partial_revert_wifi_race_fix' into integration 2025-08-26 17:22:50 -05:00
J. Nick Koston 6e681a5f3e [wifi] Fix reconnection failures after adapter restart by not clearing netif pointers 2025-08-26 17:20:55 -05:00
J. Nick Koston 9e0600ec45 Merge branch 'integration' into memory_api 2025-08-26 16:34:04 -05:00
J. Nick Koston 7a7a6825a2 Merge branch 'dev' into integration 2025-08-26 16:33:49 -05:00
J. Nick Koston bef783451b [esphome] Fix OTA watchdog resets by validating all magic bytes before blocking 2025-08-23 19:03:18 -05:00
J. Nick Koston b871456c1e Merge branch 'integration' into memory_api 2025-08-23 16:19:19 -05:00
J. Nick Koston 5c6f92a83e Merge branch 'on_scan_end' into integration 2025-08-23 16:19:11 -05:00
J. Nick Koston f4deb0f70b [esp32_ble_tracker] Fix on_scan_end trigger compilation without USE_ESP32_BLE_DEVICE 2025-08-23 14:41:45 -05:00
J. Nick Koston e44eb59e3c Merge branch 'integration' into memory_api 2025-08-22 08:52:52 -05:00
J. Nick Koston 6e9acfdebd Merge branch 'ble_retries_no_give_up_before_timeout' into integration 2025-08-22 08:52:45 -05:00
J. Nick Koston 29b25194ba [esp32_ble] Increase GATT connection retry count to use full timeout window 2025-08-22 08:48:27 -05:00
J. Nick Koston a38b994f2b [esp32_ble] Increase GATT connection retry count to use full timeout window 2025-08-22 08:45:35 -05:00
J. Nick Koston 101d98014d Merge branch 'integration' into memory_api 2025-08-21 21:47:24 -05:00
J. Nick Koston 9fd9c1b9d3 Merge branch 'connection_params' into integration 2025-08-21 21:47:16 -05:00
J. Nick Koston 7d7dbefb60 tweak 2025-08-21 21:46:36 -05:00
J. Nick Koston caf4fcce5f Merge branch 'dev' into connection_params 2025-08-21 21:45:18 -05:00
J. Nick Koston 65eb57ca1b tweak 2025-08-21 21:44:59 -05:00
J. Nick Koston 082f795adc Merge branch 'integration' into memory_api 2025-08-21 20:27:21 -05:00
J. Nick Koston f83f05b704 Merge branch 'connection_params' into integration 2025-08-21 20:27:15 -05:00
J. Nick Koston 9d16eeeb77 tweak 2025-08-21 20:27:04 -05:00
J. Nick Koston 3ac5285515 Merge branch 'integration' into memory_api 2025-08-21 09:00:18 -05:00
J. Nick Koston 8f44ec0b51 Merge branch 'connection_params' into integration 2025-08-21 09:00:12 -05:00
J. Nick Koston f12bcc621c dry, review 2025-08-21 09:00:01 -05:00
J. Nick Koston 2993940e1d Merge branch 'integration' into memory_api 2025-08-21 08:25:28 -05:00
J. Nick Koston f4077fdd52 Merge branch 'connection_params' into integration 2025-08-21 08:25:23 -05:00
J. Nick Koston 1ba37ca7c9 preen 2025-08-21 08:25:13 -05:00
J. Nick Koston db96cfaf14 Merge branch 'integration' into memory_api 2025-08-21 08:12:51 -05:00
J. Nick Koston 6054c3eac8 Merge branch 'connection_params' into integration 2025-08-21 08:12:43 -05:00
J. Nick Koston 2f101c0a20 [esp32_ble_client] Adjust connection parameters to improve device compatibility 2025-08-21 08:11:17 -05:00
J. Nick Koston bad7b0598b Merge branch 'integration' into memory_api 2025-08-20 20:26:20 -05:00
J. Nick Koston 840a814f75 Merge remote-tracking branch 'origin/event_39' into integration 2025-08-20 20:26:14 -05:00
J. Nick Koston 4dd01ea9ac [esp32_ble_client] Add missing ESP_GATTC_UNREG_FOR_NOTIFY_EVT logging 2025-08-20 20:25:50 -05:00
J. Nick Koston b4f0d4b0c3 Merge branch 'integration' into memory_api 2025-08-20 20:24:31 -05:00
J. Nick Koston 7577153baa Merge remote-tracking branch 'origin/event_39' into integration 2025-08-20 20:24:22 -05:00
J. Nick Koston a6850786e2 [esp32_ble_client] Add missing ESP_GATTC_UNREG_FOR_NOTIFY_EVT logging 2025-08-20 20:23:37 -05:00
J. Nick Koston df7c2473c1 Merge branch 'integration' into memory_api 2025-08-20 20:07:21 -05:00
J. Nick Koston 18ad9804d3 Merge branch 'open_error_fix' into integration 2025-08-20 20:07:13 -05:00
J. Nick Koston 8ee46435a3 cleanup 2025-08-20 20:04:13 -05:00
J. Nick Koston dde1cec3ce Merge branch 'integration' into memory_api 2025-08-20 14:54:39 -05:00
J. Nick Koston fbd3cb0965 Merge branch 'open_error_fix' into integration 2025-08-20 14:54:31 -05:00
J. Nick Koston 977ff9b481 [esp32_ble_client] Fix race condition causing "ESP_GATTC_OPEN_EVT in IDLE state" error spam 2025-08-20 14:53:42 -05:00
J. Nick Koston 3c6a54bb70 Merge branch 'integration' into memory_api 2025-08-20 13:26:15 -05:00
J. Nick Koston ec7919e294 Merge branch 'pvvx_mithermometer_defer_write' into integration 2025-08-20 13:26:09 -05:00
J. Nick Koston 5253b77cfe Merge branch 'improve_entity_error_reporting_sanitized_name' into integration 2025-08-20 13:26:04 -05:00
J. Nick Koston 77aba57078 Merge branch 'prefs_device_id' into integration 2025-08-20 13:26:00 -05:00
J. Nick Koston 6c01e7196c preen 2025-08-20 13:09:15 -05:00
J. Nick Koston 2c44198cb5 preen 2025-08-20 13:06:18 -05:00
J. Nick Koston 757ad2ff96 [core] Fix preference storage to account for device_id 2025-08-20 13:02:14 -05:00
J. Nick Koston 86c3812174 preen 2025-08-20 12:15:54 -05:00
J. Nick Koston d182ce8bf6 preen 2025-08-20 12:12:39 -05:00
J. Nick Koston ea5da950c0 [core] Improve error reporting for entity name conflicts with non-ASCII characters 2025-08-20 12:09:26 -05:00
J. Nick Koston c88f2eb4d1 reduce 2025-08-20 11:38:07 -05:00
J. Nick Koston 998a9264a1 fix race 2025-08-20 10:05:46 -05:00
J. Nick Koston 6fd46966e2 Merge branch 'integration' into memory_api 2025-08-20 08:07:50 -05:00
J. Nick Koston 916c661544 Merge branch 'duplicate_stop_path' into integration 2025-08-20 08:07:45 -05:00
J. Nick Koston 4d4ab5b804 preen 2025-08-20 08:07:16 -05:00
J. Nick Koston 558cdda8a4 Merge branch 'integration' into memory_api 2025-08-20 08:06:47 -05:00
J. Nick Koston 3e1be2b987 Merge branch 'duplicate_stop_path' into integration 2025-08-20 08:06:39 -05:00
J. Nick Koston d555766306 fix 2025-08-20 08:06:27 -05:00
J. Nick Koston 856ffc2e86 Merge branch 'integration' into memory_api 2025-08-20 07:46:07 -05:00
J. Nick Koston 5a740fb390 Merge branch 'remove_searching' into integration 2025-08-20 07:46:01 -05:00
J. Nick Koston cdf85b419b Merge branch 'duplicate_stop_path' into integration 2025-08-20 07:45:56 -05:00
J. Nick Koston d03eec5a58 [esp32_ble_tracker] Remove duplicate client promotion logic 2025-08-20 07:44:35 -05:00
J. Nick Koston 9f4e31b07c preen 2025-08-20 07:01:13 -05:00
J. Nick Koston df0ed57667 preen 2025-08-20 06:58:43 -05:00
J. Nick Koston 963b0333ba preen 2025-08-20 06:58:27 -05:00
J. Nick Koston fbc9b751c5 preen 2025-08-20 06:58:20 -05:00
J. Nick Koston d8c85bfc44 [bluetooth_proxy] Remove unused ClientState::SEARCHING state 2025-08-20 06:44:25 -05:00
J. Nick Koston 518443606c Merge branch 'integration' into memory_api 2025-08-19 21:53:35 -05:00
J. Nick Koston c5b794e41c merge 2025-08-19 21:53:28 -05:00
J. Nick Koston 72dd419c49 Merge branch 'integration' into memory_api 2025-08-19 21:52:31 -05:00
J. Nick Koston 951842e30f Merge remote-tracking branch 'upstream/dev' into integration 2025-08-19 21:52:22 -05:00
J. Nick Koston 997223c93e Merge branch 'integration' into memory_api 2025-08-19 21:43:20 -05:00
J. Nick Koston f0da3d6c09 Merge branch 'dev' into integration 2025-08-19 21:43:09 -05:00
J. Nick Koston d1b9902e41 Merge branch 'integration' into memory_api 2025-08-19 15:38:10 -05:00
J. Nick Koston 9554c82c0b Merge branch 'optimize_safemode_flash' into integration 2025-08-19 15:38:04 -05:00
J. Nick Koston c5998690ba Merge branch 'integration' into memory_api 2025-08-19 09:48:25 -05:00
J. Nick Koston 084d8828a6 Merge branch 'slot_freed_too_early' into integration 2025-08-19 09:48:20 -05:00
J. Nick Koston 0c86241aed [bluetooth_proxy] Fix connection slot race by deferring slot release until GATT close 2025-08-19 09:40:21 -05:00
J. Nick Koston db10185c7e Merge branch 'integration' into memory_api 2025-08-18 21:07:11 -05:00
J. Nick Koston 9a7ffa4bbc Merge branch 'log_sensor' into integration 2025-08-18 21:07:04 -05:00
J. Nick Koston 9ec6b3144a Merge remote-tracking branch 'origin/log_sensor' into log_sensor 2025-08-18 21:06:34 -05:00
J. Nick Koston 70eb45b5d3 lint 2025-08-18 21:06:24 -05:00
J. Nick Koston 7f34757ded Merge branch 'integration' into memory_api 2025-08-18 20:03:00 -05:00
J. Nick Koston 0c0e8491d2 Merge branch 'webserver_reduce_defer_calls' into integration 2025-08-18 20:02:53 -05:00
J. Nick Koston 1786934242 [web_server] Reduce flash usage by consolidating defer calls in switch and lock handlers 2025-08-18 20:01:42 -05:00
J. Nick Koston 8fd430e423 Update esphome/components/sensor/sensor.h 2025-08-18 19:17:26 -05:00
J. Nick Koston 8dc3958b0c Update esphome/components/sensor/sensor.h 2025-08-18 19:17:19 -05:00
J. Nick Koston bbd5ab1340 Merge branch 'integration' into memory_api 2025-08-18 18:33:43 -05:00
J. Nick Koston 63cd279cd4 Merge branch 'log_number' into integration 2025-08-18 18:33:26 -05:00
J. Nick Koston 6f6b38762a Merge branch 'log_button' into integration 2025-08-18 18:33:23 -05:00
J. Nick Koston 2dc57d6236 Merge branch 'log_binary_sensor' into integration 2025-08-18 18:33:20 -05:00
J. Nick Koston deadb8d9be Merge branch 'log_sensor' into integration 2025-08-18 18:33:15 -05:00
J. Nick Koston 59c93cf3f1 preen 2025-08-18 18:32:50 -05:00
J. Nick Koston 9d25dd5dd2 [button] Convert LOG_BUTTON macro to function to reduce flash usage 2025-08-18 18:29:13 -05:00
J. Nick Koston a21ee3c483 [binary_sensor] Convert LOG_BINARY_SENSOR macro to function to reduce flash usage 2025-08-18 18:19:53 -05:00
J. Nick Koston 8971e2e9a4 [number] Convert LOG_NUMBER macro to function to reduce flash usage 2025-08-18 18:14:55 -05:00
J. Nick Koston e7fadef15c [sensor] Convert LOG_SENSOR macro to function to reduce flash usage 2025-08-18 18:00:46 -05:00
J. Nick Koston 67ae6ce00a tweak 2025-08-18 17:36:20 -05:00
J. Nick Koston 24cee8ae03 tweak 2025-08-18 17:35:21 -05:00
J. Nick Koston 58a9944601 tweak 2025-08-18 17:34:08 -05:00
J. Nick Koston a999540d4b Merge branch 'integration' into memory_api 2025-08-18 17:13:49 -05:00
J. Nick Koston aa608f3a92 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-18 17:13:42 -05:00
J. Nick Koston 727e04c424 Merge branch 'integration' into memory_api 2025-08-18 14:37:37 -05:00
J. Nick Koston 0ea3018bd1 Merge branch 'mdns_cleanups' into integration 2025-08-18 14:37:30 -05:00
J. Nick Koston fd6002e334 [mdns] Reduce flash usage and prevent RAM over-allocation in service compilation 2025-08-18 14:36:41 -05:00
J. Nick Koston 6248c3d729 preen 2025-08-18 12:47:22 -05:00
J. Nick Koston 3d03053eb5 Merge branch 'optimize_safemode_flash' into memory_api 2025-08-18 12:42:22 -05:00
J. Nick Koston 571e6be404 [safe_mode] Reduce flash usage by 172 bytes through code optimization 2025-08-18 12:41:35 -05:00
J. Nick Koston 7d3a87c603 [safe_mode] Reduce flash usage by 172 bytes through code optimization 2025-08-18 12:40:24 -05:00
J. Nick Koston be2a680e8f [safe_mode] Reduce flash usage by 172 bytes through code optimization 2025-08-18 12:39:33 -05:00
J. Nick Koston a36942b760 [safe_mode] Reduce flash usage by 172 bytes through code optimization 2025-08-18 12:37:44 -05:00
J. Nick Koston 8332893661 Merge branch 'integration' into memory_api 2025-08-18 11:06:58 -05:00
J. Nick Koston ed3884e5aa Merge branch 'bluetooth_connection_final' into integration 2025-08-18 11:06:53 -05:00
J. Nick Koston fb3a01e84e might as well do both 2025-08-18 11:05:09 -05:00
J. Nick Koston 54696eac67 Merge branch 'integration' into memory_api 2025-08-18 09:02:43 -05:00
J. Nick Koston 60e27e3ed7 Merge branch 'more_zero_copy_api_followup' into integration 2025-08-18 09:02:36 -05:00
J. Nick Koston dbda2d5b6a Merge branch 'integration' into memory_api 2025-08-18 08:29:23 -05:00
J. Nick Koston 23fa231ca2 Merge branch 'decode_cleanup' into integration 2025-08-18 08:29:17 -05:00
J. Nick Koston a9227148f5 review comments 2025-08-18 08:28:58 -05:00
J. Nick Koston 7e67f0432d Merge branch 'integration' into memory_api 2025-08-18 01:07:43 -05:00
J. Nick Koston b249cc25d9 Merge branch 'bluetooth_connection_final' into integration 2025-08-18 01:07:35 -05:00
J. Nick Koston 5678621cd5 [bluetooth_proxy] Mark BluetoothConnection as final for compiler optimizations 2025-08-18 01:06:47 -05:00
J. Nick Koston c9932342eb Merge branch 'integration' into memory_api 2025-08-18 01:01:20 -05:00
J. Nick Koston e68a44bcba Merge branch 'api_connection_final' into integration 2025-08-18 01:01:12 -05:00
J. Nick Koston af87e27382 [api] Mark APIConnection as final for compiler optimizations 2025-08-18 01:00:12 -05:00
J. Nick Koston f556ab1515 Merge branch 'frame_helper_opt' into memory_api 2025-08-18 00:57:04 -05:00
J. Nick Koston 76b6d77337 Merge branch 'frame_helper_opt' into integration 2025-08-18 00:56:57 -05:00
J. Nick Koston 134526e0ec [api] Optimize APIFrameHelper virtual methods and mark implementations as final 2025-08-18 00:56:19 -05:00
J. Nick Koston cb157822d0 Merge branch 'decode_cleanup' into memory_api 2025-08-17 22:22:50 -05:00
J. Nick Koston d7b28752e0 Merge branch 'decode_cleanup' into integration 2025-08-17 22:22:41 -05:00
J. Nick Koston a2ad2dd10e [api] Optimize protobuf decode loop for better performance and maintainability 2025-08-17 22:21:51 -05:00
J. Nick Koston 4ee84b6d53 Merge remote-tracking branch 'origin/libretiny_no_vector' into memory_api 2025-08-17 21:40:59 -05:00
J. Nick Koston 0a483012ae Update esphome/components/libretiny/preferences.cpp 2025-08-17 21:40:45 -05:00
J. Nick Koston b12666f356 Merge branch 'integration' into memory_api 2025-08-17 21:38:18 -05:00
J. Nick Koston a82eeabbc8 Merge branch 'libretiny_no_vector' into memory_api 2025-08-17 21:37:42 -05:00
J. Nick Koston 6b9fc783b6 Merge remote-tracking branch 'upstream/libretiny_no_vector' into integration 2025-08-17 21:37:32 -05:00
J. Nick Koston 2b23899750 Merge branch 'integration' into memory_api 2025-08-17 21:15:01 -05:00
J. Nick Koston afc2ba066e Merge remote-tracking branch 'origin/atomic_remove' into integration 2025-08-17 21:14:54 -05:00
J. Nick Koston b0e8aba426 Merge branch 'integration' into memory_api 2025-08-17 21:13:44 -05:00
J. Nick Koston 898b7b079e Merge branch 'final_proto' into integration 2025-08-17 21:13:34 -05:00
J. Nick Koston 37e36a3d1d [api] Mark protobuf message classes as final to enable compiler optimizations 2025-08-17 21:12:38 -05:00
J. Nick Koston 89732f30f4 [libretiny] Optimize preferences is_changed() by replacing temporary vector with unique_ptr 2025-08-17 18:46:53 -04:00
J. Nick Koston c56fd00a7c cleanup 2025-08-17 16:28:32 -04:00
J. Nick Koston e06dbffe9f fix 2025-08-17 16:12:53 -04:00
J. Nick Koston 5b674dc28c atomic remove 2025-08-17 16:09:57 -04:00
J. Nick Koston 17467150d8 Merge branch 'integration' into memory_api 2025-08-17 08:43:10 -04:00
J. Nick Koston cb1d4830d8 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-17 08:42:46 -04:00
J. Nick Koston 1666aae105 Merge branch 'integration' into memory_api 2025-08-16 09:45:27 -04:00
J. Nick Koston 05a0380a9f Merge branch 'object_id_alloc' into integration 2025-08-16 09:45:17 -04:00
J. Nick Koston 0b004a7d9b tweak 2025-08-16 09:38:00 -04:00
J. Nick Koston 15fca7dea8 Avoid object_id string allocations for all entity info API messages 2025-08-16 09:35:12 -04:00
J. Nick Koston 29daef230d [api] Add zero-copy StringRef methods for compilation_time and effect_name 2025-08-15 23:51:24 -04:00
J. Nick Koston 82d7255a16 Merge branch 'integration' into memory_api 2025-08-15 21:36:21 -04:00
J. Nick Koston c05db304ef Merge branch 'teardown_fix_size' into integration 2025-08-15 21:30:37 -04:00
J. Nick Koston 59037458d6 Update esphome/core/application.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-15 21:27:31 -04:00
J. Nick Koston 769a874d33 Merge branch 'integration' into memory_api 2025-08-15 21:16:44 -04:00
J. Nick Koston 50d284f21f Merge branch 'teardown_fix_size' into integration 2025-08-15 21:16:22 -04:00
J. Nick Koston 0a66612399 teardown 2025-08-15 15:40:19 -05:00
J. Nick Koston 405ebe90f5 teardown 2025-08-15 15:39:33 -05:00
J. Nick Koston 15d1e1f8dd Merge branch 'integration' into memory_api 2025-08-15 15:05:19 -05:00
J. Nick Koston fdf3db465c Merge branch 'useless_fd_setsize_check' into integration 2025-08-15 15:05:13 -05:00
J. Nick Koston 2b887033c5 [core] Remove unnecessary FD_SETSIZE check on ESP32 and improve logging 2025-08-15 14:49:22 -05:00
J. Nick Koston e4a6dcd9c7 Merge branch 'integration' into memory_api 2025-08-15 12:33:32 -05:00
J. Nick Koston ffc234f934 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-15 12:33:27 -05:00
J. Nick Koston 9f8f1f5bc9 Merge branch 'integration' into memory_api 2025-08-15 09:54:57 -05:00
J. Nick Koston b43ab33662 Merge branch 'esp32_ble_no_vector_no_heap_small' into integration 2025-08-15 09:54:47 -05:00
J. Nick Koston d78d2c8710 Apply suggestions from code review 2025-08-15 09:53:07 -05:00
J. Nick Koston 3aae84fade preen 2025-08-15 08:54:17 -05:00
J. Nick Koston 7005da42bb preen 2025-08-15 08:52:21 -05:00
J. Nick Koston 0c06b02af4 Merge remote-tracking branch 'upstream/dev' into esp32_ble_no_vector_no_heap_small 2025-08-15 08:43:53 -05:00
J. Nick Koston 57b4c65c6c Merge branch 'integration' into memory_api 2025-08-15 00:59:09 -05:00
J. Nick Koston d632fc930c Merge branch 'esp32_ble_no_vector_no_heap_small' into integration 2025-08-15 00:59:00 -05:00
J. Nick Koston 0d966ac115 preen 2025-08-15 00:58:52 -05:00
J. Nick Koston c2abb2c8ba [esp32_ble] Use union space for inline GATTC/GATTS data storage to reduce heap allocations 2025-08-15 00:49:25 -05:00
J. Nick Koston ce328bc9b9 Merge branch 'integration' into memory_api 2025-08-14 23:49:39 -05:00
J. Nick Koston 0757a18fe7 Merge remote-tracking branch 'upstream/esp32_prefs_vector' into integration 2025-08-14 23:49:33 -05:00
J. Nick Koston 04b0a82963 Update esphome/components/esp32/preferences.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 23:49:05 -05:00
J. Nick Koston 306f7263b2 Merge branch 'integration' into memory_api 2025-08-14 23:39:56 -05:00
J. Nick Koston 2cb9f65830 Merge branch 'esp32_ble_no_vector' into integration 2025-08-14 23:39:47 -05:00
J. Nick Koston c32584d48e preen 2025-08-14 23:39:29 -05:00
J. Nick Koston ce6d71e942 Update esphome/components/esp32_ble/ble_event.h 2025-08-14 23:38:54 -05:00
J. Nick Koston 14895adf47 Update esphome/components/esp32_ble/ble_event.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 23:38:25 -05:00
J. Nick Koston d2faac10a5 Merge branch 'integration' into memory_api 2025-08-14 23:01:08 -05:00
J. Nick Koston 8e485b521a Merge branch 'esp32_prefs_vector' into integration 2025-08-14 23:00:59 -05:00
J. Nick Koston da5020354f preen 2025-08-14 22:59:37 -05:00
J. Nick Koston 7b46be523a Merge branch 'integration' into memory_api 2025-08-14 22:42:39 -05:00
J. Nick Koston b695b6b31e Merge branch 'esp32_prefs_vector' into integration 2025-08-14 22:42:34 -05:00
J. Nick Koston 9f4d0d3f23 preen 2025-08-14 22:42:19 -05:00
J. Nick Koston 3585ed185f Merge branch 'integration' into memory_api 2025-08-14 22:22:14 -05:00
J. Nick Koston a7c60e76df Merge branch 'esp32_ble_no_vector' into integration 2025-08-14 22:22:04 -05:00
J. Nick Koston 0ee3155123 fix 2025-08-14 22:20:08 -05:00
J. Nick Koston 1bd458c868 Merge branch 'integration' into memory_api 2025-08-14 22:14:23 -05:00
J. Nick Koston 792f9392a1 Merge branch 'esp32_ble_no_vector' into integration 2025-08-14 22:14:18 -05:00
J. Nick Koston 1fa33253f8 wip 2025-08-14 22:04:10 -05:00
J. Nick Koston 269786cac9 preen 2025-08-14 21:59:46 -05:00
J. Nick Koston 9f22de449a Merge branch 'integration' into memory_api 2025-08-14 21:20:40 -05:00
J. Nick Koston 3aa6901861 Merge branch 'esp32_prefs_vector' into integration 2025-08-14 21:20:33 -05:00
J. Nick Koston e9e94bcd45 [esp32] Optimize preferences is_changed() by replacing temporary vector with unique_ptr 2025-08-14 21:19:36 -05:00
J. Nick Koston bf4070ad75 Merge branch 'integration' into memory_api 2025-08-14 21:04:59 -05:00
J. Nick Koston c562ef6b79 Merge branch 'esp8266_prefs_no_vector' into integration 2025-08-14 21:04:53 -05:00
J. Nick Koston df73d81aca [esp8266] Replace std::vector with std::unique_ptr in preferences to save flash 2025-08-14 21:03:51 -05:00
J. Nick Koston 00ae0fea31 Merge branch 'integration' into memory_api 2025-08-14 20:29:21 -05:00
J. Nick Koston 8cadb011a9 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-14 20:28:41 -05:00
J. Nick Koston 0d288ceef3 Merge branch 'integration' into memory_api 2025-08-14 17:46:43 -05:00
J. Nick Koston 0413914eda Merge branch 'esp32_ble_client_strings_2' into integration 2025-08-14 17:46:34 -05:00
J. Nick Koston 8a9d30c8d3 [esp32_ble_client] Add log helper functions to reduce flash usage by 120 bytes 2025-08-14 17:44:15 -05:00
J. Nick Koston 40d35f3dff Merge branch 'integration' into memory_api 2025-08-14 16:32:51 -05:00
J. Nick Koston bf3436f3b3 Merge branch 'no_eap_when_not_configured' into integration 2025-08-14 16:32:40 -05:00
J. Nick Koston b7e0627b21 [wifi] Automatically disable Enterprise WiFi support when EAP is not configured 2025-08-14 16:29:53 -05:00
J. Nick Koston 4d0049aa62 Merge branch 'integration' into memory_api 2025-08-14 16:04:37 -05:00
J. Nick Koston 9a0d663fb0 Merge branch 'clean_comp_removed' into integration 2025-08-14 16:04:30 -05:00
J. Nick Koston 9af016e2ce preen 2025-08-14 16:03:44 -05:00
J. Nick Koston 256f81f514 Merge branch 'clean_comp_removed' into memory_api 2025-08-14 15:59:52 -05:00
J. Nick Koston a5a0ec907d Merge branch 'clean_comp_removed' into integration 2025-08-14 15:59:46 -05:00
J. Nick Koston da73cb06cc cover other case 2025-08-14 15:59:36 -05:00
J. Nick Koston c0c1b4738a Merge branch 'integration' into memory_api 2025-08-14 14:21:14 -05:00
J. Nick Koston 6a9dcc7d76 merge 2025-08-14 14:20:55 -05:00
J. Nick Koston 93c90124ee Merge branch 'integration' into memory_api 2025-08-14 10:07:27 -05:00
J. Nick Koston 82de6516c6 Merge branch 'clean_comp_removed' into integration 2025-08-14 10:07:19 -05:00
J. Nick Koston 7e7bfb00aa fix typing 2025-08-14 10:06:48 -05:00
J. Nick Koston d42d9fa41e Update esphome/writer.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:05:11 -05:00
J. Nick Koston 6dd818a320 Merge branch 'integration' into memory_api 2025-08-14 09:41:12 -05:00
J. Nick Koston 7637b77394 Merge branch 'clean_comp_removed' into integration 2025-08-14 09:41:04 -05:00
J. Nick Koston ef07d3e0c8 [core] Trigger clean build when components are removed from configuration 2025-08-14 09:34:41 -05:00
J. Nick Koston 6e9fb8201b Merge branch 'integration' into memory_api 2025-08-13 23:10:18 -05:00
J. Nick Koston 912f676133 Merge branch 'api_reduce_2' into integration 2025-08-13 23:10:10 -05:00
J. Nick Koston 9bcd6c7a85 fix 2025-08-13 23:07:22 -05:00
J. Nick Koston 09fa349349 Revert "Revert "preen""
This reverts commit d83ed9ebe1.
2025-08-13 23:06:23 -05:00
J. Nick Koston 58074e0357 Revert "preen"
This reverts commit 51bf2c3511.
2025-08-13 23:05:12 -05:00
J. Nick Koston d83ed9ebe1 Revert "preen"
This reverts commit 0207444765.
2025-08-13 23:04:38 -05:00
J. Nick Koston 6fc0831762 Merge branch 'integration' into memory_api 2025-08-13 23:01:43 -05:00
J. Nick Koston dfa2aa481d Merge branch 'api_reduce_2' into integration 2025-08-13 23:01:30 -05:00
J. Nick Koston 0207444765 preen 2025-08-13 22:58:04 -05:00
J. Nick Koston 51bf2c3511 preen 2025-08-13 22:55:06 -05:00
J. Nick Koston 97c405b57e preen 2025-08-13 22:53:33 -05:00
J. Nick Koston deff1c4bc7 preen 2025-08-13 22:53:12 -05:00
J. Nick Koston d37390412c preen 2025-08-13 22:52:51 -05:00
J. Nick Koston 62a2b5e736 Merge branch 'integration' into memory_api 2025-08-13 22:46:00 -05:00
J. Nick Koston 6c0d21f116 Merge branch 'api_reduce_2' into integration 2025-08-13 22:45:49 -05:00
J. Nick Koston f0decc4716 tweak 2025-08-13 22:42:08 -05:00
J. Nick Koston 3346e09785 preen 2025-08-13 22:23:47 -05:00
J. Nick Koston b43ca2bbab [api] Optimize message buffer allocation and eliminate redundant methods 2025-08-13 22:10:15 -05:00
J. Nick Koston 3bf8624b87 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-08-13 21:43:55 -05:00
J. Nick Koston 0c92dc77ad Merge branch 'integration' into memory_api 2025-08-13 11:24:22 -05:00
J. Nick Koston 203da37390 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-13 11:24:14 -05:00
J. Nick Koston bb6ce91c9d Merge branch 'integration' into memory_api 2025-08-12 21:03:55 -05:00
J. Nick Koston b3e6a0e417 Merge branch 'proxy_uuids_services' into integration 2025-08-12 21:03:43 -05:00
J. Nick Koston 4acc7f77cc one more 2025-08-12 20:22:24 -05:00
J. Nick Koston 9238916b32 one more 2025-08-12 20:22:10 -05:00
J. Nick Koston ed9e717703 Merge branch 'integration' into memory_api 2025-08-12 19:33:42 -05:00
J. Nick Koston ae4f051cd4 Merge branch 'proxy_uuids_services' into integration 2025-08-12 19:33:36 -05:00
J. Nick Koston dec9810177 fix 2025-08-12 19:26:41 -05:00
J. Nick Koston 235050fe58 fix 2025-08-12 19:25:20 -05:00
J. Nick Koston b5c381982c fix 2025-08-12 19:23:44 -05:00
J. Nick Koston 5c12f638bd fix 2025-08-12 19:22:27 -05:00
J. Nick Koston 36613507be fix 2025-08-12 19:19:21 -05:00
J. Nick Koston 803d665a94 tweak 2025-08-12 19:16:02 -05:00
J. Nick Koston 5b279f5f92 tweak 2025-08-12 19:14:37 -05:00
J. Nick Koston 841deff578 [bluetooth_proxy] Optimize UUID conversion and reduce flash usage by 296 bytes 2025-08-12 18:57:17 -05:00
J. Nick Koston c2ebfe8f27 [bluetooth_proxy] Optimize UUID conversion and reduce flash usage by 296 bytes 2025-08-12 18:56:20 -05:00
J. Nick Koston 7b116be48b [bluetooth_proxy] Optimize UUID conversion and reduce flash usage by 296 bytes 2025-08-12 18:54:23 -05:00
J. Nick Koston 1c409e1b51 Merge branch 'integration' into memory_api 2025-08-12 15:34:36 -05:00
J. Nick Koston ffdf80533e Merge branch 'redudant_checks_bluetooth_proxy' into integration 2025-08-12 15:34:29 -05:00
J. Nick Koston b85185f821 [bluetooth_proxy] Remove redundant connection type check after V1 removal 2025-08-12 15:12:58 -05:00
J. Nick Koston daa7633ebb Merge branch 'integration' into memory_api 2025-08-11 17:22:09 -05:00
J. Nick Koston a62d846dd1 Merge remote-tracking branch 'upstream/dev' into integration 2025-08-11 17:22:00 -05:00
J. Nick Koston 0813362ea8 Merge branch 'integration' into memory_api 2025-08-11 14:53:48 -05:00
J. Nick Koston 53da4391a0 Merge branch 'api_writev' into integration 2025-08-11 14:53:36 -05:00
J. Nick Koston 04415211e6 [api] Optimize single vector writes to use write() instead of writev() 2025-08-11 14:52:41 -05:00
J. Nick Koston 4b62f48e12 Merge branch 'integration' into memory_api 2025-08-11 14:37:19 -05:00
J. Nick Koston d46843f6f1 Merge branch 'small_proto_cleanups' into integration 2025-08-11 14:37:11 -05:00
J. Nick Koston 1bd4098cea [api] Add constexpr optimizations to protobuf encoding 2025-08-11 14:36:31 -05:00
J. Nick Koston 11dd8ccd1e Merge branch 'integration' into memory_api 2025-08-11 13:29:31 -05:00
J. Nick Koston 8e0915a3a5 Merge branch 'improve_entity_validation_message' into integration 2025-08-11 13:29:15 -05:00
J. Nick Koston d04422e27d add missing file 2025-08-11 11:36:15 -05:00
J. Nick Koston 753ee1badc [core] Improve entity duplicate validation error messages 2025-08-11 11:32:23 -05:00
J. Nick Koston 073957a310 Merge branch 'integration' into memory_api 2025-08-11 00:44:05 -05:00
J. Nick Koston 075d533b93 Merge branch 'fixed_ble_adv' into integration 2025-08-11 00:43:57 -05:00
J. Nick Koston a847aab65e preen 2025-08-11 00:42:58 -05:00
J. Nick Koston 3d821f1223 preen 2025-08-11 00:42:42 -05:00
J. Nick Koston 9d29031d81 Merge remote-tracking branch 'origin/fixed_ble_adv' into fixed_ble_adv 2025-08-11 00:40:51 -05:00
J. Nick Koston dc0c4a8991 Merge remote-tracking branch 'origin/dev' into fixed_ble_adv 2025-08-11 00:40:41 -05:00
J. Nick Koston af9c008ccb fix off by 1 2025-08-11 00:40:28 -05:00
J. Nick Koston c437d0057c Merge branch 'dev' into fixed_ble_adv 2025-08-11 00:12:22 -05:00
J. Nick Koston cfe2bfea92 Merge branch 'integration' into memory_api 2025-08-11 00:09:51 -05:00
J. Nick Koston 7d3cc0b811 Merge branch 'fixed_ble_adv' into integration 2025-08-11 00:09:45 -05:00
J. Nick Koston 07db443207 fixed ble adv 2025-08-10 23:31:40 -05:00
J. Nick Koston 35a51280d4 fixed ble adv 2025-08-10 23:29:46 -05:00
J. Nick Koston 336fea4251 Merge branch 'integration' into memory_api 2025-08-10 19:29:03 -05:00
J. Nick Koston 2fc44ac831 Merge branch 'ota_fixes' into integration 2025-08-10 19:28:57 -05:00
J. Nick Koston 8f8d6734db dry 2025-08-10 19:26:12 -05:00
J. Nick Koston 6f817fd06a Merge branch 'integration' into memory_api 2025-08-10 19:09:54 -05:00
J. Nick Koston 96cc7f4b99 Merge remote-tracking branch 'origin/ota_fixes' into integration 2025-08-10 19:09:44 -05:00
J. Nick Koston 9021de9c1c preen 2025-08-10 19:04:24 -05:00
J. Nick Koston 7c0856c460 Merge branch 'integration' into memory_api 2025-08-10 18:54:14 -05:00
J. Nick Koston 7148500fa2 Merge branch 'ota_fixes' into integration 2025-08-10 18:54:07 -05:00
J. Nick Koston d337da3d3c cleanp 2025-08-10 18:53:48 -05:00
J. Nick Koston 3cc916b9d8 Merge branch 'integration' into memory_api 2025-08-10 18:47:30 -05:00
J. Nick Koston 5c9816e51b Merge branch 'ota_fixes' into integration 2025-08-10 18:47:24 -05:00
J. Nick Koston 9ce75d2f0f preen 2025-08-10 18:45:44 -05:00
J. Nick Koston bcd4386fe4 Merge branch 'integration' into memory_api 2025-08-10 18:36:04 -05:00
J. Nick Koston d5e831b93a Merge branch 'ota_fixes' into integration 2025-08-10 18:35:41 -05:00
J. Nick Koston 2f9d1e6dac preen 2025-08-10 18:33:30 -05:00
J. Nick Koston ef676a5a77 preen 2025-08-10 18:30:28 -05:00
J. Nick Koston 4faa9231a9 preen 2025-08-10 18:29:00 -05:00
J. Nick Koston 4bdf44bb78 preen 2025-08-10 18:28:27 -05:00
J. Nick Koston 856e13986a preen 2025-08-10 18:25:51 -05:00
J. Nick Koston 4a8369ef93 preen 2025-08-10 18:24:41 -05:00
J. Nick Koston f5790bff73 adjust 2025-08-10 18:19:52 -05:00
J. Nick Koston adf941f68e Merge remote-tracking branch 'upstream/dev' into ota_fixes 2025-08-10 18:04:22 -05:00
J. Nick Koston e48a223eac preen 2025-08-10 18:04:08 -05:00
J. Nick Koston cd5f7fdc98 preen 2025-08-10 18:03:56 -05:00
J. Nick Koston 8ca671ad6f Merge branch 'integration' into memory_api 2025-08-10 17:53:46 -05:00
J. Nick Koston e535c62b47 Merge branch 'ota_fixes' into integration 2025-08-10 17:53:40 -05:00
J. Nick Koston 2bdf335127 uint32_t 2025-08-10 17:53:24 -05:00
J. Nick Koston f0c97c299f uint32_t 2025-08-10 17:53:02 -05:00
J. Nick Koston 17cdf9c8d6 do not block until we get first magic byte 2025-08-10 17:48:47 -05:00
J. Nick Koston 3edb1e0726 Merge branch 'integration' into memory_api 2025-08-10 12:41:54 -05:00
J. Nick Koston 089721606b Merge branch 'ota_fixes' into integration 2025-08-10 12:41:38 -05:00
J. Nick Koston 0c230fcd10 increase to 30s 2025-08-10 12:39:44 -05:00
J. Nick Koston 7ff8094be2 Merge branch 'integration' into memory_api 2025-08-10 11:12:57 -05:00
J. Nick Koston 88642ec717 Merge remote-tracking branch 'swoboda1337/idf_logger' into integration 2025-08-10 11:12:46 -05:00
Jonathan Swoboda d052dec11b Use CONF_LOG_LEVEL from const 2025-08-10 09:11:17 -04:00
Jonathan Swoboda 6d0e86cf25 Add log_level option to idf framework 2025-08-10 09:00:03 -04:00
J. Nick Koston 5394ee37f9 Merge branch 'integration' into memory_api 2025-08-09 21:02:17 -05:00
J. Nick Koston 8a87336aa8 Merge branch 'webserver_flash' into integration 2025-08-09 21:02:12 -05:00
J. Nick Koston e64ecca771 tidy 2025-08-09 21:02:02 -05:00
J. Nick Koston 6aedcab37e Merge branch 'integration' into memory_api 2025-08-09 20:52:47 -05:00
J. Nick Koston da9a29a1dd Merge branch 'webserver_flash' into integration 2025-08-09 20:52:37 -05:00
J. Nick Koston 4e07c50490 tweak 2025-08-09 20:52:28 -05:00
J. Nick Koston 5b91c5f043 Merge branch 'integration' into memory_api 2025-08-09 20:46:51 -05:00
J. Nick Koston 73b11896d4 Merge branch 'webserver_flash' into integration 2025-08-09 20:46:44 -05:00
J. Nick Koston 8faac0c184 [web_server] Reduce flash usage by consolidating parameter parsing 2025-08-09 20:41:44 -05:00
J. Nick Koston 233882e1c2 Merge branch 'integration' into memory_api 2025-08-09 14:06:01 -05:00
J. Nick Koston 54a2ac92bf Merge branch 'ota_fixes' into integration 2025-08-09 14:05:52 -05:00
J. Nick Koston ea74a9ec8f [esphome] Fix OTA watchdog reset when port scanning 2025-08-09 14:01:49 -05:00
J. Nick Koston 48a94b686d Merge branch 'integration' into memory_api 2025-08-08 16:23:20 -05:00
J. Nick Koston 32a968784c Merge branch 'subproc' into integration 2025-08-08 16:23:03 -05:00
J. Nick Koston 3ded96bb26 Optimize subprocess performance with close_fds=False 2025-08-08 16:18:04 -05:00
J. Nick Koston c982e35189 Merge branch 'integration' into memory_api 2025-08-08 16:05:26 -05:00
J. Nick Koston 507ec82886 Merge branch 'port_fallback' into integration 2025-08-08 16:05:20 -05:00
J. Nick Koston e316fe3b80 Merge branch 'esp32_ble_tracker_reboot_on_blocked_loop' into integration 2025-08-08 16:05:15 -05:00
J. Nick Koston cdcf5fd74c [dashboard] Fix port fallback regression when device is offline 2025-08-07 18:47:54 -10:00
J. Nick Koston 61fbf7cd81 Merge branch 'integration' into memory_api 2025-08-07 12:55:44 -10:00
J. Nick Koston 11b82fe3d4 Merge branch 'startup_herd_ble_fix' into integration 2025-08-07 12:55:38 -10:00
J. Nick Koston 1de0a73a63 preen 2025-08-07 12:55:31 -10:00
J. Nick Koston 760add7d29 Merge branch 'integration' into memory_api 2025-08-07 12:39:23 -10:00
J. Nick Koston 86798e3a2b Merge branch 'startup_herd_ble_fix' into integration 2025-08-07 12:39:19 -10:00
J. Nick Koston 543e5099a4 [bluetooth_proxy] Optimize connection loop to reduce CPU usage 2025-08-07 12:38:15 -10:00
J. Nick Koston 3f31bcacad Merge branch 'integration' into memory_api 2025-08-07 10:28:59 -10:00
J. Nick Koston 4ba5718ddd Merge branch 'cover_logging' into integration 2025-08-07 10:28:51 -10:00
J. Nick Koston ac05ab6de1 [cover] Reduce flash usage by optimizing validation messages 2025-08-07 10:28:07 -10:00
J. Nick Koston 75249775ee Merge branch 'integration' into memory_api 2025-08-07 09:57:32 -10:00
J. Nick Koston 902846c6da Merge branch 'mdns_extra' into integration 2025-08-07 09:57:27 -10:00
J. Nick Koston 887d43d76c [mdns] Conditionally compile extra services to reduce flash usage 2025-08-07 09:56:47 -10:00
J. Nick Koston 2ff418c8f9 Merge branch 'integration' into memory_api 2025-08-07 09:44:14 -10:00
J. Nick Koston 3a2c7c9154 Merge branch 'wifi_flash' into integration 2025-08-07 09:44:08 -10:00
J. Nick Koston c5c71bd85e [wifi] Reduce flash usage by optimizing logging 2025-08-07 09:43:24 -10:00
J. Nick Koston fb86bd05db Merge branch 'integration' into memory_api 2025-08-06 22:42:38 -10:00
J. Nick Koston 4d56781be9 Merge branch 'esp32_ble_client_strings' into integration 2025-08-06 22:42:31 -10:00
J. Nick Koston 481bbeb6b5 [esp32_ble_client] Reduce flash usage by optimizing logging strings 2025-08-06 22:41:50 -10:00
J. Nick Koston 431a8dd374 Merge branch 'integration' into memory_api 2025-08-06 22:04:44 -10:00
J. Nick Koston 469076c7dd Merge branch 'cond_compile_service_char_desc_cond' into integration 2025-08-06 22:04:31 -10:00
J. Nick Koston c5065f21b8 condtional 2025-08-06 19:53:57 -10:00
J. Nick Koston 9841d7cf87 Merge branch 'integration' into memory_api 2025-08-06 17:31:53 -10:00
J. Nick Koston 24246a136e Merge branch 'esp32_tracker_touch_ups' into integration 2025-08-06 17:31:48 -10:00
J. Nick Koston cf1b24145b [esp32_ble_tracker] Optimize member variable ordering to reduce memory padding 2025-08-06 17:30:48 -10:00
J. Nick Koston 28d2c86a91 Merge branch 'dev' into memory_api 2025-08-06 14:08:07 -10:00
J. Nick Koston 5e8768084b Merge branch 'integration' into memory_api 2025-08-06 10:56:41 -10:00
J. Nick Koston 28c4460f8b Merge branch 'esp32_ble_client_namespace' into integration 2025-08-06 10:56:28 -10:00
J. Nick Koston cb4d3d37cf [esp32_ble_client] Convert to C++17 nested namespace syntax 2025-08-06 10:55:56 -10:00
J. Nick Koston e29b04bcfe Merge branch 'integration' into memory_api 2025-08-06 10:45:16 -10:00
J. Nick Koston 341d2febd6 Merge branch 'entire_service_list_copied_discarded' into integration 2025-08-06 10:45:06 -10:00
J. Nick Koston 534681b988 [esp32_ble_client] Fix V3_WITH_CACHE connections unnecessarily populating services vector
preen
2025-08-06 10:40:48 -10:00
J. Nick Koston ddb1fcd0f9 preen 2025-08-06 10:39:44 -10:00
J. Nick Koston 2327c5bddf Merge branch 'integration' into memory_api 2025-08-06 10:28:49 -10:00
J. Nick Koston a962bb4af2 Merge branch 'entire_service_list_copied_discarded' into integration 2025-08-06 10:28:43 -10:00
J. Nick Koston ee98abe9f1 [esp32_ble_client] Fix V3_WITH_CACHE connections unnecessarily populating services vector 2025-08-06 10:27:18 -10:00
J. Nick Koston 2cdf50a025 tweak 2025-08-06 10:11:28 -10:00
J. Nick Koston b75719d37e Merge branch 'integration' into memory_api 2025-08-06 10:03:29 -10:00
J. Nick Koston e99794fe9b Merge branch 'drop_v1_connection_type_proxy_only' into integration 2025-08-06 10:03:22 -10:00
J. Nick Koston 16a2677bcf [bluetooth_proxy] Remove V1 connection support 2025-08-06 09:55:01 -10:00
J. Nick Koston 27397593c1 Merge branch 'integration' into memory_api 2025-08-06 07:47:47 -10:00
J. Nick Koston cb4cd00ad1 Merge branch 'proxy_alloc_cleanup' into integration 2025-08-06 07:47:41 -10:00
J. Nick Koston 0893d1d958 [bluetooth_proxy] Remove unnecessary heap allocation for response object 2025-08-06 07:47:14 -10:00
J. Nick Koston 5511dae2fa Merge branch 'integration' into memory_api 2025-08-06 07:38:12 -10:00
J. Nick Koston 1b65d2b1d3 Merge branch 'proxy_log_config' into integration 2025-08-06 07:38:05 -10:00
J. Nick Koston 2af29aab6f [bluetooth_proxy] Consolidate dump_config() log calls 2025-08-06 07:37:30 -10:00
J. Nick Koston e1cb364436 Merge branch 'integration' into memory_api 2025-08-06 07:31:43 -10:00
J. Nick Koston fdc4be8c0c Merge branch 'no_std_find_alloc' into integration 2025-08-06 07:31:35 -10:00
J. Nick Koston a10e7b2a54 [bluetooth_proxy] Replace std::find with simple loop for small fixed array 2025-08-06 07:30:53 -10:00
J. Nick Koston e5a1820708 Merge branch 'integration' into memory_api 2025-08-06 07:09:31 -10:00
J. Nick Koston 211db40cb4 Merge branch 'conditional_compile_ble_adv' into integration 2025-08-06 07:09:21 -10:00
J. Nick Koston 0aec58665a remove filter, its too early 2025-08-06 07:09:05 -10:00
J. Nick Koston c667218f3f Merge branch 'conditional_compile_ble_adv' into memory_api 2025-08-05 22:22:42 -10:00
J. Nick Koston f19ed094b7 Merge branch 'conditional_compile_ble_adv' into integration 2025-08-05 22:22:36 -10:00
J. Nick Koston f55ab960bb order 2025-08-05 22:22:26 -10:00
J. Nick Koston 2da1974a80 Merge branch 'integration' into memory_api 2025-08-05 22:02:28 -10:00
J. Nick Koston bb4ddbd218 Merge branch 'ble_logging_cleanup' into integration 2025-08-05 22:02:18 -10:00
J. Nick Koston 9cc907778b Merge remote-tracking branch 'upstream/dev' into ble_logging_cleanup 2025-08-05 21:55:13 -10:00
J. Nick Koston a11f32d6aa dry 2025-08-05 21:54:44 -10:00
J. Nick Koston ba713737bc Merge branch 'integration' into memory_api 2025-08-05 21:36:58 -10:00
J. Nick Koston 0240c68771 Merge branch 'conditional_compile_ble_adv' into integration 2025-08-05 21:36:46 -10:00
J. Nick Koston 722d76565c [esp32_ble] Conditionally compile BLE advertising to reduce flash usage 2025-08-05 21:30:07 -10:00
J. Nick Koston 096b9c9651 Merge branch 'integration' into memory_api 2025-08-05 20:54:21 -10:00
J. Nick Koston 605e840f81 Merge branch 'out_of_notify' into integration 2025-08-05 20:53:50 -10:00
J. Nick Koston 3bfd77426a [esp32_ble] Make BLE notification limit configurable to fix ESP_GATT_NO_RESOURCES errors 2025-08-05 20:49:35 -10:00
J. Nick Koston 7e288126fa Merge branch 'integration' into memory_api 2025-08-05 20:30:40 -10:00
J. Nick Koston b475542c8b Merge branch 'ble_logging_cleanup' into integration 2025-08-05 20:30:34 -10:00
J. Nick Koston 5d93388a5f [bluetooth_proxy][esp32_ble_tracker][esp32_ble_client] Consolidate duplicate logging code to reduce flash usage 2025-08-05 20:26:43 -10:00
J. Nick Koston addeec572a Merge branch 'integration' into memory_api 2025-08-05 17:26:40 -10:00
J. Nick Koston bb95320348 Merge branch 'bluetooth_proxy_flash' into integration 2025-08-05 17:26:34 -10:00
J. Nick Koston c1ace213ab [bluetooth_proxy] Reduce flash usage by consolidating duplicate logging 2025-08-05 17:26:06 -10:00
J. Nick Koston c253eb2362 Merge branch 'integration' into memory_api 2025-08-05 17:06:06 -10:00
J. Nick Koston 8fbef8e71e Merge branch 'esp32_ble_tracker_more_cleanups' into integration 2025-08-05 17:05:56 -10:00
J. Nick Koston c5d5e66f30 dry 2025-08-05 17:04:02 -10:00
J. Nick Koston eea84a43d6 Merge branch 'integration' into memory_api 2025-08-05 17:02:43 -10:00
J. Nick Koston c52bd6fecf Merge branch 'esp32_ble_tracker_more_cleanups' into integration 2025-08-05 17:02:34 -10:00
J. Nick Koston 028d20908e Merge remote-tracking branch 'upstream/dev' into integration 2025-08-05 17:02:31 -10:00
J. Nick Koston ef271cbd3b [esp32_ble_tracker] Simplify state machine guards with helper functions 2025-08-05 17:01:53 -10:00
J. Nick Koston 7344ff6941 merge 2025-08-04 21:50:36 -10:00
J. Nick Koston 2b5d035c39 Merge branch 'integration' into memory_api 2025-08-04 21:49:10 -10:00
J. Nick Koston 6cc5f83c71 Merge branch 'already_discovered_missing_guard' into integration 2025-08-04 21:48:48 -10:00
J. Nick Koston acdcf514b9 [esp32_ble_tracker] Add missing USE_ESP32_BLE_DEVICE guard for already_discovered_ member 2025-08-04 20:14:30 -10:00
J. Nick Koston 89cf81baaa Merge branch 'integration' into memory_api 2025-08-04 20:06:47 -10:00
J. Nick Koston 7c328e51c4 Merge branch 'esp32_ble_co' into integration 2025-08-04 20:06:29 -10:00
J. Nick Koston ba9cf1b5f6 Add myself to multiple bluetooth codeowners 2025-08-04 19:56:22 -10:00
J. Nick Koston 1c7200545b Merge branch 'integration' into memory_api 2025-08-04 16:52:44 -10:00
J. Nick Koston e499374964 Merge branch 'multi_device_args' into integration 2025-08-04 16:52:30 -10:00
J. Nick Koston 63705c5a6e Merge branch 'dev' into multi_device_args 2025-08-04 16:51:57 -10:00
J. Nick Koston 3bbd3acea6 Merge branch 'integration' into memory_api 2025-08-04 16:26:55 -10:00
J. Nick Koston 8fc1835e5b Merge branch 'esp32_ble_tracker_cleanup_code' into integration 2025-08-04 16:26:49 -10:00
J. Nick Koston 655d001d72 address bot comments 2025-08-04 16:26:40 -10:00
J. Nick Koston 5f9080dac9 fix --device OTA 2025-08-04 15:57:29 -10:00
J. Nick Koston 1d6c491dea Merge branch 'dev' into multi_device_args 2025-08-04 15:43:15 -10:00
J. Nick Koston 9e1054cb87 Merge branch 'integration' into memory_api 2025-08-04 15:25:44 -10:00
J. Nick Koston e0fe73ec5b Merge branch 'esp32_ble_tracker_cleanup_code' into integration 2025-08-04 15:25:37 -10:00
J. Nick Koston 166ed736a9 Merge remote-tracking branch 'upstream/dev' into esp32_ble_tracker_cleanup_code 2025-08-04 15:24:55 -10:00
J. Nick Koston df83205997 Merge branch 'integration' into memory_api 2025-08-04 11:17:58 -10:00
J. Nick Koston d8a2e020a9 Merge branch 'helpful_custom_api_error' into integration 2025-08-04 11:17:48 -10:00
J. Nick Koston fb1d2368a9 fix 2025-08-04 11:15:47 -10:00
J. Nick Koston 76cdef966b fix 2025-08-04 11:14:22 -10:00
J. Nick Koston c6aeeb98b6 Merge branch 'integration' into memory_api 2025-08-04 11:10:01 -10:00
J. Nick Koston b5bd065f94 Merge branch 'helpful_custom_api_error' into integration 2025-08-04 11:09:42 -10:00
J. Nick Koston 734b2691c8 [api] Add helpful compile-time errors for Custom API Device methods 2025-08-04 11:08:00 -10:00
J. Nick Koston 739cc5ff50 [esp32_ble_tracker] Refactor loop() method for improved readability and performance 2025-08-04 09:24:22 -10:00
J. Nick Koston 2facd1b436 Cleanup esp32_ble_tracker 2025-08-04 09:18:30 -10:00
J. Nick Koston d4ff83bf6e Merge branch 'integration' into memory_api 2025-08-04 08:52:25 -10:00
J. Nick Koston 97544869bd Merge branch '5_5_fixes' into integration 2025-08-04 08:52:17 -10:00
Jonathan Swoboda 608cc4f0d1 Fix 5.5 compile issues 2025-08-04 08:45:04 -04:00
J. Nick Koston 15790145b2 Merge branch 'integration' into memory_api 2025-08-03 22:31:55 -10:00
J. Nick Koston 75b6bb9f76 Merge branch 'warn_ble_timeout_mismatch' into integration 2025-08-03 22:31:48 -10:00
J. Nick Koston 74c0e63a1d cleanup 2025-08-03 22:31:27 -10:00
J. Nick Koston 1d3cd0500e Merge branch 'integration' into memory_api 2025-08-03 22:20:15 -10:00
J. Nick Koston 0cebde66bd Merge branch 'warn_ble_timeout_mismatch' into integration 2025-08-03 22:20:11 -10:00
J. Nick Koston 081f0a1871 Update esphome/components/bluetooth_proxy/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-03 22:19:48 -10:00
J. Nick Koston 5062bab73f Merge branch 'integration' into memory_api 2025-08-03 22:17:25 -10:00
J. Nick Koston 8694cf71fd Merge branch 'warn_ble_timeout_mismatch' into integration 2025-08-03 22:17:17 -10:00
J. Nick Koston 2bc77be5ab [bluetooth_proxy] Warn about BLE connection timeout mismatch on Arduino framework 2025-08-03 22:16:40 -10:00
J. Nick Koston cccbe4293b Merge branch 'integration' into memory_api 2025-08-03 21:42:00 -10:00
J. Nick Koston 8077dbd892 Merge branch 'mtu_sooner' into integration 2025-08-03 21:41:55 -10:00
J. Nick Koston e6629f662c [esp32_ble_client] Start MTU negotiation earlier following ESP-IDF examples 2025-08-03 21:41:15 -10:00
J. Nick Koston 5126aefe13 Merge branch 'integration' into memory_api 2025-08-03 21:23:05 -10:00
J. Nick Koston da3c6ade7b Merge branch 'promote_after_stop' into integration 2025-08-03 21:22:55 -10:00
J. Nick Koston dd80fcdb62 Update esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-03 21:22:38 -10:00
J. Nick Koston 3a99929619 Merge branch 'integration' into memory_api 2025-08-03 21:02:31 -10:00
J. Nick Koston d4449f372a Merge branch 'fix_connection_param_order' into integration 2025-08-03 21:02:14 -10:00
J. Nick Koston a645c02476 Merge branch 'integration' into memory_api 2025-08-03 20:58:39 -10:00
J. Nick Koston 951d0de52d Merge branch 'promote_after_stop' into integration 2025-08-03 20:58:34 -10:00
J. Nick Koston 8d4f1802fb [esp32_ble_tracker] Optimize connection by promoting client immediately after scan stop trigger 2025-08-03 20:57:02 -10:00
J. Nick Koston fffa9b813c [esp32_ble_client] Fix connection parameter timing by setting preferences before connection 2025-08-03 19:51:18 -10:00
J. Nick Koston 5ddf32b0a6 Merge branch 'integration' into memory_api 2025-08-03 19:32:46 -10:00
J. Nick Koston 8cc6cf2bbd Merge remote-tracking branch 'upstream/fold_ring_buffer_esp32_ble_tracker' into integration 2025-08-03 19:32:34 -10:00
Jesse Hills 61386aaf6e Merge branch 'dev' into fold_ring_buffer_esp32_ble_tracker 2025-08-04 17:00:08 +12:00
J. Nick Koston 85fd10f06e Merge branch 'integration' into memory_api 2025-08-03 18:06:01 -10:00
J. Nick Koston fe8f24cad7 Merge branch 'fold_ring_buffer_esp32_ble_tracker' into integration 2025-08-03 18:05:54 -10:00
J. Nick Koston 5a695267aa [esp32_ble_tracker] Eliminate redundant ring buffer for lower latency 2025-08-03 18:04:09 -10:00
J. Nick Koston a6c8651298 Merge branch 'integration' into memory_api 2025-08-03 16:31:11 -10:00
J. Nick Koston 4945855415 Merge branch 'no_more_stopped_state' into integration 2025-08-03 16:31:01 -10:00
J. Nick Koston 9ff89dfb81 dry 2025-08-03 16:29:31 -10:00
J. Nick Koston 7a7132f1c8 Merge branch 'integration' into memory_api 2025-08-03 16:16:40 -10:00
J. Nick Koston 5c491b385e Merge branch 'no_more_stopped_state' into integration 2025-08-03 16:16:33 -10:00
J. Nick Koston 2e08285570 [esp32_ble_tracker] Remove unnecessary STOPPED scanner state to reduce latency 2025-08-03 16:14:34 -10:00
J. Nick Koston 367e35771e Merge branch 'integration' into memory_api 2025-08-03 15:51:48 -10:00
J. Nick Koston 86af0d7965 Merge branch 'second_connection_fix' into integration 2025-08-03 15:51:42 -10:00
J. Nick Koston e17a200b7c [esp32_ble_client] Use FAST connection parameters for all v3 connections 2025-08-03 15:51:02 -10:00
J. Nick Koston 27d66e5cfe Merge branch 'integration' into memory_api 2025-08-03 15:45:56 -10:00
J. Nick Koston 72142bc7d7 Merge branch 'reduce_connect_one_loop' into integration 2025-08-03 15:45:50 -10:00
J. Nick Koston 137df4ff20 [esp32_ble_client] Connect immediately on READY_TO_CONNECT to reduce latency 2025-08-03 15:45:03 -10:00
J. Nick Koston ef33d36d63 Merge branch 'integration' into memory_api 2025-08-03 15:04:46 -10:00
J. Nick Koston ee899147ff Merge branch 'update_esp32_camera' into integration 2025-08-03 15:04:39 -10:00
J. Nick Koston e95baa67d5 Merge branch 'integration' into memory_api 2025-08-03 13:55:26 -10:00
J. Nick Koston 72eaba6e2c Merge branch 'update_no_batch' into integration 2025-08-03 13:55:19 -10:00
J. Nick Koston 3e69f41b42 needs ifdef 2025-08-03 13:54:03 -10:00
J. Nick Koston be7b63898f [api] Fix OTA progress updates not being sent when main loop is blocked 2025-08-03 13:43:15 -10:00
J. Nick Koston a86c0b66c8 Merge branch 'unregister_fd_flash' into memory_api 2025-08-02 22:45:29 -10:00
J. Nick Koston fb004fd0c9 Merge branch 'unregister_fd_flash' into integration 2025-08-02 22:45:24 -10:00
J. Nick Koston 53449f298e lint 2025-08-02 22:45:13 -10:00
J. Nick Koston f34e7a0051 Merge branch 'integration' into memory_api 2025-08-02 22:03:23 -10:00
J. Nick Koston 68e8966b47 Merge branch 'webserver_std_find' into integration 2025-08-02 22:03:09 -10:00
J. Nick Koston 5c7ddc584e Merge branch 'unregister_fd_flash' into integration 2025-08-02 22:03:05 -10:00
J. Nick Koston 451095eef4 [core] Replace std::find and std::max_element with simple loops to reduce binary size 2025-08-02 21:50:39 -10:00
J. Nick Koston b667cc45cc [web_server_idf] Replace std::find_if with simple loop to reduce binary size 2025-08-02 17:22:41 -10:00
J. Nick Koston be701c58e1 Merge branch 'integration' into memory_api 2025-08-02 15:57:31 -10:00
J. Nick Koston aafa1190ce Merge branch 'core_dupe_add_mac' into integration 2025-08-02 15:57:25 -10:00
J. Nick Koston 7a8b2feec6 [core] Optimize Application::pre_setup() to reduce duplicate MAC address operations 2025-08-02 15:56:47 -10:00
J. Nick Koston 5d6a152c45 Merge branch 'integration' into memory_api 2025-08-02 15:37:27 -10:00
J. Nick Koston f9e15558e7 Merge branch 'static_areas_devices_api' into integration 2025-08-02 15:37:11 -10:00
J. Nick Koston 88f251b29c [api] Use static allocation for areas and devices in DeviceInfoResponse 2025-08-02 14:48:51 -10:00
J. Nick Koston 7faded49d3 Merge branch 'integration' into memory_api 2025-08-02 14:23:48 -10:00
J. Nick Koston 07ce321e99 Merge branch 'webserver_entity_base' into integration 2025-08-02 14:23:41 -10:00
J. Nick Koston 7391bbc6ee suggestion 2025-08-02 14:20:18 -10:00
J. Nick Koston 901fd47f48 Merge branch 'dev' into webserver_entity_base 2025-08-02 14:00:47 -10:00
J. Nick Koston 5f0e1f8ab5 Merge branch 'integration' into memory_api 2025-08-02 13:01:22 -10:00
J. Nick Koston eb5def5ad7 Merge branch 'wifi_sort' into integration 2025-08-02 13:01:11 -10:00
J. Nick Koston 61c97b029c preen 2025-08-02 13:01:03 -10:00
J. Nick Koston 3ef334c882 Merge branch 'integration' into memory_api 2025-08-02 12:54:39 -10:00
J. Nick Koston a5a64edf9a Merge branch 'sort_core' into integration 2025-08-02 12:54:29 -10:00
J. Nick Koston 67abbc833f flex 2025-08-02 12:49:03 -10:00
J. Nick Koston ade5aba423 Merge branch 'integration' into memory_api 2025-08-02 12:47:00 -10:00
J. Nick Koston 56eedad727 Merge branch 'wifi_sort' into integration 2025-08-02 12:46:51 -10:00
J. Nick Koston 9c76847aca [wifi] Replace std::stable_sort with insertion sort to save 2.4KB flash 2025-08-02 12:45:44 -10:00
J. Nick Koston 711eb2d7eb Merge branch 'sort_core' into integration 2025-08-02 12:28:09 -10:00
J. Nick Koston 40dcee594b preen 2025-08-02 12:27:54 -10:00
J. Nick Koston 36eab00eac preen 2025-08-02 12:14:17 -10:00
J. Nick Koston 178910d15e Merge branch 'integration' into memory_api 2025-08-02 12:04:28 -10:00
J. Nick Koston c609341605 Merge branch 'sort_core' into integration 2025-08-02 12:04:09 -10:00
J. Nick Koston c89bc0bfd7 [core] Replace std::stable_sort with insertion sort to save 1.3KB flash 2025-08-02 12:02:30 -10:00
J. Nick Koston 18dca1a07d Merge branch 'integration' into memory_api 2025-08-02 10:30:55 -10:00
J. Nick Koston 7ac9bdb36b Merge branch 'webserver_entity_base' into integration 2025-08-02 10:30:48 -10:00
J. Nick Koston 894565a97f [web_server] Reduce binary size by using EntityBase and minimizing template instantiations 2025-08-02 10:15:41 -10:00
J. Nick Koston 79bc7ba206 Merge branch 'integration' into memory_api 2025-08-02 10:05:56 -10:00
J. Nick Koston 2575913880 Merge branch 'drop_py_esptool' into integration 2025-08-02 10:05:48 -10:00
J. Nick Koston 716c25366c do the others 2025-08-02 10:01:36 -10:00
J. Nick Koston aa33baf5a2 Merge branch 'integration' into memory_api 2025-08-02 09:47:48 -10:00
J. Nick Koston ce74f07218 Merge branch 'no_entites_fix' into integration 2025-08-02 09:47:35 -10:00
J. Nick Koston 4dd175df90 Merge branch 'idf_default' into integration 2025-08-02 09:47:23 -10:00
J. Nick Koston e4db32d73e tweak 2025-08-02 09:21:57 -10:00
J. Nick Koston a1e7317f5e [esp32] Add framework migration warning for upcoming ESP-IDF default change 2025-08-02 08:46:08 -10:00
J. Nick Koston 30f988c5f3 [esp32] Add framework migration warning for upcoming ESP-IDF default change 2025-08-02 08:42:46 -10:00
J. Nick Koston ed2e8466c8 [esp32] Add framework migration warning for upcoming ESP-IDF default change 2025-08-02 08:42:17 -10:00
J. Nick Koston 2c01c06828 remove test 2025-08-02 07:53:32 -10:00
J. Nick Koston 466f8d2050 remove test 2025-08-02 07:53:14 -10:00
J. Nick Koston 90b68d6fa0 Merge branch 'integration' into memory_api 2025-08-02 00:00:58 -10:00
J. Nick Koston ee4a1528d7 Merge branch 'no_entites_fix' into integration 2025-08-02 00:00:40 -10:00
J. Nick Koston bba63625a4 [core] Fix compilation errors when platform sections have no entities 2025-08-01 23:58:32 -10:00
J. Nick Koston 37827c1272 Merge branch 'integration' into memory_api 2025-08-01 23:08:30 -10:00
J. Nick Koston 58a5b6ac71 Merge branch 'webserver_conditional_auth' into integration 2025-08-01 23:08:19 -10:00
J. Nick Koston 49b5dd3299 missed one 2025-08-01 23:08:03 -10:00
J. Nick Koston 3986399e93 missed one 2025-08-01 23:07:37 -10:00
J. Nick Koston 9088790e63 Merge branch 'integration' into memory_api 2025-08-01 23:00:24 -10:00
J. Nick Koston 151718ccf2 Merge branch 'webserver_conditional_auth' into integration 2025-08-01 23:00:15 -10:00
J. Nick Koston fefa35a418 define 2025-08-01 22:57:26 -10:00
J. Nick Koston 204b54ce38 preen 2025-08-01 22:53:17 -10:00
J. Nick Koston c28147b3a4 test 2025-08-01 22:43:42 -10:00
J. Nick Koston fdb437deb2 Merge branch 'integration' into memory_api 2025-08-01 22:39:01 -10:00
J. Nick Koston 11c48ab9c7 Merge branch 'webserver_conditional_auth' into integration 2025-08-01 22:38:54 -10:00
J. Nick Koston e50135ef8a [web_server] Conditionally compile authentication code to save flash memory 2025-08-01 22:37:35 -10:00
J. Nick Koston 9b3ee6936d Merge branch 'integration' into memory_api 2025-08-01 21:26:51 -10:00
J. Nick Koston 983690f56d Merge branch 'static_comp_areas' into integration 2025-08-01 21:26:44 -10:00
J. Nick Koston 72d0660261 Merge branch 'integration' into memory_api 2025-08-01 21:26:29 -10:00
J. Nick Koston dcecbb9fa8 Merge branch 'bluetooth_connection_churn_array' into integration 2025-08-01 21:26:19 -10:00
J. Nick Koston a8f4b5c4e2 fixes 2025-08-01 21:25:58 -10:00
J. Nick Koston 015bb6f602 reorder 2025-08-01 21:05:28 -10:00
J. Nick Koston f1650fc647 static comp, areas, devices 2025-08-01 20:54:41 -10:00
J. Nick Koston 9d0df67a9e Merge branch 'integration' into memory_api 2025-08-01 20:33:14 -10:00
J. Nick Koston 833602db74 Merge branch 'bluetooth_connection_churn_array' into integration 2025-08-01 20:32:48 -10:00
J. Nick Koston 20959c2366 [bluetooth_proxy] Optimize memory usage with fixed-size array and const string references 2025-08-01 20:32:09 -10:00
J. Nick Koston 18fb3618a0 Merge branch 'integration' into memory_api 2025-08-01 15:41:50 -10:00
J. Nick Koston 0fc874b7d3 Merge branch 'static_entity_vectors' into integration 2025-08-01 15:41:43 -10:00
J. Nick Koston d8d9123c58 fix clang-tiy 2025-08-01 15:41:33 -10:00
J. Nick Koston 4019bf9027 Merge branch 'integration' into memory_api 2025-08-01 15:36:16 -10:00
J. Nick Koston 8c2f0580d6 Merge branch 'static_entity_vectors' into integration 2025-08-01 15:36:01 -10:00
J. Nick Koston 4de68ded79 preen 2025-08-01 15:31:01 -10:00
J. Nick Koston 591b9ce87b preen 2025-08-01 15:28:48 -10:00
J. Nick Koston 7e25846cad preen 2025-08-01 15:26:51 -10:00
J. Nick Koston a25edf93d6 preen 2025-08-01 15:26:13 -10:00
J. Nick Koston 13c749ceda preen 2025-08-01 15:26:04 -10:00
J. Nick Koston 8bf3d52fb0 tidy 2025-08-01 15:25:10 -10:00
J. Nick Koston 082e365f82 Merge branch 'integration' into memory_api 2025-08-01 15:00:49 -10:00
J. Nick Koston 48060f2f7f Merge branch 'static_entity_vectors' into integration 2025-08-01 15:00:41 -10:00
J. Nick Koston 7351fb374f [core] Convert entity vectors to static allocation for reduced memory usage 2025-08-01 14:59:01 -10:00
J. Nick Koston 9005767b67 Merge branch 'integration' into memory_api 2025-08-01 14:13:33 -10:00
J. Nick Koston d401200404 Merge branch 'bluetooth_connection_churn_array' into integration 2025-08-01 14:13:22 -10:00
J. Nick Koston 68ab351cc8 [bluetooth_proxy] Optimize memory usage with fixed-size array and const string references 2025-08-01 14:12:08 -10:00
J. Nick Koston 1c469747d4 Merge branch 'integration' into memory_api 2025-08-01 13:01:25 -10:00
J. Nick Koston ee6e24b424 Merge branch 'bluetooth_connection_churn' into integration 2025-08-01 13:01:10 -10:00
J. Nick Koston 11e8cfba3d tidy 2025-08-01 13:00:54 -10:00
J. Nick Koston 7d1a816c5e Merge branch 'integration' into memory_api 2025-08-01 12:47:49 -10:00
J. Nick Koston b86722dfa4 Merge branch 'wasted_slot_fix' into integration 2025-08-01 12:47:41 -10:00
J. Nick Koston 54227ff768 fix 2025-08-01 12:43:51 -10:00
J. Nick Koston 23519c9211 fix 2025-08-01 12:43:10 -10:00
J. Nick Koston 559872fa31 Fix BLE connection slot waste by aligning ESP-IDF timeout with client timeout 2025-08-01 12:39:21 -10:00
J. Nick Koston 1a55885fc3 Merge branch 'integration' into memory_api 2025-08-01 11:21:24 -10:00
J. Nick Koston 1bd4951713 Merge branch 'bluetooth_connection_churn' into integration 2025-08-01 11:21:10 -10:00
J. Nick Koston fa267f94ea preen 2025-08-01 11:20:57 -10:00
J. Nick Koston 9f52caf3b6 Merge branch 'integration' into memory_api 2025-08-01 11:19:46 -10:00
J. Nick Koston c111b8bc11 Merge branch 'bluetooth_connection_churn' into integration 2025-08-01 11:19:33 -10:00
J. Nick Koston f77d15a381 preen 2025-08-01 11:19:27 -10:00
J. Nick Koston 7667325788 Merge branch 'integration' into memory_api 2025-08-01 11:17:16 -10:00
J. Nick Koston b51b3bf9ce Merge branch 'drop_py_esptool' into integration 2025-08-01 11:17:09 -10:00
J. Nick Koston 3aaf11f404 missed some 2025-08-01 11:15:34 -10:00
J. Nick Koston ee7c44c3b0 Merge branch 'integration' into memory_api 2025-08-01 11:06:26 -10:00
J. Nick Koston e079e46d99 Merge branch 'bluetooth_connection_churn' into memory_api 2025-08-01 11:06:24 -10:00
J. Nick Koston d65fa4b5fa Merge branch 'bluetooth_connection_churn' into integration 2025-08-01 11:06:14 -10:00
J. Nick Koston 493bfaf76a cleanup 2025-08-01 11:02:48 -10:00
J. Nick Koston f7c7aa9f9a Merge branch 'integration' into memory_api 2025-08-01 10:43:58 -10:00
J. Nick Koston eb851174d3 merge 2025-08-01 10:43:40 -10:00
J. Nick Koston b84fc1e777 Merge branch 'bluetooth_connection_churn' into integration 2025-08-01 10:41:46 -10:00
J. Nick Koston 3a52b754c0 preen 2025-08-01 10:30:02 -10:00
J. Nick Koston a8af06b4dc Merge remote-tracking branch 'origin/bluetooth_connection_churn' into bluetooth_connection_churn 2025-08-01 10:29:36 -10:00
J. Nick Koston d3cbe21fa3 preen 2025-08-01 10:29:24 -10:00
J. Nick Koston 1ce52f2b0f Update esphome/components/bluetooth_proxy/bluetooth_connection.cpp 2025-08-01 10:22:03 -10:00
J. Nick Koston a41adad41a Merge branch 'dev' into bluetooth_connection_churn 2025-08-01 10:21:46 -10:00
J. Nick Koston 7c12f1a5bf [core] Update to use esptool instead of deprecated esptool.py 2025-08-01 10:06:16 -10:00
J. Nick Koston 7d06013608 missing define 2025-08-01 10:01:33 -10:00
J. Nick Koston aa0b80b004 Eliminate heap allocations in bluetooth_proxy connection state reporting 2025-08-01 09:50:11 -10:00
J. Nick Koston e17af87f6e preen 2025-07-31 22:25:44 -10:00
J. Nick Koston bea2f4971e preen 2025-07-31 20:07:06 -10:00
J. Nick Koston 42fe7d9fb2 preen 2025-07-31 20:05:34 -10:00
J. Nick Koston 204da1af8b preen 2025-07-31 20:03:31 -10:00
J. Nick Koston 65e2c20bcf preen 2025-07-31 20:02:25 -10:00
J. Nick Koston 837863568f preen 2025-07-31 19:52:34 -10:00
J. Nick Koston 8a15d2ea8c preen 2025-07-31 19:51:21 -10:00
J. Nick Koston 082d741066 preen 2025-07-31 19:46:40 -10:00
J. Nick Koston 264fbb4029 preen 2025-07-31 19:45:54 -10:00
J. Nick Koston b96cd2b932 preen 2025-07-31 19:41:04 -10:00
J. Nick Koston 5fac039a06 preen 2025-07-31 19:39:08 -10:00
J. Nick Koston 1161bfcc93 preen 2025-07-31 19:35:49 -10:00
J. Nick Koston d3f103c789 make entry.address take priority over mdns 2025-07-31 17:28:04 -10:00
J. Nick Koston 4caf2b7042 cleanup 2025-07-31 17:16:15 -10:00
J. Nick Koston 13e9350568 cleanup 2025-07-31 17:13:42 -10:00
J. Nick Koston 1c67dfc850 Support multiple --device arguments for address fallback 2025-07-31 17:02:39 -10:00
J. Nick Koston f3a57bd248 Merge branch 'integration' into memory_api 2025-07-31 11:51:50 -10:00
J. Nick Koston 151530836c Merge branch 'btp_uuids_dynamic_services_sq' into integration 2025-07-31 11:51:39 -10:00
J. Nick Koston 69d33cdd3d preen 2025-07-31 11:51:24 -10:00
J. Nick Koston 038548500c Merge branch 'integration' into memory_api 2025-07-31 11:45:32 -10:00
J. Nick Koston 5d0323d6ea Merge branch 'btp_uuids_dynamic_services_sq' into memory_api 2025-07-31 11:45:28 -10:00
J. Nick Koston e57205793c Merge branch 'btp_uuids_dynamic_services_sq' into integration 2025-07-31 11:45:23 -10:00
J. Nick Koston 30b687ccbb fix name 2025-07-31 11:45:12 -10:00
J. Nick Koston 6d40866231 Merge branch 'integration' into memory_api 2025-07-31 11:44:07 -10:00
J. Nick Koston b06c307ec8 Merge branch 'btp_uuids_dynamic_services_sq' into integration 2025-07-31 11:43:59 -10:00
J. Nick Koston 854e29161b only needed once 2025-07-31 11:43:49 -10:00
J. Nick Koston 6ac8c47b6e preen 2025-07-31 11:41:35 -10:00
J. Nick Koston c10330b890 preen 2025-07-31 11:40:28 -10:00
J. Nick Koston 27861d85fe preen 2025-07-31 11:40:04 -10:00
J. Nick Koston abb775fc53 Merge branch 'integration' into memory_api 2025-07-31 11:37:40 -10:00
J. Nick Koston 27141f2886 Merge branch 'btp_uuids_dynamic_services_sq' into integration 2025-07-31 11:37:27 -10:00
J. Nick Koston 8729ba17a0 preen 2025-07-31 11:37:17 -10:00
J. Nick Koston ce6aee873f Merge branch 'integration' into memory_api 2025-07-31 11:27:15 -10:00
J. Nick Koston a808d00b88 Merge branch 'btp_uuids_dynamic_services_sq' into integration 2025-07-31 11:27:01 -10:00
J. Nick Koston 3c88d8388e Merge branch 'btp_uuids_dynamic_services' into integration 2025-07-31 11:26:41 -10:00
J. Nick Koston dd7441e104 Update esphome/components/bluetooth_proxy/bluetooth_connection.cpp 2025-07-31 11:25:48 -10:00
J. Nick Koston 0f19e23486 Update esphome/components/bluetooth_proxy/bluetooth_connection.cpp 2025-07-31 11:25:33 -10:00
J. Nick Koston 7205b1edf0 [bluetooth_proxy] Implement dynamic service batching based on MTU constraints 2025-07-31 11:24:31 -10:00
J. Nick Koston f2b3f413fc back 2025-07-31 07:56:57 -10:00
J. Nick Koston 0ae7dcdb62 tweak 2025-07-31 07:48:54 -10:00
J. Nick Koston 0356e24bae tweak 2025-07-31 07:46:18 -10:00
J. Nick Koston d6776804ae tweak 2025-07-31 07:45:03 -10:00
J. Nick Koston 255cf4b661 wip 2025-07-31 07:34:02 -10:00
J. Nick Koston 38e2b6c5f3 wip 2025-07-31 07:33:14 -10:00
J. Nick Koston fe2b2d5280 fix 2025-07-31 07:19:03 -10:00
J. Nick Koston b66141e5ba fix 2025-07-31 07:12:53 -10:00
J. Nick Koston 1225df594f preen 2025-07-31 06:59:10 -10:00
J. Nick Koston 551bff33c2 preen 2025-07-31 06:47:31 -10:00
J. Nick Koston 3a80aac6e8 ble dynamic batch 2025-07-31 06:35:19 -10:00
J. Nick Koston 3988b48708 Merge branch 'btp_uuids' into memory_api 2025-07-31 05:15:41 -10:00
J. Nick Koston d338f753a5 Merge branch 'btp_uuids' into integration 2025-07-31 05:15:34 -10:00
J. Nick Koston 1877d5d11d Merge remote-tracking branch 'upstream/btp_uuids' into btp_uuids 2025-07-31 05:15:22 -10:00
J. Nick Koston f120240350 dry 2025-07-31 05:15:12 -10:00
J. Nick Koston c6aa704d39 Merge branch 'dev' into btp_uuids 2025-07-31 04:41:32 -10:00
J. Nick Koston ccae1bbe15 Merge branch 'integration' into memory_api 2025-07-31 04:17:55 -10:00
J. Nick Koston d11a3ed742 Merge branch 'btp_uuids' into integration 2025-07-31 04:17:46 -10:00
J. Nick Koston ef05c97984 Merge remote-tracking branch 'upstream/btp_uuids' into btp_uuids 2025-07-31 04:06:06 -10:00
J. Nick Koston f3d42ef6e4 save 4 bytes since we must store as uint32_t anyways 2025-07-31 04:05:48 -10:00
J. Nick Koston 766e3480cf Merge branch 'dev' into btp_uuids 2025-07-30 23:20:50 -10:00
J. Nick Koston 40e2960264 fixes 2025-07-30 22:15:39 -10:00
J. Nick Koston 712de79973 tidy 2025-07-30 22:06:31 -10:00
J. Nick Koston 37911e84f2 [bluetooth_proxy] Send native 16/32-bit UUIDs instead of always converting to 128-bit 2025-07-30 21:24:40 -10:00
J. Nick Koston 6f4a8100ef Merge branch 'integration' into memory_api 2025-07-30 19:26:41 -10:00
J. Nick Koston f52dadab41 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-30 19:26:28 -10:00
J. Nick Koston 383f54810c Merge branch 'fix_normal_opts' into memory_api 2025-07-30 16:12:47 -10:00
J. Nick Koston 3abc959e37 Merge branch 'fix_normal_opts' into integration 2025-07-30 16:12:42 -10:00
J. Nick Koston d1cf6c2b14 [esp32_ble_client] Fix BLE connection stability for WiFi-based proxies 2025-07-30 16:12:07 -10:00
J. Nick Koston 77677f3edc Merge branch 'integration' into memory_api 2025-07-30 15:39:40 -10:00
J. Nick Koston a46d9f3ff2 Merge branch 'service_batching_ble' into integration 2025-07-30 15:39:30 -10:00
J. Nick Koston 97b522da98 Merge branch 'dev' into service_batching_ble 2025-07-30 15:39:11 -10:00
J. Nick Koston 2b58f78082 fix busy loop on fail 2025-07-30 15:38:19 -10:00
J. Nick Koston caa9f6fdc7 Merge branch 'integration' into memory_api 2025-07-30 15:00:31 -10:00
J. Nick Koston e50840232e Merge branch 'service_batching_ble' into integration 2025-07-30 15:00:20 -10:00
J. Nick Koston 08aad73af9 did not need 2025-07-30 15:00:11 -10:00
J. Nick Koston 093e8093f5 Merge branch 'integration' into memory_api 2025-07-30 14:54:05 -10:00
J. Nick Koston 60b548fccd Merge branch 'service_batching_ble' into integration 2025-07-30 14:53:59 -10:00
J. Nick Koston 7692aacc2d [bluetooth_proxy] Batch BLE service discovery messages for 67% reduction in API traffic 2025-07-30 14:51:35 -10:00
J. Nick Koston ecb029e0a7 [bluetooth_proxy] Batch BLE service discovery messages for 67% reduction in API traffic 2025-07-30 14:50:20 -10:00
J. Nick Koston 12cd1ec525 [bluetooth_proxy] Batch BLE service discovery messages for 67% reduction in API traffic 2025-07-30 14:46:13 -10:00
J. Nick Koston a4ebcc691a Batch 3 services 2025-07-30 14:33:11 -10:00
J. Nick Koston de51f0f205 Merge branch 'integration' into memory_api 2025-07-30 13:18:01 -10:00
J. Nick Koston 1194b20b09 Merge branch 'wifi_reconnect_race_fix' into integration 2025-07-30 13:17:49 -10:00
J. Nick Koston 79bee386ff [wifi] Fix crash during WiFi reconnection on ESP32 with poor signal quality 2025-07-30 13:16:40 -10:00
J. Nick Koston 07bc41a900 Merge branch 'integration' into memory_api 2025-07-30 09:43:05 -10:00
J. Nick Koston e23fb2bf4e Merge branch 'api_polish' into integration 2025-07-30 09:42:52 -10:00
J. Nick Koston 8d9daca386 address copilot review comments 2025-07-30 09:42:28 -10:00
J. Nick Koston 1600ab58a1 Merge branch 'integration' into memory_api 2025-07-30 00:12:36 -10:00
J. Nick Koston 3e2b7e8309 Merge branch 'api_polish' into integration 2025-07-30 00:12:29 -10:00
J. Nick Koston 1568fc36cc preen 2025-07-29 23:39:32 -10:00
J. Nick Koston a8493df659 api polish 2025-07-29 23:33:43 -10:00
J. Nick Koston 24174c3eed Merge branch 'integration' into memory_api 2025-07-29 22:55:46 -10:00
J. Nick Koston e81c5ef61e Merge branch 'ruff_ret' into integration 2025-07-29 22:55:33 -10:00
J. Nick Koston 8e68b1a7d9 Merge remote-tracking branch 'upstream/dev' into ruff_ret 2025-07-29 22:48:15 -10:00
J. Nick Koston 4441d0ea8d Merge branch 'integration' into memory_api 2025-07-29 15:53:43 -10:00
J. Nick Koston fdde5ea0f1 Merge branch 'service_discovery' into integration 2025-07-29 15:53:31 -10:00
J. Nick Koston 68b8fab33a const 2025-07-29 15:53:15 -10:00
J. Nick Koston 537c774a6c use const 2025-07-29 15:47:36 -10:00
J. Nick Koston 4aec2a95f2 Merge branch 'integration' into memory_api 2025-07-29 14:58:15 -10:00
J. Nick Koston 7698e7faee Merge branch 'service_discovery' into integration 2025-07-29 14:58:04 -10:00
J. Nick Koston 561d7ec978 cleanup 2025-07-29 14:57:52 -10:00
J. Nick Koston 579c6c57e0 Merge branch 'service_discovery' into memory_api 2025-07-29 14:32:55 -10:00
J. Nick Koston 3018b1a7e5 Merge branch 'service_discovery' into integration 2025-07-29 14:32:49 -10:00
J. Nick Koston 63484d9f08 tidy 2025-07-29 14:32:34 -10:00
J. Nick Koston ff1239c2a4 Merge branch 'integration' into memory_api 2025-07-29 14:27:04 -10:00
J. Nick Koston 4999b5793f Merge branch 'service_discovery' into integration 2025-07-29 14:26:53 -10:00
J. Nick Koston f794506002 Revert "[esp32_ble] Add PHY configuration and default to 1M for compatibility"
This reverts commit 5c44cd8962.
2025-07-29 14:26:47 -10:00
J. Nick Koston 92055b221a Revert "test"
This reverts commit 51d2e70854.
2025-07-29 14:26:37 -10:00
J. Nick Koston f810ebbf79 [esp32_ble_client] Fix connection failures with short discovery timeout devices and speed up BLE connections 2025-07-29 14:24:46 -10:00
J. Nick Koston 53d68abf79 Merge branch 'integration' into memory_api 2025-07-29 10:17:46 -10:00
J. Nick Koston ad86f1352b Merge branch 's3_ble_events' into integration 2025-07-29 10:17:35 -10:00
J. Nick Koston 1adf45eebf [esp32_ble] Fix spurious BLE 5.0 event warnings on ESP32-S3 2025-07-29 10:17:00 -10:00
J. Nick Koston 11f0d0015c Merge branch 'integration' into memory_api 2025-07-29 09:55:31 -10:00
J. Nick Koston dadcab1581 Merge branch 'ble_phy_defaults' into integration 2025-07-29 09:55:25 -10:00
J. Nick Koston 51d2e70854 test 2025-07-29 09:54:44 -10:00
J. Nick Koston 5c44cd8962 [esp32_ble] Add PHY configuration and default to 1M for compatibility 2025-07-29 09:50:11 -10:00
J. Nick Koston 2537c4437f cleanup 2025-07-29 07:15:12 -10:00
J. Nick Koston 9133554588 Merge branch 'integration' into memory_api 2025-07-29 07:06:56 -10:00
J. Nick Koston f577c857c5 Merge remote-tracking branch 'upstream/api_heap_churn_info' into integration 2025-07-29 07:06:40 -10:00
J. Nick Koston 5c5f29fbc8 Merge branch 'dev' into api_heap_churn_info 2025-07-29 07:06:25 -10:00
J. Nick Koston e222232376 Merge branch 'integration' into memory_api 2025-07-29 07:04:07 -10:00
J. Nick Koston 05ad1d310b Merge remote-tracking branch 'upstream/dev' into integration 2025-07-29 07:03:50 -10:00
J. Nick Koston aeec9a9379 Merge branch 'integration' into memory_api 2025-07-28 22:11:00 -10:00
J. Nick Koston e12458c30f Merge branch 'api_heap_churn_info' into integration 2025-07-28 22:10:49 -10:00
J. Nick Koston 8b52a9a02e Merge branch 'integration' into memory_api 2025-07-28 22:10:32 -10:00
J. Nick Koston b324978c9d Merge branch 'disable_touch_pad_read_filtered' into integration 2025-07-28 22:10:19 -10:00
J. Nick Koston e0e0a1a420 [esp32_touch] Work around ESP-IDF v5.4 regression in touch_pad_read_filtered() 2025-07-28 22:08:29 -10:00
J. Nick Koston 20294e9307 Merge remote-tracking branch 'upstream/api_heap_churn_info' into api_heap_churn_info 2025-07-28 19:54:27 -10:00
J. Nick Koston e113078f82 document 2025-07-28 19:54:08 -10:00
J. Nick Koston b4fe1e61f5 Merge branch 'dev' into api_heap_churn_info 2025-07-28 19:46:05 -10:00
J. Nick Koston 7822865aee limit change 2025-07-28 19:37:44 -10:00
J. Nick Koston 14d1fd02cc fix 2025-07-28 19:30:32 -10:00
J. Nick Koston 397bc80a15 Merge branch 'dev' into api_heap_churn_info 2025-07-28 13:41:46 -10:00
J. Nick Koston 8ebde566d2 Merge branch 'dev' into api_heap_churn_info 2025-07-28 13:34:26 -10:00
J. Nick Koston dbe895f0a3 preen 2025-07-28 12:46:58 -10:00
J. Nick Koston 7ab8cc49c6 preen 2025-07-28 12:44:07 -10:00
J. Nick Koston 5b7085287f preen 2025-07-28 12:43:50 -10:00
J. Nick Koston 4e565202e4 preen 2025-07-28 12:42:46 -10:00
J. Nick Koston 224ea51cd7 zero copy vectors 2025-07-28 12:35:38 -10:00
J. Nick Koston 226d465f6a Merge branch 'integration' into memory_api 2025-07-27 18:50:05 -10:00
J. Nick Koston 2123e778e5 Merge branch 'protosize_object' into integration 2025-07-27 18:49:51 -10:00
J. Nick Koston 14744fc381 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-27 18:49:43 -10:00
J. Nick Koston ab643350f5 Merge remote-tracking branch 'upstream/dev' into protosize_object 2025-07-27 18:46:54 -10:00
J. Nick Koston 81cea0b2eb Merge branch 'integration' into memory_api 2025-07-27 11:36:35 -10:00
J. Nick Koston 44ec2b37af Merge branch 'unspec_string_copies' into integration 2025-07-27 11:36:28 -10:00
J. Nick Koston 0fa9704675 [core] Use nullptr defaults in status_set_error/warning to reduce flash usage 2025-07-27 11:25:42 -10:00
J. Nick Koston 0f5aff4d21 Merge branch 'integration' into memory_api 2025-07-27 11:08:21 -10:00
J. Nick Koston d56ff40952 Merge branch 'retry_string_cleanup' into integration 2025-07-27 11:08:12 -10:00
J. Nick Koston 4fc6ef6d3e cover 2025-07-27 10:54:57 -10:00
J. Nick Koston 6c8df02d9c [core] Optimize scheduler retry mechanism to reduce flash usage 2025-07-27 10:45:35 -10:00
J. Nick Koston a4026d6ba1 [ruff] Enable RET and fix all violations 2025-07-27 08:34:43 -10:00
J. Nick Koston e3b3259243 Merge branch 'integration' into memory_api 2025-07-26 22:15:15 -10:00
J. Nick Koston 0d23476a1d Merge branch 'light_opt_part2' into integration 2025-07-26 22:15:06 -10:00
J. Nick Koston 4f28aacf66 fix 2025-07-26 22:11:48 -10:00
J. Nick Koston 5769fbc3b6 fix 2025-07-26 22:10:17 -10:00
J. Nick Koston 9cf0535d39 Merge branch 'integration' into memory_api 2025-07-26 21:55:34 -10:00
J. Nick Koston 52b04611ba Merge branch 'light_opt_part2' into integration 2025-07-26 21:55:23 -10:00
J. Nick Koston bcdfc744c6 missed existing helper 2025-07-26 21:48:53 -10:00
J. Nick Koston e223a1008b missed existing helper 2025-07-26 21:46:54 -10:00
J. Nick Koston b7d48284ac missed existing helper 2025-07-26 21:44:31 -10:00
J. Nick Koston de3e9451dc missed existing helper 2025-07-26 21:43:53 -10:00
J. Nick Koston eb25ff0de7 Merge branch 'integration' into memory_api 2025-07-26 21:38:04 -10:00
J. Nick Koston fa4a52a0dc Merge branch 'light_opt_part2' into integration 2025-07-26 21:37:53 -10:00
J. Nick Koston 51de85b1c1 merge 2025-07-26 21:37:46 -10:00
J. Nick Koston 4f30fd9668 Merge branch 'integration' into memory_api 2025-07-26 21:36:16 -10:00
J. Nick Koston c9995e5fac Merge branch 'light_opt_part2' into integration 2025-07-26 21:35:54 -10:00
J. Nick Koston 28dbf3bbcc revert 2025-07-26 21:32:34 -10:00
J. Nick Koston 29e61c8913 revert 2025-07-26 21:27:44 -10:00
J. Nick Koston 10434ac2a3 fixes 2025-07-26 21:24:24 -10:00
J. Nick Koston 92e9383164 light_opt_part2 2025-07-26 21:18:58 -10:00
J. Nick Koston 3a49215dd6 preen 2025-07-26 21:18:39 -10:00
J. Nick Koston dc45bed048 preen 2025-07-26 21:15:53 -10:00
J. Nick Koston 8e6a053ead preen 2025-07-26 21:11:57 -10:00
J. Nick Koston 5cf89f8594 light2 2025-07-26 21:06:39 -10:00
J. Nick Koston 825f3eee70 light2 2025-07-26 21:04:39 -10:00
J. Nick Koston eec31846e1 Revert "Revert "light2""
This reverts commit b99b0140ae.
2025-07-26 20:50:50 -10:00
J. Nick Koston b99b0140ae Revert "light2"
This reverts commit af7e43bbc1.
2025-07-26 20:49:51 -10:00
J. Nick Koston af7e43bbc1 light2 2025-07-26 20:45:21 -10:00
J. Nick Koston 52750f931b light2 2025-07-26 20:42:45 -10:00
J. Nick Koston 446e9bc529 Merge branch 'integration' into memory_api 2025-07-26 20:26:28 -10:00
J. Nick Koston 6c44392359 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-26 20:26:16 -10:00
J. Nick Koston d9f3ecd1a3 Merge branch 'integration' into memory_api 2025-07-26 17:14:24 -10:00
J. Nick Koston 3ec6b9d1a4 Merge branch 'light_flash' into integration 2025-07-26 17:14:09 -10:00
J. Nick Koston 2d237d0f97 fixes 2025-07-26 17:13:59 -10:00
J. Nick Koston f9d0fa1c6d Merge branch 'integration' into memory_api 2025-07-26 17:09:53 -10:00
J. Nick Koston 75525349c7 Merge branch 'light_flash' into integration 2025-07-26 17:09:44 -10:00
J. Nick Koston 79984a288e preen 2025-07-26 17:06:39 -10:00
J. Nick Koston f333ab1fd7 cover 2025-07-26 17:01:02 -10:00
J. Nick Koston 5bdd850012 reduce light flash 2025-07-26 16:59:57 -10:00
J. Nick Koston 6e345c5f23 dry 2025-07-26 15:03:36 -10:00
J. Nick Koston 5ebce4a901 dry 2025-07-26 15:01:45 -10:00
J. Nick Koston a82b5fa87a dry 2025-07-26 15:01:07 -10:00
J. Nick Koston 193a85eb1c dry 2025-07-26 14:57:50 -10:00
J. Nick Koston 0773fc320b dry 2025-07-26 14:57:42 -10:00
J. Nick Koston 32edc3f062 dry 2025-07-26 14:54:52 -10:00
J. Nick Koston ae12097636 dry 2025-07-26 14:53:14 -10:00
J. Nick Koston 2e16b3ea31 dry 2025-07-26 14:52:15 -10:00
J. Nick Koston d98a3fca96 dry 2025-07-26 14:49:43 -10:00
J. Nick Koston e94f5bffa3 preen 2025-07-26 14:45:26 -10:00
J. Nick Koston 09a30689e9 preen 2025-07-26 14:19:35 -10:00
J. Nick Koston 33ec5e195f Make ProtoSize an object 2025-07-26 14:09:17 -10:00
J. Nick Koston 1032e5c220 Make ProtoSize an object 2025-07-26 14:08:43 -10:00
J. Nick Koston d111b84ca4 Make ProtoSize an object 2025-07-26 14:03:47 -10:00
J. Nick Koston de6686ee14 Merge branch 'integration' into memory_api 2025-07-26 13:11:37 -10:00
J. Nick Koston fd5805c54a Merge branch 'noise_key_flash' into integration 2025-07-26 13:11:19 -10:00
J. Nick Koston 32d6acb3b2 [api] Reduce code duplication in send_noise_encryption_set_key_response 2025-07-26 11:52:23 -10:00
J. Nick Koston cab11086ac Merge branch 'integration' into memory_api 2025-07-25 23:38:30 -10:00
J. Nick Koston c40a9eabef Merge branch 'services_must_make_copy' into integration 2025-07-25 23:38:17 -10:00
J. Nick Koston 17e1d3650c missed ha 2025-07-25 23:37:40 -10:00
J. Nick Koston 56b00f9bb7 Merge branch 'integration' into memory_api 2025-07-25 23:31:53 -10:00
J. Nick Koston cfb4ef120f Merge remote-tracking branch 'upstream/dev' into integration 2025-07-25 23:31:43 -10:00
J. Nick Koston eb2bfd4b70 Merge branch 'empty_messages' into integration 2025-07-25 23:31:37 -10:00
J. Nick Koston 91b46757b4 Merge remote-tracking branch 'upstream/dev' into empty_messages 2025-07-25 23:30:39 -10:00
J. Nick Koston 2d501e7b42 Merge branch 'dev' into services_must_make_copy 2025-07-25 23:27:43 -10:00
J. Nick Koston 01101380ee Merge branch 'integration' into memory_api 2025-07-25 23:15:42 -10:00
J. Nick Koston eedcd818a9 Merge branch 'services_must_make_copy' into integration 2025-07-25 23:15:31 -10:00
J. Nick Koston ab02f6da3d custom api 2025-07-25 23:15:24 -10:00
J. Nick Koston 90908996b1 Merge branch 'integration' into memory_api 2025-07-25 23:13:32 -10:00
J. Nick Koston 58d043ea0d Merge branch 'services_must_make_copy' into integration 2025-07-25 23:13:09 -10:00
J. Nick Koston a57daa2656 Merge branch 'integration' into memory_api 2025-07-25 23:12:04 -10:00
J. Nick Koston 6bb6e475e7 Merge branch 'optional_api' into integration 2025-07-25 23:11:54 -10:00
J. Nick Koston 01b24a7b69 fix merge conflict 2025-07-25 23:11:11 -10:00
J. Nick Koston 5feb891e97 fix 2025-07-25 23:08:22 -10:00
J. Nick Koston c32767db81 Merge branch 'dev' into optional_api 2025-07-25 23:06:10 -10:00
J. Nick Koston 0155769ffe [api] Fix string lifetime issue in Home Assistant service calls with templated values 2025-07-25 23:01:24 -10:00
J. Nick Koston 30b6a683c2 Merge branch 'integration' into memory_api 2025-07-25 21:39:46 -10:00
J. Nick Koston 7976c5e06c Merge branch 'api_ha_services' into memory_api 2025-07-25 21:39:38 -10:00
J. Nick Koston 50f770c600 Merge branch 'api_ha_services' into integration 2025-07-25 21:39:28 -10:00
J. Nick Koston 1cf5822bf5 Merge remote-tracking branch 'upstream/dev' into api_ha_services 2025-07-25 21:39:09 -10:00
J. Nick Koston 369b5e6c86 Merge branch 'dev' into optional_api 2025-07-25 21:36:44 -10:00
J. Nick Koston f6ebdd79fe Merge branch 'dev' into empty_messages 2025-07-25 19:29:06 -10:00
J. Nick Koston 9010ddf56b [api] Optimize protobuf empty message handling to reduce flash and runtime overhead 2025-07-25 19:28:20 -10:00
J. Nick Koston 89c47c0dae Merge branch 'integration' into memory_api 2025-07-25 18:34:24 -10:00
J. Nick Koston cae688446f Merge remote-tracking branch 'upstream/dependabot/pip/aioesphomeapi-37.1.0' into integration 2025-07-25 18:34:16 -10:00
dependabot[bot] 9bf666d63f Bump aioesphomeapi from 37.0.4 to 37.1.0
Bumps [aioesphomeapi](https://github.com/esphome/aioesphomeapi) from 37.0.4 to 37.1.0.
- [Release notes](https://github.com/esphome/aioesphomeapi/releases)
- [Commits](https://github.com/esphome/aioesphomeapi/compare/v37.0.4...v37.1.0)

---
updated-dependencies:
- dependency-name: aioesphomeapi
  dependency-version: 37.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-26 04:33:21 +00:00
J. Nick Koston 63e5a0b38c Merge branch 'integration' into memory_api 2025-07-25 18:28:03 -10:00
J. Nick Koston 09a24e0d88 Merge branch 'i2c_logging_fix' into integration 2025-07-25 18:27:54 -10:00
J. Nick Koston de69e78a78 [i2c] Fix logging level for bus scan results in dump_config 2025-07-25 18:26:10 -10:00
J. Nick Koston 00266e080b merge 2025-07-25 17:39:48 -10:00
J. Nick Koston 9d4cf2543f Merge branch 'ble_chars' into integration 2025-07-25 17:39:24 -10:00
J. Nick Koston 967993f70d fix descriptor lookup 2025-07-25 17:39:14 -10:00
J. Nick Koston 711b153a6a revert 2025-07-25 17:32:30 -10:00
J. Nick Koston ec9b10954c Merge branch 'integration' into memory_api 2025-07-25 17:25:55 -10:00
J. Nick Koston c272e7282a Merge branch 'ble_chars' into integration 2025-07-25 17:25:47 -10:00
J. Nick Koston 5884bdb9e8 preen 2025-07-25 17:25:30 -10:00
J. Nick Koston f0a63313b1 Merge branch 'integration' into memory_api 2025-07-25 17:22:54 -10:00
J. Nick Koston 15806fb95d Merge branch 'ble_chars' into integration 2025-07-25 17:22:40 -10:00
J. Nick Koston d40a5a1651 preen 2025-07-25 17:21:38 -10:00
J. Nick Koston 535e995c75 preen 2025-07-25 17:20:37 -10:00
J. Nick Koston 6c825def9e Merge branch 'integration' into memory_api 2025-07-25 17:15:23 -10:00
J. Nick Koston cb51c2e930 Merge branch 'ble_chars' into integration 2025-07-25 17:15:14 -10:00
J. Nick Koston a06c4e1d56 cleanup 2025-07-25 17:14:56 -10:00
J. Nick Koston 793b3de3e9 revert 2025-07-25 16:50:36 -10:00
J. Nick Koston 60d988ca92 Merge branch 'ble_chars' into memory_api 2025-07-25 16:44:40 -10:00
J. Nick Koston abf94e61f1 Revert "Revert "cleanup""
This reverts commit 7320cd24f0.
2025-07-25 16:43:28 -10:00
J. Nick Koston 7320cd24f0 Revert "cleanup"
This reverts commit 40a3232267.
2025-07-25 16:42:05 -10:00
J. Nick Koston 40a3232267 cleanup 2025-07-25 16:40:09 -10:00
J. Nick Koston 1d22bcac82 cleanup 2025-07-25 16:38:32 -10:00
J. Nick Koston 9dbcb2ea2e Merge branch 'integration' into memory_api 2025-07-25 16:17:31 -10:00
J. Nick Koston cab19aed3d Merge branch 'ble_chars' into integration 2025-07-25 16:17:22 -10:00
J. Nick Koston b22ff37e3d cleanup 2025-07-25 16:09:44 -10:00
J. Nick Koston 3396dfe52a cleanup 2025-07-25 16:08:22 -10:00
J. Nick Koston accbc8fb0b cleanup 2025-07-25 16:07:46 -10:00
J. Nick Koston 5d8f38cce4 cleanup 2025-07-25 15:58:49 -10:00
J. Nick Koston 85a4f05d67 cleanup 2025-07-25 15:57:23 -10:00
J. Nick Koston 8a03e4c2cb cleanup 2025-07-25 15:56:00 -10:00
J. Nick Koston e28c32af15 Merge branch 'integration' into memory_api 2025-07-25 15:37:20 -10:00
J. Nick Koston 4da9abe3fa Merge branch 'api_ha_services' into integration 2025-07-25 15:37:06 -10:00
J. Nick Koston 95b8321284 [api] Add conditional compilation for Home Assistant service subscriptions 2025-07-25 15:26:15 -10:00
J. Nick Koston ce96c3c105 Merge branch 'integration' into memory_api 2025-07-25 14:48:21 -10:00
J. Nick Koston 3538cf936c Merge branch 'optional_api' into integration 2025-07-25 14:48:12 -10:00
J. Nick Koston fd8c77c340 remove unneeded assertion 2025-07-25 14:48:00 -10:00
J. Nick Koston 6b49813084 Merge branch 'integration' into memory_api 2025-07-25 14:36:23 -10:00
J. Nick Koston 80407cf755 Merge branch 'missing_password_ifdefs' into integration 2025-07-25 14:36:01 -10:00
J. Nick Koston ed379852fb cleanup 2025-07-25 14:35:47 -10:00
J. Nick Koston 662b5a452e Merge branch 'integration' into memory_api 2025-07-25 13:34:00 -10:00
J. Nick Koston 64d92fc92c Merge branch 'missing_password_ifdefs' into integration 2025-07-25 13:33:47 -10:00
J. Nick Koston 48128d965e make clang-tidy happy 2025-07-25 13:33:36 -10:00
J. Nick Koston 254c70a420 Merge branch 'integration' into memory_api 2025-07-25 13:28:11 -10:00
J. Nick Koston 5f9bd75954 Merge branch 'missing_password_ifdefs' into integration 2025-07-25 13:27:58 -10:00
J. Nick Koston 9ac38ff8d0 [api] Add missing USE_API_PASSWORD guards to reduce flash usage 2025-07-25 13:25:46 -10:00
J. Nick Koston 436ba20b7f Merge branch 'integration' into memory_api 2025-07-25 12:11:11 -10:00
J. Nick Koston b89b1dfc29 Merge remote-tracking branch 'upstream/integration' into integration 2025-07-25 12:10:58 -10:00
J. Nick Koston e7ea184709 preen 2025-07-25 12:10:41 -10:00
J. Nick Koston b68f2b0ae4 Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-07-25 12:08:26 -10:00
J. Nick Koston 4053a88c3a Merge branch 'integration' into memory_api 2025-07-25 12:08:13 -10:00
J. Nick Koston 9df3ad3567 Merge remote-tracking branch 'origin/homeassistant_states' into integration 2025-07-25 12:06:39 -10:00
J. Nick Koston 52df0a9412 Merge branch 'homeassistant_states' into integration 2025-07-25 12:05:59 -10:00
J. Nick Koston 9c4fc5d354 fixes 2025-07-25 11:59:13 -10:00
J. Nick Koston 1ac444a558 Merge remote-tracking branch 'origin/dev' into homeassistant_states 2025-07-25 11:55:29 -10:00
J. Nick Koston 90587583b4 [api] Add conditional compilation for Home Assistant state subscriptions 2025-07-25 11:55:07 -10:00
J. Nick Koston 0420bb3862 [api] Add conditional compilation for Home Assistant state subscriptions 2025-07-25 11:47:52 -10:00
J. Nick Koston 17dca4d761 Merge branch 'integration' into memory_api 2025-07-25 11:29:22 -10:00
J. Nick Koston 794db17e0f Merge remote-tracking branch 'upstream/optional_api' into integration 2025-07-25 11:29:10 -10:00
J. Nick Koston 91ec0f959e review comment 2025-07-25 11:27:01 -10:00
J. Nick Koston 066e4940e1 Merge branch 'integration' into memory_api 2025-07-25 11:02:11 -10:00
J. Nick Koston 88adbe7197 Merge branch 'optional_api' into integration 2025-07-25 11:02:01 -10:00
J. Nick Koston 3765058813 cover 2025-07-25 10:58:15 -10:00
J. Nick Koston 6cd2a80224 [api] Remove unnecessary string copies from optional access 2025-07-25 10:50:32 -10:00
J. Nick Koston bacb6a2c11 Merge branch 'integration' into memory_api 2025-07-25 08:42:45 -10:00
J. Nick Koston f248309a7f Merge branch 'start_end_setup' into integration 2025-07-25 08:42:32 -10:00
J. Nick Koston 76a63e5d55 Merge branch 'dev' into integration 2025-07-25 08:42:21 -10:00
J. Nick Koston 65f7426ceb keep mcp2515 since it has error flags 2025-07-24 22:08:59 -10:00
J. Nick Koston 9cd657e8f5 Apply suggestions from code review 2025-07-24 22:05:39 -10:00
J. Nick Koston 431766d898 preen 2025-07-24 21:08:57 -10:00
J. Nick Koston 9d20b04512 preen 2025-07-24 21:07:43 -10:00
J. Nick Koston 6a9f1d9b2e preen 2025-07-24 21:05:38 -10:00
J. Nick Koston c18724526a preen 2025-07-24 21:03:46 -10:00
J. Nick Koston cce7eca2b7 preen 2025-07-24 21:03:32 -10:00
J. Nick Koston 0f9fa89ddc preen 2025-07-24 21:02:53 -10:00
J. Nick Koston 56d6c41a1d preen 2025-07-24 21:02:45 -10:00
J. Nick Koston 0f7cfe2c95 preen 2025-07-24 21:02:05 -10:00
J. Nick Koston f33419a3aa preen 2025-07-24 21:01:47 -10:00
J. Nick Koston 3f33f04651 preen 2025-07-24 21:01:32 -10:00
J. Nick Koston abcf62339d preen 2025-07-24 21:00:53 -10:00
J. Nick Koston bd20d8b7b2 preen 2025-07-24 20:59:26 -10:00
J. Nick Koston 3843e4011f preen 2025-07-24 20:58:29 -10:00
J. Nick Koston 5b7ed4f419 preen 2025-07-24 20:57:51 -10:00
J. Nick Koston a14809999a preen 2025-07-24 20:56:28 -10:00
J. Nick Koston fd6204e804 preen 2025-07-24 20:54:00 -10:00
J. Nick Koston a418e8df48 preen 2025-07-24 20:53:25 -10:00
J. Nick Koston 05d1c0300f preen 2025-07-24 20:49:36 -10:00
J. Nick Koston d54724a475 preen 2025-07-24 20:48:51 -10:00
J. Nick Koston 0121dfc514 preen 2025-07-24 20:46:10 -10:00
J. Nick Koston 1a1382de43 running setup 2025-07-24 16:29:54 -10:00
J. Nick Koston 3d0cea4ce3 revert 2025-07-24 16:28:31 -10:00
J. Nick Koston 25cd16409b running setup 2025-07-24 16:27:59 -10:00
RubenKelevra 25666811c6 Update esp32-camera library version to 2.1.0 2025-07-24 20:49:59 +02:00
J. Nick Koston d839141386 Merge branch 'integration' into memory_api 2025-07-23 22:41:37 -10:00
J. Nick Koston 86919102c8 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-23 22:41:22 -10:00
J. Nick Koston 43e2938724 Merge branch '20250724-ld2450-use-deduplicator' into integration 2025-07-23 22:41:09 -10:00
J. Nick Koston 82c65040e2 Merge branch 'integration' into memory_api 2025-07-23 21:23:01 -10:00
J. Nick Koston d291c1b207 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-23 21:22:50 -10:00
J. Nick Koston 3a4f645a6c Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-23 21:22:29 -10:00
Keith Burzinski b977231431 clang-tidy 2025-07-24 02:13:52 -05:00
J. Nick Koston 557da2e7a7 Merge branch 'integration' into memory_api 2025-07-23 20:54:51 -10:00
J. Nick Koston 1458845672 Merge branch 'threading_model' into integration 2025-07-23 20:54:43 -10:00
J. Nick Koston e4c8a6a0af [core] Revert #9851 and rename ESPHOME_CORES to ESPHOME_THREAD 2025-07-23 20:45:54 -10:00
Keith Burzinski 6609dce695 [ld2450] Use Deduplicator for sensors 2025-07-24 01:30:31 -05:00
J. Nick Koston a5b4629662 Merge branch 'integration' into memory_api 2025-07-23 19:06:33 -10:00
J. Nick Koston a4f952b851 Merge branch 'lwip_slowness' into integration 2025-07-23 19:06:24 -10:00
J. Nick Koston 8146a0139f [esp32] Enable LWIP core locking on ESP-IDF to reduce socket operation overhead 2025-07-23 18:50:46 -10:00
J. Nick Koston 7ba2927d1d Merge branch 'integration' into memory_api 2025-07-23 18:05:17 -10:00
J. Nick Koston 2d66effbda Merge branch 'api_nest' into integration 2025-07-23 18:05:03 -10:00
J. Nick Koston dcae628b25 [api] Use C++17 nested namespace syntax 2025-07-23 18:04:06 -10:00
J. Nick Koston 74c9580e4b Merge branch 'integration' into memory_api 2025-07-23 17:55:17 -10:00
J. Nick Koston 42862ec5b5 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-23 17:54:53 -10:00
J. Nick Koston f9c844be89 Merge branch 'integration' into memory_api 2025-07-22 23:52:21 -10:00
J. Nick Koston dee58804e8 Merge branch 'loop_fix' into integration 2025-07-22 23:52:08 -10:00
J. Nick Koston 77c8363946 [core] Restore COMPONENT_STATE_LOOP_DONE check in calculate_looping_components 2025-07-22 23:49:33 -10:00
J. Nick Koston 0b2270c1d0 Merge branch 'integration' into memory_api 2025-07-22 23:24:24 -10:00
J. Nick Koston bfae905a2b Merge branch 'bluetooth_namespace_cpp17' into integration 2025-07-22 19:41:52 -10:00
J. Nick Koston 5b8ae6ed1a update script 2025-07-22 19:20:28 -10:00
J. Nick Koston 1b74c877e1 Merge branch 'integration' into memory_api 2025-07-22 19:17:27 -10:00
J. Nick Koston edeee42fd9 Merge branch 'bluetooth_namespace_cpp17' into integration 2025-07-22 19:17:18 -10:00
J. Nick Koston 8ae2b31a2f [bluetooth_proxy] [esp32_ble_tracker] [esp32_ble] Use C++17 nested namespace syntax 2025-07-22 19:16:01 -10:00
J. Nick Koston aefb53cb0e Merge branch 'integration' into memory_api 2025-07-22 17:58:44 -10:00
J. Nick Koston 0fea9aab99 Merge remote-tracking branch 'upstream/component_cleanups' into integration 2025-07-22 17:58:36 -10:00
J. Nick Koston e5001734ce [core] Fix component state documentation and add state helper method 2025-07-22 17:57:34 -10:00
J. Nick Koston 39f79522db Merge branch 'integration' into memory_api 2025-07-22 15:57:37 -10:00
J. Nick Koston 9bceed2cfc Merge branch 'fix_missed_calculate_looping_components_' into integration 2025-07-22 15:57:15 -10:00
J. Nick Koston c400d8e5a9 Merge branch 'dev' into fix_missed_calculate_looping_components_ 2025-07-22 15:51:47 -10:00
J. Nick Koston e6961f8f24 wip 2025-07-22 15:46:49 -10:00
J. Nick Koston 0b9b33b81b [core] Initialize looping_components_ before setup blocking phase 2025-07-22 15:42:09 -10:00
J. Nick Koston d71f2ad185 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-22 13:16:00 -10:00
J. Nick Koston f92571e767 Merge branch 'integration' into memory_api 2025-07-22 13:07:29 -10:00
J. Nick Koston efa3d32fce Merge branch '5_4_2' into memory_api 2025-07-22 13:07:27 -10:00
J. Nick Koston ac19d5eba2 Merge branch '5_4_2' into integration 2025-07-22 13:07:08 -10:00
J. Nick Koston ffcf2229f6 Merge branch 'integration' into memory_api 2025-07-22 09:21:38 -10:00
J. Nick Koston 157c4f4369 Merge branch 'pb_dump' into integration 2025-07-22 09:21:32 -10:00
J. Nick Koston 2a935d9238 preen 2025-07-22 09:21:20 -10:00
J. Nick Koston d4556608c8 preen 2025-07-22 09:21:14 -10:00
J. Nick Koston 285ad9af1e Merge branch 'integration' into memory_api 2025-07-22 09:16:47 -10:00
J. Nick Koston f15662d4b5 Merge branch 'protobuf_magic_numbers' into integration 2025-07-22 09:16:28 -10:00
J. Nick Koston fffa6eb0db Merge branch 'api_cleanups_5' into integration 2025-07-22 09:16:10 -10:00
J. Nick Koston 6711742248 Merge branch 'pb_dump' into integration 2025-07-22 09:15:49 -10:00
J. Nick Koston d624f2a9ce dump helper 2025-07-22 09:10:01 -10:00
J. Nick Koston c590ffd289 cleans to dump 2025-07-22 09:03:01 -10:00
J. Nick Koston 8096eea6c3 cleans to dump 2025-07-22 09:01:11 -10:00
J. Nick Koston 873aebc572 cleans to dump 2025-07-22 09:00:53 -10:00
J. Nick Koston 5adc58f826 cleans to dump 2025-07-22 09:00:44 -10:00
J. Nick Koston 3d35b9679a cleans to dump 2025-07-22 08:58:52 -10:00
J. Nick Koston fbd3c051ec cleans to dump 2025-07-22 08:58:19 -10:00
J. Nick Koston 26b77e0f06 [api] Simplify generated authentication check code 2025-07-22 08:01:42 -10:00
J. Nick Koston f3030e35a8 Merge branch 'integration' into memory_api 2025-07-22 07:49:36 -10:00
J. Nick Koston adc21eef70 Merge branch 'api_services_emplace_back' into integration 2025-07-22 07:49:23 -10:00
J. Nick Koston 93fdea954f [api] Use emplace_back for TemplatableKeyValuePair construction in HomeAssistant services 2025-07-22 07:46:21 -10:00
J. Nick Koston bb81a40b7c Merge branch 'integration' into memory_api 2025-07-21 22:26:21 -10:00
J. Nick Koston 922692338f Merge branch 'zero_copy_str' into integration 2025-07-21 22:26:09 -10:00
J. Nick Koston 2088deeacb give bot hint 2025-07-21 22:10:26 -10:00
J. Nick Koston 0534d1bfcf preen 2025-07-21 21:46:37 -10:00
J. Nick Koston b8e326eb01 preen 2025-07-21 21:34:46 -10:00
J. Nick Koston 58d7533128 docs 2025-07-21 21:26:06 -10:00
J. Nick Koston 444c77775f Merge remote-tracking branch 'origin/zero_copy_str' into zero_copy_str 2025-07-21 21:25:01 -10:00
J. Nick Koston 2310610aa0 missed some 2025-07-21 21:24:34 -10:00
J. Nick Koston 7dec484eae Merge branch 'dev' into zero_copy_str 2025-07-21 21:21:29 -10:00
J. Nick Koston 712d3dee98 missed one 2025-07-21 21:06:43 -10:00
J. Nick Koston 44d7147ea4 fixes 2025-07-21 20:02:22 -10:00
J. Nick Koston ede8e542bc fixes 2025-07-21 20:00:50 -10:00
J. Nick Koston e17fef3208 unused 2025-07-21 19:50:41 -10:00
J. Nick Koston 7f25d3e6d3 unused 2025-07-21 19:50:01 -10:00
J. Nick Koston 72fd984d4b preen 2025-07-21 19:39:23 -10:00
J. Nick Koston 97525cfe87 preen 2025-07-21 19:31:42 -10:00
J. Nick Koston 8f201cdb7e fixes 2025-07-21 18:31:13 -10:00
J. Nick Koston d0511e118d fixes 2025-07-21 18:28:09 -10:00
J. Nick Koston c120676d19 fixes 2025-07-21 18:26:59 -10:00
J. Nick Koston bd52acff12 adjust 2025-07-21 18:14:36 -10:00
J. Nick Koston 22422fc3dd send 2025-07-21 18:03:00 -10:00
J. Nick Koston 70c9cf9d95 ref 2025-07-21 17:24:23 -10:00
J. Nick Koston b0aafb1226 ref 2025-07-21 17:21:59 -10:00
J. Nick Koston c4ac22286f zero_copy_str 2025-07-21 17:02:01 -10:00
J. Nick Koston 4a0716d7ba Merge branch 'integration' into memory_api 2025-07-21 13:46:41 -10:00
J. Nick Koston 4f17c352db Merge branch 'fixed_arrays' into integration 2025-07-21 13:46:25 -10:00
J. Nick Koston 37d24dd707 cleanup 2025-07-21 13:44:28 -10:00
J. Nick Koston a508d9dd3a Merge branch 'integration' into memory_api 2025-07-21 13:25:22 -10:00
J. Nick Koston 48436ec7c8 Merge branch 'fixed_arrays' into integration 2025-07-21 13:25:13 -10:00
Jonathan Swoboda daf241b3f6 Remove picolibc dir from clangtidy 2025-07-21 19:23:34 -04:00
J. Nick Koston 4c62f43dcd cleanup 2025-07-21 13:19:19 -10:00
J. Nick Koston 767ec53cfa cleanup 2025-07-21 13:18:10 -10:00
J. Nick Koston 7b9acd39e1 cleanup 2025-07-21 13:17:18 -10:00
J. Nick Koston 55272dd0fd cleanup 2025-07-21 13:13:45 -10:00
J. Nick Koston bc6b1ffc14 cleanup 2025-07-21 13:12:30 -10:00
J. Nick Koston b3abebfb37 cleanup 2025-07-21 13:08:51 -10:00
J. Nick Koston f034069b5e cleanup 2025-07-21 13:04:23 -10:00
J. Nick Koston 9a391df0f0 cleanup 2025-07-21 13:03:21 -10:00
J. Nick Koston 6d6bf82501 cleanup 2025-07-21 13:02:46 -10:00
J. Nick Koston 5f14579af8 cleanup 2025-07-21 13:00:30 -10:00
J. Nick Koston 8ee06cdc8c cleanup 2025-07-21 12:56:57 -10:00
J. Nick Koston 37cbcd5110 preen 2025-07-21 12:55:05 -10:00
J. Nick Koston 91e1a4ff76 fixed arrays 2025-07-21 12:49:48 -10:00
J. Nick Koston ed190a92b1 Merge branch 'integration' into memory_api 2025-07-21 11:54:02 -10:00
J. Nick Koston b660c867fb Merge branch 'api_inserts' into integration 2025-07-21 11:53:51 -10:00
J. Nick Koston 4cdef8c001 const 2025-07-21 11:50:20 -10:00
J. Nick Koston a1667b29f1 Merge branch 'integration' into memory_api 2025-07-21 11:40:58 -10:00
J. Nick Koston 74fe8bd022 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-21 11:40:41 -10:00
J. Nick Koston b38faa1870 Merge branch 'integration' into memory_api 2025-07-21 11:29:30 -10:00
J. Nick Koston 524d69a238 Merge branch 'api_inserts' into integration 2025-07-21 11:29:10 -10:00
J. Nick Koston 4a39f14037 [api] Optimize noise handshake with memcpy for faster connection setup 2025-07-21 11:20:49 -10:00
J. Nick Koston b66c6dd856 Merge branch 'integration' into memory_api 2025-07-21 10:54:17 -10:00
J. Nick Koston 504c67f59f Merge branch 'memcpy_speedup' into integration 2025-07-21 10:54:10 -10:00
J. Nick Koston 383791418b [api] Optimize string encoding with memcpy for 10x performance improvement 2025-07-21 10:50:36 -10:00
J. Nick Koston 0240a7c310 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-21 09:57:58 -10:00
J. Nick Koston 0be1395647 [api] Replace magic numbers with MESSAGE_TYPE constants in protobuf switch cases 2025-07-21 08:44:30 -10:00
Jonathan Swoboda daae3a93ab Update .clang-tidy.hash 2025-07-21 08:13:20 -04:00
Jonathan Swoboda 00eba20ea9 Merge remote-tracking branch 'upstream/dev' into 5_4_2 2025-07-21 07:59:19 -04:00
J. Nick Koston 31caacabf0 revert -- for followup 2025-07-20 21:46:14 -10:00
J. Nick Koston 8a7446a1ea Merge branch 'integration' into memory_api 2025-07-20 21:37:55 -10:00
J. Nick Koston 1395af2c1c Merge branch 'ble_services_opt' into integration 2025-07-20 21:37:41 -10:00
J. Nick Koston ebf225d5f2 cleanup 2025-07-20 21:37:15 -10:00
J. Nick Koston b6aca30c42 cleanup 2025-07-20 21:36:27 -10:00
J. Nick Koston b5da9b0e7c Merge branch 'integration' into memory_api 2025-07-20 21:31:38 -10:00
J. Nick Koston 38d38d6e8c Merge branch 'ble_services_opt' into integration 2025-07-20 21:31:15 -10:00
J. Nick Koston fffc324c6e [bluetooth_proxy] Optimize service discovery with in-place construction 2025-07-20 21:29:36 -10:00
J. Nick Koston 3d832e4d92 Merge branch 'zero_copy' into memory_api 2025-07-20 21:15:16 -10:00
J. Nick Koston 85ab9d3eec Merge branch 'zero_copy' into integration 2025-07-20 21:14:53 -10:00
J. Nick Koston 67b9c249d4 device_id 2025-07-20 21:12:03 -10:00
J. Nick Koston c66726336c Merge branch 'zero_copy' into memory_api 2025-07-20 21:03:01 -10:00
J. Nick Koston 54158bf5f1 Merge branch 'zero_copy' into integration 2025-07-20 21:02:54 -10:00
J. Nick Koston edc641cfa3 Merge remote-tracking branch 'origin/zero_copy' into zero_copy 2025-07-20 21:02:48 -10:00
J. Nick Koston 12994c3a29 preen 2025-07-20 21:02:33 -10:00
J. Nick Koston a63ebf2c5e preen 2025-07-20 21:02:01 -10:00
J. Nick Koston 839a26c289 Merge branch 'dev' into zero_copy 2025-07-20 20:46:13 -10:00
J. Nick Koston 9e6481c492 Merge branch 'integration' into memory_api 2025-07-20 20:44:25 -10:00
J. Nick Koston 311888ac6d Merge branch 'zero_copy' into integration 2025-07-20 20:44:14 -10:00
J. Nick Koston 7e86aefa91 preen 2025-07-20 20:44:03 -10:00
J. Nick Koston 756fc89eab preen 2025-07-20 20:43:50 -10:00
J. Nick Koston c8140e966a Merge branch 'integration' into memory_api 2025-07-20 20:39:31 -10:00
J. Nick Koston eff866c222 Merge branch 'zero_copy' into integration 2025-07-20 20:39:24 -10:00
J. Nick Koston ffaba916d7 cleanup 2025-07-20 20:39:13 -10:00
J. Nick Koston 1de659420e Merge branch 'zero_copy' into memory_api 2025-07-20 20:23:15 -10:00
J. Nick Koston d9210eba69 Merge branch 'zero_copy' into integration 2025-07-20 20:18:35 -10:00
J. Nick Koston 4a8f6ce556 Merge remote-tracking branch 'upstream/dev' into zero_copy 2025-07-20 20:17:55 -10:00
J. Nick Koston 8c11241af0 cleanup 2025-07-20 20:08:57 -10:00
J. Nick Koston b24ff7236e cleanup 2025-07-20 20:07:30 -10:00
J. Nick Koston 5e906b1dd9 cleanup 2025-07-20 20:06:50 -10:00
J. Nick Koston ad52d80281 cleanup 2025-07-20 19:57:32 -10:00
J. Nick Koston 04953db51e cleanup 2025-07-20 19:56:42 -10:00
J. Nick Koston 8b74333e8b preen 2025-07-20 19:52:26 -10:00
J. Nick Koston 5fb97e8e3c preen 2025-07-20 19:50:55 -10:00
J. Nick Koston 8b09a5259e preen 2025-07-20 19:48:19 -10:00
J. Nick Koston ae7aa4c0ef preen 2025-07-20 19:46:41 -10:00
J. Nick Koston 9cb86241b9 cleanup 2025-07-20 19:40:21 -10:00
J. Nick Koston 1dc736e27a preen 2025-07-20 19:28:07 -10:00
J. Nick Koston 7de63d0670 fixes 2025-07-20 19:18:25 -10:00
J. Nick Koston 54bbde6183 zero copy cleanup 2025-07-20 19:01:41 -10:00
J. Nick Koston 8b54e46652 Merge branch 'add_fixed_field' into integration 2025-07-20 18:06:30 -10:00
J. Nick Koston 14e2c85028 [api] Remove unused add_fixed_field template function 2025-07-20 18:05:21 -10:00
J. Nick Koston 9cd1c7a355 Merge branch 'integration' into memory_api 2025-07-20 16:48:23 -10:00
J. Nick Koston e2a0879239 Merge branch 'uses_password_ifdef' into integration 2025-07-20 16:46:55 -10:00
J. Nick Koston 197b04d74f Merge remote-tracking branch 'upstream/dev' into integration 2025-07-20 16:45:58 -10:00
J. Nick Koston 852671945a [api] Sync uses_password field_ifdef optimization from aioesphomeapi 2025-07-20 16:26:17 -10:00
J. Nick Koston 8a296e013c Merge branch 'integration' into memory_api 2025-07-20 14:37:04 -10:00
J. Nick Koston 953c05d4da Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:33:06 -10:00
J. Nick Koston af061d6cd8 have to dupe macros 2025-07-20 14:32:54 -10:00
J. Nick Koston 836ea5c60a have to dupe macros 2025-07-20 14:32:19 -10:00
J. Nick Koston 58f79ef654 Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:31:12 -10:00
J. Nick Koston 984d10aff1 have to dupe macros 2025-07-20 14:31:01 -10:00
J. Nick Koston 48ddb5c999 Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:27:48 -10:00
J. Nick Koston cc34cc7a4e order 2025-07-20 14:27:34 -10:00
J. Nick Koston 59e567e567 Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:23:58 -10:00
J. Nick Koston a45be553ed Merge remote-tracking branch 'origin/api_frame_helper_split' into api_frame_helper_split 2025-07-20 14:23:44 -10:00
J. Nick Koston ff59e37d8d fixes 2025-07-20 14:23:34 -10:00
J. Nick Koston d251d78002 Merge branch 'dev' into api_frame_helper_split 2025-07-20 14:18:56 -10:00
J. Nick Koston 55833380c1 Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:17:59 -10:00
J. Nick Koston 16bd3f92c4 fixes 2025-07-20 14:17:45 -10:00
J. Nick Koston e1e95c36c5 Merge branch 'api_frame_helper_split' into integration 2025-07-20 14:15:14 -10:00
J. Nick Koston 2e7826aa34 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-20 14:13:20 -10:00
J. Nick Koston e1be941bda preen 2025-07-20 14:07:52 -10:00
J. Nick Koston eea7b9843b preen 2025-07-20 14:04:08 -10:00
J. Nick Koston a626053220 Merge branch 'integration' into memory_api 2025-07-20 13:20:02 -10:00
J. Nick Koston a5f22e99a3 Merge branch 'frame_helper_dupe_name_storage' into integration 2025-07-20 13:19:50 -10:00
J. Nick Koston fb44fddacf Merge remote-tracking branch 'upstream/dev' into integration 2025-07-20 13:19:34 -10:00
J. Nick Koston 72fcb29fd2 Merge remote-tracking branch 'upstream/dev' into frame_helper_dupe_name_storage 2025-07-20 13:00:45 -10:00
J. Nick Koston 29988d414c Merge branch 'integration' into memory_api 2025-07-20 12:28:11 -10:00
J. Nick Koston 82970b640f merge 2025-07-20 12:27:51 -10:00
J. Nick Koston af724ffb15 Merge branch 'api_cleanups_2' into memory_api 2025-07-20 12:26:33 -10:00
J. Nick Koston 82dfd0a233 empty commit 2025-07-20 12:24:31 -10:00
J. Nick Koston 7688cc619b Merge branch 'integration' into memory_api 2025-07-20 12:23:25 -10:00
J. Nick Koston 232d3a8b89 Merge branch 'api_cleanups_2' into integration 2025-07-20 12:23:12 -10:00
J. Nick Koston a976df4da8 Merge remote-tracking branch 'upstream/dev' into api_cleanups_2 2025-07-20 12:22:42 -10:00
J. Nick Koston f9744dabc1 Merge remote-tracking branch 'upstream/dev' into api_cleanups_2 2025-07-20 12:21:49 -10:00
J. Nick Koston 79acf97c48 Merge branch 'integration' into memory_api 2025-07-20 12:18:30 -10:00
J. Nick Koston 8becc57835 Merge branch 'empty_hidden_side_effects' into integration 2025-07-20 12:18:14 -10:00
J. Nick Koston f6b989bd9a cleanup 2025-07-20 12:15:16 -10:00
J. Nick Koston 109eae26a7 [core] Refactor scheduler to eliminate hidden side effects in empty_() method 2025-07-20 12:09:11 -10:00
J. Nick Koston 8496102eb6 Merge branch 'dev' into memory_api 2025-07-20 11:22:18 -10:00
J. Nick Koston 04d7213ede simplify 2025-07-20 09:42:17 -10:00
J. Nick Koston 2ebb17a05e Merge remote-tracking branch 'upstream/frame_helper_dupe_name_storage' into frame_helper_dupe_name_storage 2025-07-20 09:30:52 -10:00
J. Nick Koston 905263548d cleaner 2025-07-20 09:30:40 -10:00
J. Nick Koston 83c0589c06 Update esphome/components/api/api_frame_helper.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-20 09:22:17 -10:00
J. Nick Koston acc8b57709 [api] Reduce memory usage by eliminating duplicate client info strings 2025-07-20 09:18:52 -10:00
J. Nick Koston 8621bca535 Merge branch 'integration' into memory_api 2025-07-19 22:04:57 -10:00
J. Nick Koston fc4c383409 Merge branch 'area_device_info_ifdefs' into integration 2025-07-19 22:04:06 -10:00
J. Nick Koston a5ed8db5bd [api] Fix missing ifdef guards for AreaInfo and DeviceInfo messages 2025-07-19 22:01:22 -10:00
J. Nick Koston 3060e2cbc3 Merge branch 'integration' into memory_api 2025-07-19 16:21:13 -10:00
J. Nick Koston 1cc507b211 Merge branch 'touch_setup_mode' into integration 2025-07-19 16:21:03 -10:00
J. Nick Koston b88061843c Merge branch 'integration' into memory_api 2025-07-19 15:43:02 -10:00
J. Nick Koston 1d6fcafefc Merge branch 'api_cleanups_2' into integration 2025-07-19 15:42:49 -10:00
J. Nick Koston bc57cdb71a preen 2025-07-19 15:40:53 -10:00
J. Nick Koston b70007852d Merge branch 'integration' into memory_api 2025-07-19 15:29:42 -10:00
J. Nick Koston 9f6cd1f809 Merge branch 'api_cleanups_2' into integration 2025-07-19 15:29:32 -10:00
J. Nick Koston 3905085614 dry 2025-07-19 15:22:08 -10:00
J. Nick Koston 722df19758 dry 2025-07-19 15:18:43 -10:00
J. Nick Koston 0046e67727 wip 2025-07-19 15:06:42 -10:00
J. Nick Koston 7e3027d9bd wip 2025-07-19 15:05:26 -10:00
Jonathan Swoboda d0307cec4f Fix logging message 2025-07-19 20:12:33 -04:00
J. Nick Koston 1bc7b805c0 Merge branch 'integration' into memory_api 2025-07-19 13:46:17 -10:00
J. Nick Koston 79e20ed894 Merge branch 'api_buffering_cleanup' into integration 2025-07-19 13:46:07 -10:00
J. Nick Koston b125cd6979 save some more 2025-07-19 13:45:58 -10:00
J. Nick Koston 0582fee82c save some more 2025-07-19 13:43:47 -10:00
Jonathan Swoboda cd4a10e4e1 Fix setup mode in v1 driver 2025-07-19 19:43:17 -04:00
J. Nick Koston 3400cdf4c0 Merge branch 'integration' into memory_api 2025-07-19 13:18:55 -10:00
J. Nick Koston d72fe6ea4b Merge branch 'api_buffering_cleanup' into integration 2025-07-19 13:18:44 -10:00
J. Nick Koston 2ca306c1c1 [api] Optimize frame helper buffering to reduce flash usage by 176 bytes 2025-07-19 13:15:55 -10:00
J. Nick Koston 3ad551b27e Merge branch 'integration' into memory_api 2025-07-19 12:34:13 -10:00
J. Nick Koston 9682c6c3d7 Merge branch 'bugfix/make_schedule_rollover_atomic' into integration 2025-07-19 11:13:38 -10:00
J. Nick Koston d67508a6eb move defines 2025-07-19 11:12:59 -10:00
J. Nick Koston b25206b7bb move defines 2025-07-19 11:12:41 -10:00
J. Nick Koston 112c6e34a5 move defines 2025-07-19 11:11:32 -10:00
J. Nick Koston 2ed70c3c60 Merge branch 'bugfix/make_schedule_rollover_atomic' into integration 2025-07-19 10:53:31 -10:00
J. Nick Koston 9119ac1c32 fix stale comments 2025-07-19 10:50:40 -10:00
J. Nick Koston 152e3ee587 make more readable 2025-07-19 10:43:57 -10:00
J. Nick Koston acbcc5f9b8 make more readable 2025-07-19 10:40:21 -10:00
J. Nick Koston 5ed589fc97 make more readable 2025-07-19 10:39:27 -10:00
J. Nick Koston 58696961bd make more readable 2025-07-19 10:38:28 -10:00
J. Nick Koston a5f5af9596 make more readable 2025-07-19 10:36:49 -10:00
RubenKelevra fde80bc530 core/scheduler: split millis_64_ into different platform functions 2025-07-19 21:44:35 +02:00
RubenKelevra 211739bba0 core/scheduler: Make millis_64_ rollover monotonic on SMP
The current implementation uses only memory_order_relaxed on all atomic
accesses. That protects each variable individually but not the semantic
link between the low word (last_millis_) and the high-word epoch counter
(millis_major_). On a multi-core target a reader could observe a freshly
stored low word before seeing the matching increment of the epoch,
causing a ~49-day negative jump.

Key fixes
- Release/acquire pairing
  - writer: compare_exchange_weak(..., memory_order_release, …)
  - reader: first load of last_millis_ now uses memory_order_acquire
  - ensures any core that sees the new low word also sees the updated
    high word
- Epoch-coherency retry loop
  - re-loads millis_major_ after the update and retries if it changed,
    guaranteeing monotonicity even when another core rolls over
    concurrently
- millis_major_ promoted to std::atomic<uint16_t> on SMP platforms
  - removes the formal data race at negligible cost
- new macros for better readability
  - ESPHOME_SINGLE_CORE – currently ESP8266/RP2040 only
  - ESPHOME_ATOMIC_SCHEDULER – all others except LibreTiny
- Logging and comments
  - loads atomics safely in debug output
  - updated inline docs to match the memory ordering

Behavior on single-core or non-atomic platforms is unchanged; multi-core
targets now get a provably monotonic 64-bit millisecond clock with
minimal overhead.
2025-07-19 19:09:10 +02:00
J. Nick Koston 23f0c596c2 Merge branch 'integration' into memory_api 2025-07-18 22:21:19 -10:00
J. Nick Koston dec3c69190 Merge branch 'batch_eliminate_heap' into integration 2025-07-18 22:20:08 -10:00
J. Nick Koston 3204cf52e9 Update esphome/components/api/api_connection.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 22:17:12 -10:00
J. Nick Koston e2d509d63d Merge branch 'integration' into memory_api 2025-07-18 22:11:40 -10:00
J. Nick Koston 00dd5d64de Merge branch 'batch_eliminate_heap' into integration 2025-07-18 22:11:20 -10:00
J. Nick Koston 09705ca526 guard 2025-07-18 22:11:13 -10:00
J. Nick Koston 8223db761d document 2025-07-18 22:05:55 -10:00
J. Nick Koston 9dddb749c5 Merge branch 'batch_eliminate_heap' into integration 2025-07-18 21:31:31 -10:00
J. Nick Koston e2524c9764 [api] Eliminate heap allocation in process_batch_ using stack-allocated PacketInfo array 2025-07-18 21:14:25 -10:00
J. Nick Koston 03a2237f2e Merge remote-tracking branch 'upstream/dev' into integration 2025-07-18 20:19:21 -10:00
J. Nick Koston ba62a368ff Merge branch 'ble_tracker_read_up_to_end' into integration 2025-07-18 16:32:32 -10:00
J. Nick Koston ffbadc0929 [esp32_ble_tracker] Batch BLE advertisement processing to reduce overhead 2025-07-18 16:30:56 -10:00
J. Nick Koston d19e2d9cce Merge branch 'bluetooth_proxy_fixes' into integration 2025-07-18 16:11:26 -10:00
J. Nick Koston c7884253d2 cannot always need to update timestamp 2025-07-18 16:11:16 -10:00
J. Nick Koston fd2e6b1d2d Merge branch 'bluetooth_proxy_fixes' into integration 2025-07-18 16:09:47 -10:00
J. Nick Koston 6b8da2f0ca preen 2025-07-18 16:09:37 -10:00
J. Nick Koston 45e9522221 Merge branch 'integration' into memory_api 2025-07-18 15:41:34 -10:00
J. Nick Koston 8084c19a6c Merge branch 'bluetooth_proxy_fixes' into integration 2025-07-18 14:51:40 -10:00
J. Nick Koston 2c63d5c7ce rpreen 2025-07-18 14:51:12 -10:00
J. Nick Koston 6a728c2d7d Merge branch 'bluetooth_proxy_fixes' into integration 2025-07-18 14:43:29 -10:00
J. Nick Koston 7afb2fe077 preen 2025-07-18 14:43:05 -10:00
J. Nick Koston 57c0a44b55 Merge branch 'bluetooth_proxy_fixes' into integration 2025-07-18 14:33:50 -10:00
J. Nick Koston b2ec2615bb other way 2025-07-18 14:33:10 -10:00
J. Nick Koston 6a566c6305 other way 2025-07-18 14:31:27 -10:00
J. Nick Koston da1e1ce9ce other way 2025-07-18 14:30:46 -10:00
J. Nick Koston 9902a4ee9c Revert "preen"
This reverts commit 5f13aa162d.
2025-07-18 14:28:45 -10:00
J. Nick Koston 2ce0753ec6 Revert "preen"
This reverts commit 27db5352ac.
2025-07-18 14:28:45 -10:00
J. Nick Koston e4736e9aa7 Revert "preen"
This reverts commit 9f5584ac62.
2025-07-18 14:28:44 -10:00
J. Nick Koston 8acd7548c6 Revert "preen"
This reverts commit 1c4a50ad3a.
2025-07-18 14:28:43 -10:00
J. Nick Koston 1ca1ceb08d Revert "preen"
This reverts commit 4c9fa2f753.
2025-07-18 14:28:42 -10:00
J. Nick Koston 3087ccface Revert "preen"
This reverts commit a8dd0b474a.
2025-07-18 14:28:41 -10:00
J. Nick Koston d9fe52a5fb Revert "preen"
This reverts commit 56fdc1d115.
2025-07-18 14:28:40 -10:00
J. Nick Koston 56fdc1d115 preen 2025-07-18 14:25:22 -10:00
J. Nick Koston a8dd0b474a preen 2025-07-18 14:25:06 -10:00
J. Nick Koston 4c9fa2f753 preen 2025-07-18 14:24:49 -10:00
J. Nick Koston 1c4a50ad3a preen 2025-07-18 14:24:32 -10:00
J. Nick Koston 9f5584ac62 preen 2025-07-18 14:24:20 -10:00
J. Nick Koston 27db5352ac preen 2025-07-18 14:24:05 -10:00
J. Nick Koston 5f13aa162d preen 2025-07-18 14:23:38 -10:00
J. Nick Koston 9aa53fd140 preen 2025-07-18 14:22:43 -10:00
J. Nick Koston b9afa119a0 preen 2025-07-18 14:22:29 -10:00
J. Nick Koston 1a62b75ec3 [bluetooth_proxy] Fix performance issue and service discovery on disconnect 2025-07-18 14:19:06 -10:00
J. Nick Koston 15693a9cf0 Merge branch 'integration' into memory_api 2025-07-18 13:04:17 -10:00
J. Nick Koston a62a8c3d94 Merge branch 'missing_ifdef_member_vars' into integration 2025-07-18 12:57:59 -10:00
J. Nick Koston 8593da7426 missing ifdef 2025-07-18 12:57:32 -10:00
J. Nick Koston 0ce077db94 Merge branch 'missing_ifdef_member_vars' into integration 2025-07-18 12:53:28 -10:00
J. Nick Koston 512cc24dc7 [api] Fix missing ifdef guards for field_ifdef fields in protobuf base classes 2025-07-18 12:50:36 -10:00
J. Nick Koston cd6d686fd6 Merge remote-tracking branch 'origin/dep_proto_fields' into memory_api 2025-07-18 12:31:11 -10:00
J. Nick Koston eeb827e88f Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-18 12:30:32 -10:00
J. Nick Koston a8324e84f0 Merge branch 'integration' into memory_api 2025-07-18 10:52:00 -10:00
J. Nick Koston a23f33cbad Merge branch 'libretiny_gpio' into integration 2025-07-18 10:51:23 -10:00
J. Nick Koston bab6fdcf4e nrf52 2025-07-18 10:50:40 -10:00
J. Nick Koston a1e74802ea nrf52 2025-07-18 10:49:17 -10:00
J. Nick Koston 5be2339bb5 Merge branch 'dev' into dep_proto_fields 2025-07-18 10:30:42 -10:00
J. Nick Koston 9a0ab594ef Merge remote-tracking branch 'upstream/libretiny_gpio' into libretiny_gpio 2025-07-18 10:24:08 -10:00
J. Nick Koston fbf615f73c list them all 2025-07-18 10:23:52 -10:00
J. Nick Koston 186e64931a Update esphome/components/gpio/binary_sensor/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 10:17:52 -10:00
J. Nick Koston 6e7e2b4471 [gpio] Disable interrupt mode by default for LibreTiny platforms 2025-07-18 10:15:56 -10:00
J. Nick Koston 6b83975df0 Merge branch 'integration' into memory_api 2025-07-18 10:05:43 -10:00
J. Nick Koston f52fe63ad1 Merge remote-tracking branch 'origin/integration' into integration 2025-07-18 10:05:29 -10:00
J. Nick Koston 4723f767f4 Merge remote-tracking branch 'upstream/dep_proto_fields' into integration 2025-07-18 10:05:16 -10:00
J. Nick Koston cc1abfcdb3 fixed unref enum tracking 2025-07-18 09:24:24 -10:00
J. Nick Koston d6422b6d25 missed some more 2025-07-18 09:07:29 -10:00
J. Nick Koston cde4fc0609 missed some more 2025-07-18 09:07:13 -10:00
J. Nick Koston 7f5eefed10 remove dead code 2025-07-18 09:01:18 -10:00
J. Nick Koston 1aab2f5a7f missed one 2025-07-18 08:57:30 -10:00
J. Nick Koston 7566d85941 preen 2025-07-18 08:47:27 -10:00
J. Nick Koston db59f3ae88 preen 2025-07-18 08:42:18 -10:00
J. Nick Koston dc7b39722d preen 2025-07-18 08:39:31 -10:00
J. Nick Koston 19ab40e5c2 preen 2025-07-18 08:38:22 -10:00
J. Nick Koston 8a2599b7c2 preen 2025-07-18 08:36:15 -10:00
J. Nick Koston 0a45014330 Remove deprecated protobuf fields to reduce flash usage 2025-07-18 08:13:33 -10:00
J. Nick Koston 10605e93cd Merge remote-tracking branch 'upstream/dev' into integration 2025-07-18 07:58:14 -10:00
J. Nick Koston 0f65731673 Merge branch 'async_tcp_mismatch_fix' into integration 2025-07-18 07:51:18 -10:00
J. Nick Koston 5f9331b112 Fix AsyncTCP version mismatch between platformio.ini and async_tcp component 2025-07-18 07:50:28 -10:00
J. Nick Koston 94f49ab9da Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-17 21:59:34 -10:00
J. Nick Koston 603d4cfcf9 Merge branch 'retiny_includes' into integration 2025-07-17 20:19:47 -10:00
J. Nick Koston 759fe53fd4 [libretiny] Remove unsupported lock-free queue and event pool implementations 2025-07-17 20:18:40 -10:00
J. Nick Koston 61a965019f Merge remote-tracking branch 'origin/integration' into integration 2025-07-17 14:43:45 -10:00
J. Nick Koston a91d0e5c2f Merge branch 'scheduler_retiny' into integration 2025-07-17 14:43:35 -10:00
J. Nick Koston e26c20910d [scheduler] Fix LibreTiny compilation error due to missing atomic operations 2025-07-17 14:42:35 -10:00
J. Nick Koston 6740561bd7 Fix scheduler with libretiny 2025-07-17 14:24:31 -10:00
J. Nick Koston 04820ede37 Merge branch 'bluetooth_proxy_heap' into integration 2025-07-17 14:08:00 -10:00
J. Nick Koston 732370effc remove unneeded cast 2025-07-17 13:34:00 -10:00
J. Nick Koston 03f52e741b Merge branch 'bluetooth_proxy_heap' into integration 2025-07-17 12:59:43 -10:00
J. Nick Koston f5c6e03404 Merge remote-tracking branch 'upstream/dev' into bluetooth_proxy_heap 2025-07-17 12:58:40 -10:00
J. Nick Koston ee7bda74c0 Revert "Revert "missed one""
This reverts commit d40fcb324c.
2025-07-17 12:24:57 -10:00
J. Nick Koston d40fcb324c Revert "missed one"
This reverts commit 8ba14d1f54.
2025-07-17 12:24:36 -10:00
J. Nick Koston 126f7acad2 Merge branch 'bluetooth_proxy_heap' into integration 2025-07-17 12:23:39 -10:00
J. Nick Koston f9357f5e6e Merge remote-tracking branch 'upstream/dev' into integration 2025-07-17 12:23:10 -10:00
J. Nick Koston 81281c181f Merge branch 'dev' into bluetooth_proxy_heap 2025-07-17 12:07:47 -10:00
J. Nick Koston c17fdd91de commit overreserve fix 2025-07-17 10:23:00 -10:00
J. Nick Koston 1f0958e824 safer 2025-07-17 09:57:29 -10:00
J. Nick Koston 9291dc4e27 Merge remote-tracking branch 'upstream/dev' into bluetooth_proxy_heap 2025-07-17 09:53:25 -10:00
J. Nick Koston 72419eb540 fix 2025-07-17 07:21:32 -10:00
J. Nick Koston dbbcbc0998 ble churn fix 2025-07-16 20:41:01 -10:00
J. Nick Koston 7c45afa338 ble churn fix 2025-07-16 20:40:46 -10:00
J. Nick Koston 984601f0b2 ble churn fix 2025-07-16 20:39:15 -10:00
J. Nick Koston ee600ced31 Merge branch 'esphome_webserver_ota' into integration 2025-07-16 16:21:12 -10:00
J. Nick Koston c3da5b7a3f tell the bot 2025-07-16 15:50:42 -10:00
J. Nick Koston ce21b992e3 tidy happy 2025-07-16 15:49:30 -10:00
J. Nick Koston 88323bcca0 Allow disabling OTA for web_server while keeping it enabled for captive_portal 2025-07-16 15:42:48 -10:00
J. Nick Koston 121759c07d Merge branch 'lwip_locking_fix' into integration 2025-07-16 13:15:26 -10:00
J. Nick Koston f1d2300153 simplify 2025-07-16 13:10:00 -10:00
J. Nick Koston 94fd2d8ca1 Merge branch 'dev' into lwip_locking_fix 2025-07-16 12:47:29 -10:00
J. Nick Koston c51bae3640 Merge branch 'lwip_locking_fix' into integration 2025-07-16 11:10:51 -10:00
J. Nick Koston a399e90ed6 fix missing init 2025-07-16 11:10:36 -10:00
J. Nick Koston e164e6ce37 Merge branch 'lwip_locking_fix' into integration 2025-07-16 10:57:10 -10:00
J. Nick Koston cb0ef0b54a Fix lwIP thread safety assertion failures on ESP32 2025-07-16 10:56:29 -10:00
J. Nick Koston 73a8c03562 Merge branch 'integration' into memory_api 2025-07-16 08:26:40 -10:00
J. Nick Koston e1583ff2d3 Merge branch 'template_send_message' into integration 2025-07-16 08:26:29 -10:00
J. Nick Koston 969fc54409 Merge branch 'template_send_message' into memory_api 2025-07-16 08:26:19 -10:00
J. Nick Koston 8ba14d1f54 missed one 2025-07-16 08:18:51 -10:00
J. Nick Koston 6aeefdc085 Refactor API send_message from template to non-template implementation 2025-07-16 08:09:54 -10:00
J. Nick Koston 9d10c79491 Merge branch 'integration' into memory_api 2025-07-15 23:24:53 -10:00
J. Nick Koston b50bd00207 Merge branch 'dev' into integration 2025-07-15 23:24:34 -10:00
J. Nick Koston 472a594c6d Merge branch 'integration' into memory_api 2025-07-15 22:25:01 -10:00
J. Nick Koston 3e6da2870a Merge branch 'vtable' into integration 2025-07-15 22:24:32 -10:00
J. Nick Koston d999ef3047 Merge branch 'entity_dupe_code' into integration 2025-07-15 22:24:23 -10:00
J. Nick Koston e5bd2bd31b not virtual 2025-07-15 22:17:42 -10:00
J. Nick Koston fc30ca83ca Reduce API proto vtable overhead by splitting decode functionality 2025-07-15 22:07:27 -10:00
J. Nick Koston 5dc7dee6d6 empty commit 2025-07-15 21:30:58 -10:00
J. Nick Koston 5aa4ed8d87 Merge remote-tracking branch 'upstream/dev' into entity_dupe_code 2025-07-15 21:24:00 -10:00
J. Nick Koston 5c4ded83d0 Merge branch 'integration' into memory_api 2025-07-15 20:04:01 -10:00
J. Nick Koston 7744b2db79 Merge branch 'proto_field_ifdefs' into integration 2025-07-15 20:02:50 -10:00
J. Nick Koston 8fcbcebf84 Merge branch 'entity_dupe_code' into integration 2025-07-15 20:02:45 -10:00
J. Nick Koston 561ed32b2a fix a few more that are missing 2025-07-15 19:58:28 -10:00
J. Nick Koston 5adfb71fe1 fix a few more that are missing 2025-07-15 19:58:13 -10:00
J. Nick Koston dfdec8ec0a fix a few more that are missing 2025-07-15 19:58:08 -10:00
J. Nick Koston f6c12229e5 fix a few more that are missing 2025-07-15 19:57:43 -10:00
J. Nick Koston c80481baab fix a few more that are missing 2025-07-15 19:57:34 -10:00
J. Nick Koston 86ceccbb1c fix a few more that are missing 2025-07-15 19:57:15 -10:00
J. Nick Koston 628caf63fc fix a few more that are missing 2025-07-15 19:57:10 -10:00
J. Nick Koston 1ce5a994d8 fix a few more that are missing 2025-07-15 19:56:40 -10:00
J. Nick Koston 2abccce297 Merge remote-tracking branch 'upstream/dev' into proto_field_ifdefs 2025-07-15 19:51:56 -10:00
J. Nick Koston 0448a66960 Merge remote-tracking branch 'upstream/dev' into entity_dupe_code 2025-07-15 19:49:33 -10:00
J. Nick Koston 1a36c3cec4 Merge branch 'integration' into memory_api 2025-07-15 17:18:42 -10:00
J. Nick Koston b497f11af0 Merge branch 'proto_field_ifdefs' into integration 2025-07-15 17:17:19 -10:00
J. Nick Koston 07f16dc065 Merge branch 'drop_unique_id' into integration 2025-07-15 17:16:13 -10:00
pre-commit-ci-lite[bot] d2deba6b69 [pre-commit.ci lite] apply automatic fixes 2025-07-16 01:56:19 +00:00
J. Nick Koston 545fa1f1bc Merge remote-tracking branch 'upstream/dev' into proto_field_ifdefs 2025-07-15 15:52:18 -10:00
pre-commit-ci-lite[bot] a477249266 [pre-commit.ci lite] apply automatic fixes 2025-07-16 01:35:26 +00:00
J. Nick Koston b974ccabac Merge branch 'dev' from upstream 2025-07-15 15:25:51 -10:00
J. Nick Koston 8f38be0914 Merge remote-tracking branch 'upstream/dev' into proto_field_ifdefs 2025-07-15 15:19:26 -10:00
J. Nick Koston 2b12307b49 Merge remote-tracking branch 'upstream/drop_unique_id' into drop_unique_id 2025-07-15 15:10:29 -10:00
J. Nick Koston e340d61a85 Merge upstream/dev into drop_unique_id 2025-07-15 15:09:56 -10:00
Jesse Hills 0110a376b7 Merge branch 'dev' into drop_unique_id 2025-07-16 13:09:52 +12:00
J. Nick Koston c739a33be0 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-15 12:22:30 -10:00
J. Nick Koston 0f6dad9c62 Merge branch 'scheduler_opt' into integration 2025-07-15 11:15:19 -10:00
J. Nick Koston 58541aa739 simplify 2025-07-15 11:11:15 -10:00
J. Nick Koston 4c91dead3d Merge branch 'loop_time_update_disable' into integration 2025-07-15 11:07:42 -10:00
J. Nick Koston 78a0fecc08 Fix timing overflow when components disable themselves during loop 2025-07-15 11:03:56 -10:00
J. Nick Koston ff7a3d9f55 Merge branch 'integration' into memory_api 2025-07-15 09:39:01 -10:00
J. Nick Koston 42e1b1a2c1 Merge branch 'api_logconfig' into integration 2025-07-15 09:38:35 -10:00
J. Nick Koston 0d360938c2 Optimize API component LOGCONFIG usage for flash memory savings 2025-07-15 09:37:15 -10:00
J. Nick Koston 36ca3546f5 Merge branch 'scheduler_opt' into integration 2025-07-15 09:24:51 -10:00
J. Nick Koston 5536bdf0c9 Optimize scheduler timing by reducing millis() calls 2025-07-15 09:21:32 -10:00
J. Nick Koston 1718591ac1 Merge branch 'integration' into memory_api 2025-07-14 21:26:50 -10:00
J. Nick Koston 5aaa99d0e4 Merge branch 'logger_check_outside_func' into integration 2025-07-14 21:23:49 -10:00
J. Nick Koston 60e9ad2240 Skip API log message calls for unsubscribed log levels 2025-07-14 21:22:45 -10:00
J. Nick Koston 5ec25d84be Merge branch 'integration' into memory_api 2025-07-14 21:00:55 -10:00
J. Nick Koston 74b0a29a52 Merge branch 'api_connection_batch_prio' into integration 2025-07-14 20:59:52 -10:00
J. Nick Koston 909356698c Optimize API connection batch priority message handling to reduce flash usage 2025-07-14 20:31:34 -10:00
J. Nick Koston bd416e761e Merge branch 'integration' into memory_api 2025-07-14 17:29:12 -10:00
J. Nick Koston f34fe95f1c wip 2025-07-14 17:28:30 -10:00
J. Nick Koston 388fde1ee8 Merge entity_dupe_code: Refactor API connection entity encoding to reduce code duplication 2025-07-14 17:25:02 -10:00
J. Nick Koston b13842f44e Refactor API connection entity encoding to reduce code duplication 2025-07-14 17:17:49 -10:00
J. Nick Koston 2396bf412d Merge branch 'integration' into memory_api 2025-07-14 17:03:26 -10:00
J. Nick Koston 1229766436 Merge branch 'drop_unique_id' into integration 2025-07-14 17:03:10 -10:00
J. Nick Koston 3fa899776d Merge branch 'integration' into memory_api 2025-07-14 16:56:53 -10:00
J. Nick Koston 77a5430f00 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-14 16:56:37 -10:00
J. Nick Koston f27ef9210a Merge branch 'integration' into memory_api 2025-07-14 16:56:19 -10:00
J. Nick Koston 8ac6075321 Merge remote-tracking branch 'origin/dev' into integration 2025-07-14 15:52:35 -10:00
J. Nick Koston 6e1e8ed321 Merge branch 'remove_parsed_adv_support_bluetooth_proxy' into integration 2025-07-14 15:52:20 -10:00
J. Nick Koston 0826ade69d Merge remote-tracking branch 'origin/dev' into integration 2025-07-14 14:33:50 -10:00
J. Nick Koston cf9130f906 Merge remote-tracking branch 'kahrendt/json-bump-library' into integration 2025-07-14 14:33:42 -10:00
Kevin Ahrendt d268c14f7e Apply suggestions from code review
Fixes unsigned integer wrong type

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-07-14 20:20:46 -04:00
J. Nick Koston 3cca7a6161 fix incorrect comment 2025-07-14 12:31:41 -10:00
J. Nick Koston 52d6801618 address bot comments 2025-07-14 12:29:40 -10:00
J. Nick Koston a714e8da0b last ones 2025-07-14 11:52:11 -10:00
J. Nick Koston 1778776b73 use NOLINTBEGIN/NOLINTEND for the multi occ cases 2025-07-14 11:30:43 -10:00
J. Nick Koston d6e05061f8 a few more 2025-07-14 11:19:49 -10:00
J. Nick Koston 13ceda899b add some more , rearrange 2025-07-14 11:00:25 -10:00
J. Nick Koston 40d436746c webserver needs as well 2025-07-14 10:28:10 -10:00
J. Nick Koston 5c59b4fcad Merge remote-tracking branch 'kahrendt/json-bump-library' into integration 2025-07-14 10:14:19 -10:00
J. Nick Koston 4de36ffeb4 Merge branch 'dev' into json-bump-library 2025-07-14 10:13:33 -10:00
J. Nick Koston 4b3393ce64 location fixes 2025-07-14 10:12:46 -10:00
J. Nick Koston 4c8bb878bf Merge branch 'json-bump-library' of https://github.com/kahrendt/esphome into json-bump-library 2025-07-14 09:57:16 -10:00
Kevin Ahrendt 8a3cb32531 a few formatting things 2025-07-14 15:57:01 -04:00
Kevin Ahrendt d3ab7f320e a few missing nolint messages 2025-07-14 15:52:40 -04:00
J. Nick Koston 85351bb952 a few more 2025-07-14 09:50:29 -10:00
Kevin Ahrendt b47f9158b2 fix a few wrong types 2025-07-14 15:47:22 -04:00
J. Nick Koston ee5242ec8d no real good option but to disable them all manually 2025-07-14 09:33:33 -10:00
J. Nick Koston 238909c0de no real good option but to disable them all manually 2025-07-14 09:31:22 -10:00
J. Nick Koston fe9316c95d Merge branch 'json-bump-library' of https://github.com/kahrendt/esphome into json-bump-library 2025-07-14 09:30:45 -10:00
J. Nick Koston a7e74bb7de no real good option but to disable them all manually 2025-07-14 09:30:43 -10:00
Kevin Ahrendt b9cb690986 use better types 2025-07-14 15:28:54 -04:00
J. Nick Koston 808066f564 no real good option but to disable them all manually 2025-07-14 09:24:38 -10:00
J. Nick Koston 2057af8396 Revert "try another way"
This reverts commit 96d39403f4.
2025-07-14 09:21:42 -10:00
J. Nick Koston b95449615f Revert "more aggressive fix"
This reverts commit 4f10a0ccf7.
2025-07-14 09:21:36 -10:00
Kevin Ahrendt 5e8f1d82c3 specify data types 2025-07-14 14:58:16 -04:00
Kevin Ahrendt 6afda9d4dc don't set string define 2025-07-14 14:58:16 -04:00
J. Nick Koston 4f10a0ccf7 more aggressive fix 2025-07-14 08:53:32 -10:00
J. Nick Koston 96d39403f4 try another way 2025-07-14 08:45:33 -10:00
J. Nick Koston aeb56cc3d0 Revert "do not analyze platformio files"
This reverts commit f76cba0af6.
2025-07-14 08:45:15 -10:00
J. Nick Koston 33389f9c7f Revert "do not analyze platformio files"
This reverts commit 55a7926670.
2025-07-14 08:45:06 -10:00
J. Nick Koston 55a7926670 do not analyze platformio files 2025-07-14 08:13:45 -10:00
J. Nick Koston f76cba0af6 do not analyze platformio files 2025-07-14 08:10:23 -10:00
J. Nick Koston 1dc75f6ffa Merge branch 'bump_ESPAsyncWebServer_AsyncTCP' into integration 2025-07-14 07:18:15 -10:00
J. Nick Koston acb0fdc288 one more dep 2025-07-14 07:16:41 -10:00
J. Nick Koston de235b638a Fix LibreTiny compilation error by updating ESPAsyncWebServer to 3.7.10 2025-07-14 07:12:07 -10:00
Kevin Ahrendt ab454e9928 explicitly define support for std::string 2025-07-14 11:54:02 -04:00
Kevin Ahrendt 0a8af3ec85 Revert "testing a different approach"
This reverts commit 51eecac2de.
2025-07-14 11:52:26 -04:00
Kevin Ahrendt 51eecac2de testing a different approach 2025-07-14 11:43:31 -04:00
Kevin Ahrendt 815744b0f6 fix merge issues and clean up old comments 2025-07-14 10:47:38 -04:00
Kevin Ahrendt a1281febe9 bump to 7.4.2 2025-07-14 10:35:10 -04:00
Kevin Ahrendt 9ef982fa4d clang fix 2025-07-14 10:35:10 -04:00
Kevin Ahrendt 44f97e2de4 move allocator to be a protected variable 2025-07-14 10:35:10 -04:00
Kevin Ahrendt 8ad4d3b6f5 fix type of ota object 2025-07-14 10:33:32 -04:00
Kevin Ahrendt d97f473e4a include proper header for allocator and mark the functions as override 2025-07-14 10:33:32 -04:00
Kevin Ahrendt ef072eb655 update createNestedObject 2025-07-14 10:33:32 -04:00
Kevin Ahrendt 8040c7cd92 update createdNestedArray calls 2025-07-14 10:33:32 -04:00
Kevin Ahrendt 8648acab5d remove old capacity() call 2025-07-14 10:33:32 -04:00
Kevin Ahrendt 1155e9b88a use new syntax instead of containsKey 2025-07-14 10:33:32 -04:00
Kevin Ahrendt c069a66625 bump ArduinoJSON library to 7.4.1 2025-07-14 10:33:32 -04:00
J. Nick Koston 2a10f58bdd Remove parsed advertisement support from bluetooth_proxy to save memory 2025-07-13 22:09:53 -10:00
J. Nick Koston e713b0bd8c Remove parsed advertisement support from bluetooth_proxy to save memory 2025-07-13 22:01:44 -10:00
J. Nick Koston 6ed5ea87f1 Merge branch 'integration' into memory_api 2025-07-13 18:08:10 -10:00
J. Nick Koston fd13ed78ab Merge branch 'proto_size_remove_cond' into integration 2025-07-13 18:07:57 -10:00
J. Nick Koston 221f380ca3 single func 2025-07-13 18:03:21 -10:00
J. Nick Koston cf472d5281 Merge branch 'integration' into memory_api 2025-07-13 17:37:35 -10:00
J. Nick Koston 85fa884382 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-13 17:37:13 -10:00
J. Nick Koston 6cd443e9dc Merge remote-tracking branch 'upstream/dev' into integration 2025-07-13 14:51:19 -10:00
J. Nick Koston 26b12ee790 Merge branch 'format_hex_dupe_code' into memory_api 2025-07-13 14:15:11 -10:00
J. Nick Koston b1c6ece50d Merge branch 'integration' into memory_api 2025-07-13 14:12:49 -10:00
J. Nick Koston c8c1573fbb Merge branch 'component_logging' into integration 2025-07-13 14:12:35 -10:00
J. Nick Koston e7fb069bb3 Merge branch 'ram_realloc_bug' into integration 2025-07-13 14:12:31 -10:00
J. Nick Koston fe7e5feba7 Fix dormant bug in RAMAllocator::reallocate() manual_size calculation 2025-07-13 14:11:23 -10:00
J. Nick Koston 1abdc23a23 Follow logging best practices by removing redundant component prefix 2025-07-13 13:55:35 -10:00
J. Nick Koston c59c5db03e Refactor format_hex_pretty functions to eliminate code duplication 2025-07-13 13:44:31 -10:00
J. Nick Koston 2076d615f0 Merge branch 'integration' into memory_api 2025-07-13 13:06:20 -10:00
J. Nick Koston ec3660e8ae Merge remote-tracking branch 'upstream/dev' into integration 2025-07-13 13:05:16 -10:00
J. Nick Koston f6251cf6e4 Merge branch 'proto_field_ifdefs' into integration 2025-07-13 12:43:54 -10:00
J. Nick Koston 77258b5e62 Merge remote-tracking branch 'upstream/proto_field_ifdefs' into proto_field_ifdefs 2025-07-13 12:12:11 -10:00
J. Nick Koston dc7996922b missing ifdefs 2025-07-13 12:11:59 -10:00
J. Nick Koston 31a6ae00b5 Merge branch 'dev' into proto_field_ifdefs 2025-07-13 11:57:55 -10:00
J. Nick Koston d2569c0f1e Reduce binary size with field-level conditional compilation for protobuf messages 2025-07-13 11:16:36 -10:00
J. Nick Koston ae9a48ebbb Reduce binary size with field-level conditional compilation for protobuf messages 2025-07-13 11:13:17 -10:00
J. Nick Koston 1c00e0b9c1 Merge branch 'integration' into memory_api 2025-07-13 10:20:30 -10:00
J. Nick Koston d8f786cfdf Merge branch 'wire_type_1' into integration 2025-07-13 10:20:21 -10:00
J. Nick Koston 75ef572a24 Remove dead code: 64-bit protobuf types never used in 7 years 2025-07-13 10:18:55 -10:00
J. Nick Koston f0f30224d3 Merge branch 'webserver_cleanups' into integration 2025-07-13 09:10:24 -10:00
J. Nick Koston ec6e61e688 Refactor WebServer request handling for improved maintainability 2025-07-13 09:08:51 -10:00
J. Nick Koston 3dd457c471 Merge branch 'api_errors' into integration 2025-07-13 08:08:52 -10:00
J. Nick Koston 3b8a34c8d0 Reduce API component flash usage by consolidating error logging 2025-07-13 07:57:27 -10:00
J. Nick Koston 864709b006 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-12 16:51:07 -10:00
J. Nick Koston fe76955f3e Merge remote-tracking branch 'upstream/dev' into integration 2025-07-12 16:50:25 -10:00
J. Nick Koston db8767fb05 Merge remote-tracking branch 'upstream/dev' into drop_unique_id 2025-07-12 14:25:47 -10:00
J. Nick Koston 7dad9c2ab0 Merge branch 'reformat_api_jump_tables' into integration 2025-07-12 13:52:14 -10:00
J. Nick Koston 4c0c0954a4 Merge remote-tracking branch 'upstream/dev' into reformat_api_jump_tables 2025-07-12 13:51:50 -10:00
J. Nick Koston f5a486a7da Merge branch 'source_server' into integration 2025-07-12 10:50:31 -10:00
J. Nick Koston a0b4100ff0 Merge branch 'source_server' into memory_api 2025-07-12 10:38:15 -10:00
J. Nick Koston 425d57ba7d other direction 2025-07-12 10:23:21 -10:00
J. Nick Koston 1965a41725 Skip generating decode methods for SOURCE_SERVER protobuf messages 2025-07-12 10:18:53 -10:00
J. Nick Koston 27f352b7dc Merge remote-tracking branch 'upstream/dev' into integration 2025-07-12 10:08:17 -10:00
J. Nick Koston e01fb0b677 merge 2025-07-12 07:24:12 -10:00
J. Nick Koston 671f0d62c7 Merge remote-tracking branch 'origin/runtime_stats' into integration 2025-07-12 07:21:51 -10:00
J. Nick Koston f1b888b309 Merge branch 'dev' into runtime_stats 2025-07-12 07:21:44 -10:00
J. Nick Koston 9cbcd0497a Merge branch 'encode_perf' into integration 2025-07-12 07:14:06 -10:00
J. Nick Koston 0139de37ba fixup 2025-07-12 06:51:40 -10:00
J. Nick Koston 4e7fe88da3 Apply existing protobuf buffer optimization to nested message encoding 2025-07-12 06:45:37 -10:00
J. Nick Koston b1a81b45ea Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-11 20:59:41 -10:00
J. Nick Koston fb0a8b9f3e Merge branch 'disable_wifi_ethernet_pr' into memory_api 2025-07-11 19:17:57 -10:00
J. Nick Koston 87ad8eab62 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-11 19:17:51 -10:00
J. Nick Koston 6af4961695 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-11 19:08:23 -10:00
J. Nick Koston ae78f7798f Merge branch 'disable_wifi_ethernet_pr' into integration 2025-07-11 19:00:15 -10:00
J. Nick Koston 53295fde7e Disable WiFi when using Ethernet to save memory 2025-07-11 18:59:31 -10:00
J. Nick Koston 268816bf7f Merge branch 'reformat_api_jump_tables' into memory_api 2025-07-11 18:43:40 -10:00
J. Nick Koston 200bec8440 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-11 18:43:23 -10:00
J. Nick Koston df461c08a9 Merge branch 'reformat_api_jump_tables' into integration 2025-07-11 18:34:07 -10:00
J. Nick Koston bbf9dcc15a Merge remote-tracking branch 'origin/integration' into integration 2025-07-11 18:33:57 -10:00
J. Nick Koston a3e7105cb0 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-11 18:33:40 -10:00
J. Nick Koston 10e5400d1f Improve API protobuf decode method readability and reduce code size 2025-07-11 18:30:08 -10:00
J. Nick Koston 97eb949670 Merge remote-tracking branch 'origin/integration' into integration 2025-07-11 17:32:30 -10:00
J. Nick Koston 8f484a89f3 Merge branch 'enum_uint32' into integration 2025-07-11 17:32:15 -10:00
J. Nick Koston 1f35c35e2a oops, removed wrong one 2025-07-11 17:32:07 -10:00
J. Nick Koston 427560f814 address bot review comments 2025-07-11 17:24:55 -10:00
J. Nick Koston 991200551d Merge branch 'enum_uint32' into memory_api 2025-07-11 17:10:21 -10:00
J. Nick Koston 60de0c6e69 Merge branch 'guard_custom_services' into memory_api 2025-07-11 17:10:12 -10:00
J. Nick Koston 4a3000bcc5 Merge branch 'guard_custom_services' into integration 2025-07-11 17:06:28 -10:00
J. Nick Koston 25cac3e04e make clang-tidy happy 2025-07-11 17:06:08 -10:00
J. Nick Koston fc386a2648 Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-07-11 16:52:42 -10:00
J. Nick Koston 3fd9a3507c Merge branch 'reduce_api_size' into integration 2025-07-11 16:52:27 -10:00
J. Nick Koston d92005113a Merge branch 'guard_custom_services' into integration 2025-07-11 16:52:15 -10:00
J. Nick Koston fb2d764c89 tidy 2025-07-11 16:48:20 -10:00
J. Nick Koston 0251bb48ec Merge branch 'guard_custom_services' into integration 2025-07-11 16:34:10 -10:00
J. Nick Koston a035db1d11 Merge remote-tracking branch 'origin/enum_uint32' into integration 2025-07-11 16:34:05 -10:00
J. Nick Koston 88049f9801 Merge branch 'dev' into enum_uint32 2025-07-11 16:33:45 -10:00
J. Nick Koston 42a9125ea7 preen 2025-07-11 16:25:49 -10:00
J. Nick Koston 63972ff272 preen 2025-07-11 16:24:16 -10:00
J. Nick Koston dc53473e7e less templates 2025-07-11 16:16:57 -10:00
J. Nick Koston 2c290e3bee less templates 2025-07-11 16:10:39 -10:00
J. Nick Koston c37494ea55 less templates 2025-07-11 16:09:33 -10:00
J. Nick Koston b3e8963a33 less templates 2025-07-11 16:06:50 -10:00
J. Nick Koston e2c77c0c4f less templates 2025-07-11 16:05:55 -10:00
J. Nick Koston 139ce4c655 lint 2025-07-11 15:54:20 -10:00
J. Nick Koston 010dc35efc etst 2025-07-11 15:49:59 -10:00
J. Nick Koston 413969300b etst 2025-07-11 15:48:36 -10:00
J. Nick Koston b67a88027d guard 2025-07-11 15:35:26 -10:00
J. Nick Koston 2384b54ee3 Guard custom services 2025-07-11 15:30:37 -10:00
J. Nick Koston c3ae23dc90 Merge branch 'remove_false' into memory_api 2025-07-11 14:42:42 -10:00
J. Nick Koston aa00091e2b Merge remote-tracking branch 'upstream/dev' into memory_api 2025-07-11 14:42:38 -10:00
J. Nick Koston 7e3a203f0b Merge branch 'remove_false' into integration 2025-07-11 14:42:18 -10:00
J. Nick Koston 054e39316c Merge remote-tracking branch 'upstream/dev' into integration 2025-07-11 14:42:09 -10:00
J. Nick Koston 7ce879521d Merge branch 'dev' into remove_false 2025-07-11 14:39:09 -10:00
J. Nick Koston 6f5f378857 address lint comment 2025-07-11 14:36:54 -10:00
J. Nick Koston 773950332b address lint comment 2025-07-11 14:36:38 -10:00
J. Nick Koston 35cd8616a2 Merge branch 'remove_false' into integration 2025-07-11 14:17:44 -10:00
J. Nick Koston 95786ce269 review feedback from bot 2025-07-11 14:16:17 -10:00
J. Nick Koston c082ee616e address feedback 2025-07-11 14:12:03 -10:00
J. Nick Koston 869f96f832 Optimize API proto size calculations by removing redundant force parameter 2025-07-11 14:06:27 -10:00
J. Nick Koston 2dff08b6f9 opt 2025-07-11 12:15:11 -10:00
J. Nick Koston e76c40a1e7 Merge remote-tracking branch 'upstream/dev' into memory 2025-07-11 12:05:55 -10:00
J. Nick Koston 504ca09451 revert 2025-07-11 11:59:39 -10:00
J. Nick Koston 90c4b71d3f revert 2025-07-11 11:59:14 -10:00
J. Nick Koston 7e1db7a75c Merge remote-tracking branch 'origin/integration' into integration 2025-07-11 11:54:39 -10:00
J. Nick Koston 2f298992cf Merge branch 'auto_auth' into integration 2025-07-11 11:54:23 -10:00
J. Nick Koston c8c5c26896 Merge remote-tracking branch 'origin/integration' into integration 2025-07-11 11:54:03 -10:00
J. Nick Koston d8545ef946 Merge branch 'reduce_api_size' into integration 2025-07-11 11:53:49 -10:00
J. Nick Koston db68f9571b revert 2025-07-11 11:47:09 -10:00
J. Nick Koston 0350471fa9 revert 2025-07-11 11:46:03 -10:00
J. Nick Koston 3ed533d709 tweak 2025-07-11 11:37:17 -10:00
J. Nick Koston e472a345c9 tweak 2025-07-11 11:05:28 -10:00
J. Nick Koston 42be5d892a cleanup 2025-07-11 10:58:05 -10:00
J. Nick Koston 9a0d5019e1 tweak 2025-07-11 10:27:59 -10:00
J. Nick Koston fc8c1ac9dd make sure we did not break password auth 2025-07-11 10:19:33 -10:00
J. Nick Koston 536134e2b5 preen 2025-07-11 10:17:41 -10:00
J. Nick Koston 005d4354d5 test this 2025-07-11 10:14:59 -10:00
J. Nick Koston 7107b5cfef preen 2025-07-11 10:11:26 -10:00
J. Nick Koston bb153d42dc review 2025-07-11 10:02:51 -10:00
J. Nick Koston a3806e4de2 Optimize API performance and flash usage by eliminating runtime message size lookup 2025-07-11 10:01:11 -10:00
J. Nick Koston 4dbe19a56e Auto auth if no password is required
Next step in password deprecation
2025-07-11 09:22:40 -10:00
J. Nick Koston 0b74122d6f Auto auth if no password is required
Next step in password deprecation
2025-07-11 09:21:18 -10:00
J. Nick Koston e148c22f25 Auto auth if no password is required
Next step in password deprecation
2025-07-11 09:20:42 -10:00
J. Nick Koston 33fb4d5d42 fixes 2025-07-09 16:27:40 -10:00
J. Nick Koston 7f7623cc8d Merge remote-tracking branch 'upstream/dev' into memory 2025-07-09 16:16:01 -10:00
J. Nick Koston f2e914fb94 Merge remote-tracking branch 'upstream/dev' into memory 2025-07-09 15:20:45 -10:00
J. Nick Koston 1678eb0591 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-09 15:20:35 -10:00
J. Nick Koston 1a0943c960 add component symbols 2025-07-09 10:00:20 -10:00
J. Nick Koston 073590124d Merge remote-tracking branch 'upstream/dev' into memory 2025-07-09 09:37:48 -10:00
J. Nick Koston dfa4328604 tidy up 2025-07-08 13:03:01 -06:00
J. Nick Koston 9dab840c58 tidy up 2025-07-08 11:42:17 -06:00
J. Nick Koston 29fff967f5 tweak 2025-07-08 11:38:14 -06:00
J. Nick Koston 2a35c95718 fixes 2025-07-08 11:31:25 -06:00
J. Nick Koston 4a70aa26e8 Merge branch 'runtime_stats' into integration 2025-07-08 11:25:09 -06:00
J. Nick Koston 748604d374 preen 2025-07-08 11:12:46 -06:00
J. Nick Koston d32db20aa0 preen 2025-07-08 11:10:32 -06:00
J. Nick Koston ae346bb94e remove dead code 2025-07-08 10:11:47 -06:00
J. Nick Koston cb67010574 remove dead code 2025-07-08 10:11:24 -06:00
J. Nick Koston defa452aa1 preen 2025-07-08 09:58:02 -06:00
J. Nick Koston 97a476b475 stats 2025-07-08 09:52:44 -06:00
J. Nick Koston 07a4f6f53c fixes 2025-07-08 09:40:12 -06:00
J. Nick Koston 7d2726ab21 fixes 2025-07-08 09:37:07 -06:00
J. Nick Koston 3862e3b4e7 fixes 2025-07-08 09:35:31 -06:00
J. Nick Koston be84f12100 fixes 2025-07-08 09:34:56 -06:00
J. Nick Koston 0097a55eaa fixes 2025-07-08 09:34:16 -06:00
J. Nick Koston d1609de25a cleanup 2025-07-08 09:28:09 -06:00
J. Nick Koston 02395c92a1 cleanup 2025-07-08 09:26:13 -06:00
J. Nick Koston f2ac6b0af6 cleanup 2025-07-08 09:25:00 -06:00
J. Nick Koston a3c8f667a7 cleanup 2025-07-08 09:16:42 -06:00
J. Nick Koston d06bab01ac runtime_stats 2025-07-08 09:09:07 -06:00
J. Nick Koston 591786a787 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-08 09:08:03 -06:00
Jonathan Swoboda 6c593fde22 Merge remote-tracking branch 'upstream/dev' into 5_4_2 2025-07-08 07:47:31 -04:00
Jonathan Swoboda 5e862412d8 Fix ifdef 2025-07-07 22:35:11 -04:00
Jonathan Swoboda c72489b502 Merge remote-tracking branch 'upstream/dev' into 5_4_2 2025-07-07 21:59:15 -04:00
Jonathan Swoboda 33f6599320 Remove USE_ESP_IDF_VERSION_CODE & fix ethernet 2025-07-07 21:28:51 -04:00
J. Nick Koston 5de7b874b0 sync 2025-07-07 17:23:01 -05:00
J. Nick Koston a27f6c72b9 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-07 17:22:35 -05:00
J. Nick Koston a80d3012bd Merge remote-tracking branch 'origin/integration' into integration 2025-07-07 16:34:03 -05:00
J. Nick Koston 1c0a646309 Merge upstream/dev into integration 2025-07-07 16:33:30 -05:00
J. Nick Koston eabb781e5f Merge remote-tracking branch 'upstream/dev' into integration 2025-07-07 15:46:19 -05:00
J. Nick Koston 03c2cda17c Merge branch 'logger_strlen' into integration 2025-07-07 15:38:53 -05:00
J. Nick Koston 26b72ccb10 Merge remote-tracking branch 'origin/logger_strlen' into logger_strlen 2025-07-07 15:18:37 -05:00
J. Nick Koston ab993c6d5a add diagram 2025-07-07 15:18:27 -05:00
J. Nick Koston 999090fa18 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-07 15:11:18 -05:00
J. Nick Koston 2eed309224 Merge branch 'dev' into logger_strlen 2025-07-07 15:09:16 -05:00
J. Nick Koston 12980847a8 Merge branch 'logger_strlen' into integration 2025-07-07 15:08:21 -05:00
J. Nick Koston 01a6b38b89 null term is already there 2025-07-07 15:08:11 -05:00
J. Nick Koston 73b786c22e fix calculation 2025-07-07 15:01:15 -05:00
J. Nick Koston c1a6e82322 fix calculation 2025-07-07 14:58:45 -05:00
J. Nick Koston ec848bc7b4 Merge branch 'bluetooth_proxy_guard_var' into integration 2025-07-07 14:39:39 -05:00
J. Nick Koston e5df43b934 cleanup 2025-07-07 14:38:49 -05:00
J. Nick Koston d13f87e891 Merge upstream/dev while preserving guard variable optimization 2025-07-07 14:37:28 -05:00
J. Nick Koston 132d56fe1a lint 2025-07-07 14:24:55 -05:00
J. Nick Koston 171e19381f Update esphome/components/text_sensor/text_sensor.cpp 2025-07-07 14:19:17 -05:00
J. Nick Koston 9cc7b060c9 Update esphome/components/sensor/sensor.h 2025-07-07 14:18:57 -05:00
J. Nick Koston d178e2da6f reduce more 2025-07-07 14:05:14 -05:00
J. Nick Koston 1e8f961362 reduce more 2025-07-07 14:03:15 -05:00
J. Nick Koston 166f77610f reduce more 2025-07-07 14:02:15 -05:00
J. Nick Koston 97dc244d1e reduce more 2025-07-07 13:55:22 -05:00
J. Nick Koston 085ddebf7d Merge remote-tracking branch 'upstream/dev' into drop_unique_id 2025-07-07 13:51:53 -05:00
J. Nick Koston bccc3d79d8 Merge branch 'api_voice' into integration 2025-07-07 13:39:47 -05:00
J. Nick Koston 4df3bfe85d review 2025-07-07 13:39:37 -05:00
J. Nick Koston 99345574e4 Merge branch 'api_voice' into integration 2025-07-07 13:09:45 -05:00
J. Nick Koston 80c66b0742 preen 2025-07-07 13:09:30 -05:00
J. Nick Koston 17d820570b Merge branch 'api_dispatch_dry' into integration 2025-07-07 12:24:09 -05:00
J. Nick Koston c979d5c9b1 bad linter suggestion again 2025-07-07 12:23:57 -05:00
J. Nick Koston 62c7f14d9a Merge remote-tracking branch 'upstream/dev' into memory 2025-07-07 12:08:50 -05:00
J. Nick Koston 13ac6df1dd Merge branch 'api_voice' into integration 2025-07-07 12:06:12 -05:00
J. Nick Koston 98d091fbc3 Refactor voice assistant API methods to reduce code duplication 2025-07-07 12:05:31 -05:00
J. Nick Koston 22e67f9754 Merge branch 'prepare_commands_for_device_id' into integration 2025-07-07 11:48:43 -05:00
J. Nick Koston 515a97de76 clang-format 2025-07-07 11:48:35 -05:00
J. Nick Koston 68b5337ed3 Merge branch 'api_dispatch_dry' into integration 2025-07-07 11:44:49 -05:00
J. Nick Koston 8ee86c717b update is a special case as well 2025-07-07 11:44:31 -05:00
J. Nick Koston 10530cdef3 Merge branch 'api_dispatch_dry' into integration 2025-07-07 11:40:41 -05:00
J. Nick Koston 5de0f9efc9 Refactor API entity update dispatch to reduce code duplication 2025-07-07 11:37:06 -05:00
J. Nick Koston 6d1d7f137f Merge branch 'prepare_commands_for_device_id' into integration 2025-07-07 11:15:32 -05:00
J. Nick Koston 38e16efa11 Refactor entity lookup methods with macros in preparation for device_id support 2025-07-07 11:10:23 -05:00
J. Nick Koston 5e2f0f7f5e Merge branch 'socket_read_dupe_code' into integration 2025-07-07 10:33:51 -05:00
J. Nick Koston 83c7afc46f Refactor duplicate socket read error handling in API frame helper 2025-07-07 10:33:04 -05:00
J. Nick Koston 10753f0f99 Merge branch 'more_str_len_logger' into integration 2025-07-07 10:10:17 -05:00
J. Nick Koston 34a852d433 Optimize logger performance by eliminating redundant strlen calls 2025-07-07 10:09:51 -05:00
J. Nick Koston 3922fbdef7 Merge branch 'logger_strlen' into integration 2025-07-07 09:04:17 -05:00
J. Nick Koston e5415abf20 tidy 2025-07-07 09:03:52 -05:00
J. Nick Koston 67e1a92cce Merge branch 'logger_strlen' into integration 2025-07-07 08:53:11 -05:00
J. Nick Koston 4c64511a15 apply suggestions from review 2025-07-07 08:52:52 -05:00
J. Nick Koston 75f3e0900e apply suggestions from review 2025-07-07 08:52:28 -05:00
J. Nick Koston abd33c21bf Update esphome/components/syslog/esphome_syslog.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-07 08:50:40 -05:00
J. Nick Koston d592ba2c5e Update esphome/components/web_server/web_server.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-07 08:50:33 -05:00
J. Nick Koston 321eba5184 Merge branch 'logger_strlen' into integration 2025-07-07 08:48:45 -05:00
J. Nick Koston 82b9ec53fd fix merge error 2025-07-07 08:48:35 -05:00
J. Nick Koston b9262f967b Merge branch 'logger_strlen' into integration 2025-07-07 08:47:27 -05:00
J. Nick Koston 949fb9a890 Optimize logger callback API by including message length parameter 2025-07-07 08:46:21 -05:00
J. Nick Koston 99952a701f Merge remote-tracking branch 'upstream/jesserockz-2025-282' into integration 2025-07-07 07:34:48 -05:00
J. Nick Koston 88878adb6c Merge branch 'filter_compile_warning_vv' into integration 2025-07-07 07:33:53 -05:00
J. Nick Koston 17e3b49ebb Merge branch 'api_sprint' into integration 2025-07-07 07:33:49 -05:00
J. Nick Koston a217747f5d Replace deprecated sprintf with snprintf in API protobuf code generation 2025-07-07 07:32:22 -05:00
J. Nick Koston 790c9cbb84 Fix format specifier warnings in QuantileFilter logging 2025-07-07 07:27:31 -05:00
J. Nick Koston da5fb6e24f Merge branch '20250707-ld2450-clean-up' into integration 2025-07-07 07:18:12 -05:00
Jesse Hills a77439b4b7 Ignore new helper files for namespace inclusion 2025-07-07 23:24:30 +12:00
Jesse Hills 1a049bdcbb More missing includes 2025-07-07 21:06:50 +12:00
Keith Burzinski 79686239d3 Rename button, sort vars 2025-07-07 03:33:21 -05:00
Keith Burzinski c934e84e21 [ld2450] Clean-up for consistency, reduce CPU usage when idle 2025-07-07 03:23:04 -05:00
Jesse Hills 5e2f8cb018 Missing includes 2025-07-07 17:33:05 +12:00
J. Nick Koston 6bd0af6d85 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 23:58:09 -05:00
J. Nick Koston 0f28a49822 tidy 2025-07-06 23:57:46 -05:00
Jesse Hills 66d96646b1 [core] Move platform helper implementations into their own file 2025-07-07 16:40:45 +12:00
J. Nick Koston be4cf6505f Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 22:56:46 -05:00
J. Nick Koston e8ea7825a9 Merge branch 'dev' into heap_scheduler_stress_component 2025-07-06 22:56:18 -05:00
J. Nick Koston 8c13eab731 no flakey 2025-07-06 22:54:46 -05:00
J. Nick Koston bf4cbb0aee Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 22:14:38 -05:00
J. Nick Koston aaec4b7bd3 validation consistent 2025-07-06 22:13:35 -05:00
J. Nick Koston 7bddcd4f64 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 22:07:21 -05:00
J. Nick Koston af205a5267 one more test 2025-07-06 22:01:19 -05:00
J. Nick Koston c2599d7719 safer 2025-07-06 21:43:03 -05:00
J. Nick Koston 4ea6f23d9e Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 21:32:06 -05:00
J. Nick Koston f23fd52a26 clarify what we know 2025-07-06 21:31:39 -05:00
J. Nick Koston cfd43c81fb clarify what we know 2025-07-06 21:30:39 -05:00
J. Nick Koston 3dcba675b4 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 21:23:51 -05:00
J. Nick Koston bb51031ec6 preen 2025-07-06 21:23:30 -05:00
J. Nick Koston ecb99cbcce fix flakey test 2025-07-06 21:19:38 -05:00
J. Nick Koston 0a514821c6 preen 2025-07-06 21:04:23 -05:00
J. Nick Koston 074fbb522c preen 2025-07-06 21:01:52 -05:00
J. Nick Koston 71d6ba242e preen 2025-07-06 21:01:25 -05:00
J. Nick Koston 37ffd64b48 Merge remote-tracking branch 'upstream/heap_scheduler_stress_component' into heap_scheduler_stress_component 2025-07-06 20:59:59 -05:00
J. Nick Koston ec65652567 add missed remake 2025-07-06 20:59:43 -05:00
J. Nick Koston 731613421d fix flakey 2025-07-06 20:59:08 -05:00
J. Nick Koston 58dfad4ed0 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 20:38:10 -05:00
J. Nick Koston 7eb029f4b9 cleanup 2025-07-06 20:38:00 -05:00
J. Nick Koston 8da8d938f0 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 20:36:50 -05:00
J. Nick Koston 64ac0d2bde cover 2025-07-06 20:36:32 -05:00
J. Nick Koston 7d3cdd15ad cleanup 2025-07-06 20:31:28 -05:00
J. Nick Koston 53baf02087 cleanup 2025-07-06 20:30:40 -05:00
J. Nick Koston a0d2392344 cleanup 2025-07-06 20:26:43 -05:00
J. Nick Koston fb3c092eaa cleanup 2025-07-06 20:25:27 -05:00
J. Nick Koston c169cf1e77 Merge remote-tracking branch 'origin/heap_scheduler_stress_component' into heap_scheduler_stress_component 2025-07-06 20:13:48 -05:00
J. Nick Koston fa4d8e083a Merge remote-tracking branch 'origin/dev' into heap_scheduler_stress_component 2025-07-06 20:13:34 -05:00
J. Nick Koston 2cfeccfd71 cleanup locking 2025-07-06 20:13:21 -05:00
J. Nick Koston f36ca93752 Merge branch 'dev' into heap_scheduler_stress_component 2025-07-06 20:05:23 -05:00
J. Nick Koston dc8714c277 fix race 2025-07-06 19:59:11 -05:00
J. Nick Koston 90fcb5fbcd fix another race 2025-07-06 19:54:07 -05:00
J. Nick Koston 932d0a5d8b fix another race 2025-07-06 19:50:54 -05:00
J. Nick Koston 4cafa18fa4 fix another race 2025-07-06 19:46:23 -05:00
J. Nick Koston b12d7db5a7 prevent future refactoring errors 2025-07-06 19:27:33 -05:00
J. Nick Koston e84345594d Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 19:01:11 -05:00
J. Nick Koston add7bec7f2 tweak 2025-07-06 18:54:00 -05:00
J. Nick Koston db84d8e8dc tweak 2025-07-06 18:49:41 -05:00
J. Nick Koston ad51e647af tweak 2025-07-06 18:48:50 -05:00
J. Nick Koston c45901746b tweak 2025-07-06 18:46:48 -05:00
J. Nick Koston 033c469250 tweak 2025-07-06 18:44:19 -05:00
J. Nick Koston 0900fd3cea tweak 2025-07-06 18:42:47 -05:00
J. Nick Koston ba8f3d3f63 tweak 2025-07-06 18:36:05 -05:00
J. Nick Koston 2759f3828e tweak 2025-07-06 18:34:56 -05:00
J. Nick Koston f395767766 tweak 2025-07-06 18:27:49 -05:00
J. Nick Koston 2dc222aea6 tweak 2025-07-06 18:26:29 -05:00
J. Nick Koston 82d68c87e2 adjust 2025-07-06 18:24:00 -05:00
J. Nick Koston f213657753 adjust 2025-07-06 18:18:47 -05:00
J. Nick Koston e077e6cec7 adjust 2025-07-06 18:17:16 -05:00
J. Nick Koston 339a3270f6 adjust 2025-07-06 18:16:25 -05:00
J. Nick Koston 462b44ee23 adjust 2025-07-06 18:15:11 -05:00
J. Nick Koston 52d3dba89c adjust 2025-07-06 18:11:04 -05:00
J. Nick Koston 939d01dd99 preen 2025-07-06 18:08:50 -05:00
J. Nick Koston 4900f7c7ca preen 2025-07-06 18:07:34 -05:00
J. Nick Koston 48957aee8b preen 2025-07-06 18:03:53 -05:00
J. Nick Koston e355ce04f7 preen 2025-07-06 18:01:21 -05:00
J. Nick Koston 758e5b89bb preen 2025-07-06 17:53:56 -05:00
J. Nick Koston 3ffdd1d451 preen 2025-07-06 17:42:57 -05:00
J. Nick Koston 4c1b8c8b96 preen 2025-07-06 17:33:50 -05:00
J. Nick Koston 3ca956cd6a fix merge error 2025-07-06 17:27:32 -05:00
J. Nick Koston 2e24a11a1d Merge remote-tracking branch 'upstream/dev' into heap_scheduler_stress_component 2025-07-06 17:21:36 -05:00
J. Nick Koston 10a03ad538 tidy 2025-07-06 15:37:09 -05:00
J. Nick Koston 69839ec4dc Merge branch 'filter_files' into integration 2025-07-06 14:22:31 -05:00
J. Nick Koston 28a66d4bf0 preen 2025-07-06 14:18:17 -05:00
J. Nick Koston 782d894801 preen 2025-07-06 14:18:05 -05:00
J. Nick Koston 06dd731c78 preen 2025-07-06 14:10:20 -05:00
J. Nick Koston 6af74302dc missed one 2025-07-06 14:06:03 -05:00
J. Nick Koston 03380a6ecd some tests 2025-07-06 13:51:51 -05:00
J. Nick Koston 8d8db11dd9 some tests 2025-07-06 13:51:17 -05:00
J. Nick Koston 28886a896b some tests 2025-07-06 13:48:11 -05:00
J. Nick Koston 05253991c2 fixes 2025-07-06 13:42:44 -05:00
J. Nick Koston 96f0fda477 fixes 2025-07-06 13:42:18 -05:00
J. Nick Koston 023fa4d220 fixes 2025-07-06 13:37:41 -05:00
J. Nick Koston a1f63c0dfc fixes 2025-07-06 13:24:50 -05:00
J. Nick Koston ef98f42e7e tweaks 2025-07-06 13:18:24 -05:00
J. Nick Koston 737e1284af tweaks 2025-07-06 13:18:10 -05:00
J. Nick Koston 8677918157 tweaks 2025-07-06 13:16:49 -05:00
J. Nick Koston 629c891dfc Filter unused files 2025-07-06 12:12:16 -05:00
J. Nick Koston 8e8ef83780 cleanup 2025-07-06 11:05:18 -05:00
J. Nick Koston 2a15f35e9d cleanup 2025-07-06 11:04:04 -05:00
J. Nick Koston 9bfa942cf2 merge 2025-07-06 10:58:15 -05:00
J. Nick Koston b00adbddce fix race 2025-07-06 10:40:44 -05:00
J. Nick Koston a71030c4de fix race 2025-07-06 10:40:19 -05:00
J. Nick Koston 6bb32c2e61 tweaks 2025-07-06 10:12:29 -05:00
J. Nick Koston 7bc2c685e0 tweaks 2025-07-06 10:12:14 -05:00
J. Nick Koston 9205338cc8 Merge branch 'heap_scheduler_stress_component' into integration 2025-07-06 10:08:35 -05:00
J. Nick Koston 04336f7ba3 Merge branch 'dev' into heap_scheduler_stress_component 2025-07-06 10:08:03 -05:00
J. Nick Koston 6f64312d08 remove debugging 2025-07-06 10:06:45 -05:00
J. Nick Koston 79dfb86830 remove debugging 2025-07-06 10:04:17 -05:00
J. Nick Koston 453dc29540 preen 2025-07-06 10:03:28 -05:00
J. Nick Koston f4260d370c preen 2025-07-06 10:03:24 -05:00
J. Nick Koston 655f9489a8 preen 2025-07-06 10:02:58 -05:00
J. Nick Koston 4b3cc52afe preen 2025-07-06 10:02:47 -05:00
J. Nick Koston fd3f15637a lint 2025-07-06 10:01:07 -05:00
J. Nick Koston 1311e1b8b0 lint 2025-07-06 10:00:55 -05:00
J. Nick Koston 64e84872da lint 2025-07-06 10:00:35 -05:00
J. Nick Koston bc7379030e lint 2025-07-06 10:00:25 -05:00
J. Nick Koston ecfb6dc8ed lint 2025-07-06 10:00:17 -05:00
J. Nick Koston 75d67af932 Add heap scheduler tests 2025-07-06 09:55:14 -05:00
J. Nick Koston 845dad6ee7 Merge branch 'idf_webserver_guard' into integration 2025-07-05 23:48:48 -05:00
J. Nick Koston e2e86da64b make bot happy 2025-07-05 23:48:37 -05:00
J. Nick Koston 90ec63589f Merge branch 'core_ram' into integration 2025-07-05 23:40:51 -05:00
J. Nick Koston ea308eaaa2 add comments to explain why its safe and the bot is wrong 2025-07-05 23:39:25 -05:00
J. Nick Koston 87f1fac2bf nolint 2025-07-05 23:28:39 -05:00
J. Nick Koston c23651527f Merge branch 'bluetooth_proxy_guard_var' into integration 2025-07-05 23:02:44 -05:00
J. Nick Koston 2cc263a707 lint 2025-07-05 23:01:49 -05:00
J. Nick Koston fb336718de Merge branch 'core_ram' into integration 2025-07-05 23:00:30 -05:00
J. Nick Koston e2e35bf965 simplify 2025-07-05 22:58:27 -05:00
J. Nick Koston bdd25c7268 Merge branch 'idf_webserver_guard' into integration 2025-07-05 22:26:54 -05:00
J. Nick Koston 82c788d6ce Eliminate web_server_idf guard variable to save 8 bytes RAM 2025-07-05 22:24:26 -05:00
J. Nick Koston 5167184cc7 merge 2025-07-05 22:18:20 -05:00
J. Nick Koston a5d1b11204 Merge branch 'bluetooth_proxy_guard_var' into integration 2025-07-05 22:17:32 -05:00
J. Nick Koston dc8f2fd37e Eliminate bluetooth_proxy guard variable to save 8 bytes RAM 2025-07-05 22:15:45 -05:00
J. Nick Koston 7c85886ce8 Merge branch 'api_guard_var' into integration 2025-07-05 21:59:47 -05:00
J. Nick Koston 12f172436d Eliminate API component guard variable to save 8 bytes RAM 2025-07-05 21:59:08 -05:00
J. Nick Koston e69ac0478e Merge branch 'core_ram' into integration 2025-07-05 21:38:49 -05:00
J. Nick Koston a45743c2b7 Reduce core RAM usage by 40 bytes with static initialization optimizations 2025-07-05 21:35:32 -05:00
J. Nick Koston ebe1531927 Merge branch 'color_memory' into integration 2025-07-05 21:24:23 -05:00
J. Nick Koston a88a059c6a Reduce RAM usage by optimizing Color constant storage 2025-07-05 21:21:43 -05:00
J. Nick Koston d314cbb0d5 Merge branch 'icon_opt_pay_as_you_go' into integration 2025-07-05 17:44:05 -05:00
J. Nick Koston 4d75758eb2 tests 2025-07-05 17:39:02 -05:00
J. Nick Koston 0eecc29039 Merge branch 'icon_opt_pay_as_you_go' into integration 2025-07-05 17:38:13 -05:00
J. Nick Koston 294fb67410 Optimize entity icon memory usage with USE_ENTITY_ICON flag 2025-07-05 17:36:51 -05:00
J. Nick Koston 2f1f098b47 revert 2025-07-05 16:55:15 -05:00
J. Nick Koston 77be414261 Merge branch 'deep_sleep_loop' into integration 2025-07-05 16:12:06 -05:00
J. Nick Koston c34fc3c4c7 simplify 2025-07-05 16:07:43 -05:00
J. Nick Koston 8aac2f525e simplify 2025-07-05 16:01:59 -05:00
J. Nick Koston f85dcdca4e unreachable 2025-07-05 15:57:21 -05:00
J. Nick Koston e7a1ef7aa1 Merge branch 'deep_sleep_loop' into integration 2025-07-05 15:54:13 -05:00
J. Nick Koston 7c2d2ef5a3 deep_sleep: Replace polling loop with event-driven state machine 2025-07-05 15:53:12 -05:00
J. Nick Koston 1449001747 Merge branch 'ld2450_cpu_drain_spam' into integration 2025-07-05 15:07:58 -05:00
J. Nick Koston f245c74520 fix byte ordering 2025-07-05 15:01:02 -05:00
J. Nick Koston da1658e4f9 Merge branch 'ld2450_cpu_drain_spam' into integration 2025-07-05 14:50:51 -05:00
J. Nick Koston 80f9352a79 Merge branch 'light_ram' into integration 2025-07-05 14:50:47 -05:00
J. Nick Koston 9ded501402 clang-tidy 2025-07-05 14:50:17 -05:00
J. Nick Koston 3d6a1811c5 comments 2025-07-05 14:28:26 -05:00
J. Nick Koston a5ee047efb Fix LD2450 excessive CPU usage and redundant sensor updates 2025-07-05 14:25:56 -05:00
J. Nick Koston fb0090dcdc Merge branch 'light_ram' into integration 2025-07-05 13:53:20 -05:00
J. Nick Koston 294bd4d042 tweaks 2025-07-05 13:44:42 -05:00
J. Nick Koston e99b8d2daf tweaks 2025-07-05 13:41:09 -05:00
J. Nick Koston 6dbdeeb59b tidy 2025-07-05 13:18:45 -05:00
J. Nick Koston 82fd62e9dd comments 2025-07-05 13:00:48 -05:00
J. Nick Koston 70f935d323 fixed a few missed ones 2025-07-05 12:39:05 -05:00
J. Nick Koston 0f3e6cccd9 Reduce light component memory usage by 50+ bytes per instance 2025-07-05 12:33:54 -05:00
J. Nick Koston 6ff323c56d Merge branch 'busy_disconnect_loop' into integration 2025-07-05 11:12:06 -05:00
J. Nick Koston 096ec79ef9 Fix bluetooth proxy busy loop when disconnecting pending BLE connections 2025-07-05 11:11:36 -05:00
J. Nick Koston bf5ba65558 Merge branch 'ble_align' into integration 2025-07-05 09:05:20 -05:00
J. Nick Koston 62088dfaed Split LockFreeQueue into base and notifying variants to reduce memory usage 2025-07-05 09:02:33 -05:00
J. Nick Koston dfcc3206f7 Split LockFreeQueue into base and notifying variants to reduce memory usage 2025-07-05 08:59:19 -05:00
J. Nick Koston e173b7f0c2 Split LockFreeQueue into base and notifying variants to reduce memory usage 2025-07-05 08:58:41 -05:00
J. Nick Koston f98e28a8a2 Split LockFreeQueue into base and notifying variants to reduce memory usage 2025-07-05 08:57:04 -05:00
J. Nick Koston f63557f2e7 notes to the future 2025-07-05 07:34:46 -05:00
J. Nick Koston a353598961 Merge branch 'ble_batching' into integration 2025-07-05 07:24:07 -05:00
J. Nick Koston bc33b44648 Optimize Bluetooth proxy batching and increase scan buffer capacity 2025-07-05 07:23:31 -05:00
J. Nick Koston 1579779967 Merge branch 'defer_const' into integration 2025-07-04 20:54:41 -05:00
J. Nick Koston cc6ea4cd14 cover 2025-07-04 20:51:50 -05:00
J. Nick Koston 303a8ff87a Merge branch 'defer_const' into integration 2025-07-04 20:33:07 -05:00
J. Nick Koston 7d3a11a735 Add const char overload for Component::defer() 2025-07-04 20:30:04 -05:00
J. Nick Koston 94b6344820 Merge branch 'reduce_main_loop' into integration 2025-07-04 13:56:19 -05:00
J. Nick Koston 40307c079c Merge remote-tracking branch 'origin/reduce_main_loop' into reduce_main_loop 2025-07-04 13:54:41 -05:00
J. Nick Koston debef6fde4 address review comments 2025-07-04 13:54:07 -05:00
J. Nick Koston 0cda83d29c Update scheduler.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-04 13:46:39 -05:00
J. Nick Koston 32729c7ca7 Merge branch 'reduce_main_loop' into integration 2025-07-04 12:59:23 -05:00
J. Nick Koston b7fca5488a lol 2025-07-04 12:59:11 -05:00
J. Nick Koston 9c22772758 fix scope issue 2025-07-04 11:40:11 -05:00
J. Nick Koston 1e72f07fdf Merge branch 'reduce_main_loop' into integration 2025-07-04 11:29:12 -05:00
J. Nick Koston a592e96709 preen 2025-07-04 11:29:01 -05:00
J. Nick Koston 3980339868 Merge branch 'reduce_main_loop' into integration 2025-07-04 11:26:45 -05:00
J. Nick Koston afa66c17bd preen 2025-07-04 11:26:33 -05:00
J. Nick Koston be2988b1d7 Merge branch 'reduce_main_loop' into integration 2025-07-04 11:24:46 -05:00
J. Nick Koston cf647f0c36 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-04 11:24:40 -05:00
J. Nick Koston 385ed4ca0c Merge remote-tracking branch 'upstream/reduce_main_loop' into reduce_main_loop 2025-07-04 11:23:44 -05:00
J. Nick Koston 9188a8e326 preen 2025-07-04 11:23:33 -05:00
J. Nick Koston 0efb6d55c8 Merge branch 'dev' into reduce_main_loop 2025-07-04 11:20:27 -05:00
J. Nick Koston f748047b7b Merge branch 'reduce_main_loop' into integration 2025-07-04 11:18:55 -05:00
J. Nick Koston 49bc767bf4 cleanup 2025-07-04 11:13:08 -05:00
J. Nick Koston e12cc9a9a7 cleanup 2025-07-04 11:12:54 -05:00
J. Nick Koston 8e4470cdff Merge branch 'reduce_main_loop' into integration 2025-07-04 11:02:07 -05:00
J. Nick Koston bdb7e19fd0 guard esp8266 2025-07-04 10:59:58 -05:00
J. Nick Koston 0fc3f0e162 guard esp8266 2025-07-04 10:57:39 -05:00
J. Nick Koston 6fac66e63b Merge branch 'reduce_main_loop' into integration 2025-07-04 10:46:38 -05:00
J. Nick Koston 71e06ea1b6 cleanup 2025-07-04 10:45:47 -05:00
J. Nick Koston 3df434fd55 improve test 2025-07-04 10:41:59 -05:00
J. Nick Koston 729b2b2873 remove debug 2025-07-04 10:35:29 -05:00
J. Nick Koston bc2adb6b5a there was no locking on host! 2025-07-04 10:25:31 -05:00
J. Nick Koston aaff086aeb there was no locking on host! 2025-07-04 10:24:04 -05:00
J. Nick Koston e4c0f18ee3 fixes 2025-07-04 10:17:41 -05:00
J. Nick Koston 9c09a271f2 tweaks 2025-07-04 10:14:54 -05:00
J. Nick Koston 37578f3e22 fixes 2025-07-04 10:11:19 -05:00
J. Nick Koston 4649599592 fixes 2025-07-04 10:01:00 -05:00
J. Nick Koston 71f78e3a81 fixes 2025-07-04 10:00:25 -05:00
J. Nick Koston f7ca26eef8 stress 2025-07-04 08:59:15 -05:00
J. Nick Koston 0665fcea9e stress test 2025-07-04 08:49:35 -05:00
J. Nick Koston cd2b50c27f stress test 2025-07-04 08:49:12 -05:00
J. Nick Koston ca70f17b3b make test race safe 2025-07-04 08:33:34 -05:00
J. Nick Koston a5e08aaf74 make test race safe 2025-07-04 08:33:24 -05:00
J. Nick Koston 947db4605a Merge branch 'reduce_main_loop' into integration 2025-07-04 08:16:18 -05:00
J. Nick Koston 481a00a0b5 Merge remote-tracking branch 'upstream/dev' into integration 2025-07-04 08:16:16 -05:00
J. Nick Koston 465019e510 cover 2025-07-04 08:04:16 -05:00
J. Nick Koston a4d5f39fb6 cover 2025-07-04 07:59:12 -05:00
J. Nick Koston 5dd76966c3 cover 2025-07-04 07:55:01 -05:00
J. Nick Koston db86f87fc3 Make defer FIFO 2025-07-04 07:42:59 -05:00
J. Nick Koston e21334b7fa Make defer FIFO 2025-07-04 07:42:37 -05:00
J. Nick Koston ba4c268956 Make defer FIFO 2025-07-04 07:35:24 -05:00
J. Nick Koston 068594be5e Make defer FIFO 2025-07-04 07:29:37 -05:00
J. Nick Koston 0fd45fc86e fix 2025-07-03 20:15:45 -05:00
J. Nick Koston 257fb98113 Merge branch 'api_cleanup' into integration 2025-07-03 20:05:59 -05:00
J. Nick Koston f8922b3cca Use std::span to eliminate heap allocation for single-packet API transmissions 2025-07-03 20:01:28 -05:00
J. Nick Koston b0b08f317b Merge remote-tracking branch 'origin/dev' into integration 2025-07-03 17:47:02 -05:00
Jonathan Swoboda a8e4ed009b Bump arduino version to 3.2.1 2025-07-03 16:49:22 -04:00
J. Nick Koston 2c4667fb46 Merge branch 'camera-platform' into integration 2025-07-03 15:14:49 -05:00
J. Nick Koston 9eadfa21d8 Merge branch 'webserver_busy_loop_dropped_connection' into integration 2025-07-03 14:45:38 -05:00
J. Nick Koston 953fd24458 Fix web_server busy loop with ungracefully disconnected clients 2025-07-03 14:43:11 -05:00
J. Nick Koston 1be171e084 Merge remote-tracking branch 'origin/webserver_string_lifetime' into integration 2025-07-03 14:06:25 -05:00
J. Nick Koston 5c83b99e0c do not need to rename as we changed design to not need it 2025-07-03 14:06:07 -05:00
J. Nick Koston 743e611735 Merge remote-tracking branch 'origin/webserver_string_lifetime' into integration 2025-07-03 13:59:22 -05:00
J. Nick Koston 35ff850894 make sure its bug for bug compat 2025-07-03 13:56:29 -05:00
Dieter Tschanz b666295b53 Replace Windows-style with Unix-style directory separators in test 2025-07-03 20:53:00 +02:00
J. Nick Koston 96cf8d97ab Merge remote-tracking branch 'upstream/webserver_string_lifetime' into integration 2025-07-03 13:52:04 -05:00
J. Nick Koston 3c1a781a1c cleanups 2025-07-03 13:51:01 -05:00
J. Nick Koston 00bd1b0a02 cleanups 2025-07-03 13:49:22 -05:00
J. Nick Koston b8482da421 fix defines 2025-07-03 13:38:23 -05:00
J. Nick Koston 756ece9ff3 Merge branch 'dev' into camera-platform 2025-07-03 13:37:54 -05:00
J. Nick Koston 4bb016fec3 Merge branch 'webserver_lock_churn' into integration 2025-07-03 13:35:15 -05:00
J. Nick Koston 32f0322dec Merge branch 'webserver_string_lifetime' into integration 2025-07-03 13:35:10 -05:00
J. Nick Koston 1a1c13b722 Fix web_server URL parsing lifetime issue 2025-07-03 13:27:02 -05:00
Dieter Tschanz 139453822b Add compile-time test to verify Camera interface implementation. 2025-07-03 20:26:10 +02:00
J. Nick Koston 7a33994666 Reduce web_server loop overhead on ESP32 by avoiding unnecessary semaphore operations 2025-07-03 12:50:59 -05:00
J. Nick Koston f381d9011b Merge remote-tracking branch 'upstream/dev' into integration 2025-07-03 12:18:06 -05:00
J. Nick Koston 96352f047d Merge branch 'device_id_state' into integration 2025-07-03 12:17:48 -05:00
J. Nick Koston 5e7a1fea8c Add device_id to entity state messages for sub-device support 2025-07-03 10:21:12 -05:00
Jonathan Swoboda baaafb7fcb Bump ESP-IDF to 5.4.2 2025-07-03 11:13:45 -04:00
J. Nick Koston 64eb70444d Merge branch 'dev' into camera-platform 2025-07-02 19:52:06 -05:00
J. Nick Koston 0f39b1c49a merge 2025-07-02 14:06:59 -05:00
J. Nick Koston e2d6363c68 merge 2025-07-02 14:06:32 -05:00
J. Nick Koston cdeef700c2 Merge branch 'password_api' into integration 2025-07-02 14:05:12 -05:00
J. Nick Koston 86fd702841 Save flash and RAM by conditionally compiling unused API password code 2025-07-02 13:56:41 -05:00
J. Nick Koston b1553807f7 wip 2025-07-02 09:14:26 -05:00
J. Nick Koston 797d4929ab wip 2025-07-02 09:05:28 -05:00
J. Nick Koston ba5bb9dfa7 wip 2025-07-02 09:02:06 -05:00
J. Nick Koston dd49d832c4 wip 2025-07-02 08:56:13 -05:00
J. Nick Koston 5004f44f65 wip 2025-07-02 08:42:17 -05:00
J. Nick Koston bc9c4a8b8e wip 2025-07-02 08:35:42 -05:00
J. Nick Koston 6f05ee7427 wip 2025-07-02 08:25:41 -05:00
J. Nick Koston f3523a96c9 wip 2025-07-02 08:24:15 -05:00
J. Nick Koston 06957d9895 wip 2025-07-02 08:21:36 -05:00
J. Nick Koston 1f361b07d1 wip 2025-07-02 08:16:35 -05:00
J. Nick Koston 40d9c0a3db wip 2025-07-02 07:58:35 -05:00
J. Nick Koston 548cd39496 wip 2025-07-02 07:51:04 -05:00
J. Nick Koston 85049611c3 wip 2025-07-02 07:48:55 -05:00
J. Nick Koston b8a75bc925 analyze_memory 2025-07-02 07:30:17 -05:00
J. Nick Koston 6c62d4a923 Merge branch 'fix_bytes_encoding' into integration 2025-07-01 22:44:43 -05:00
J. Nick Koston 6e42d009fb Fix bytes field encoding in protobuf code generator 2025-07-01 20:26:34 -05:00
J. Nick Koston 7d7769ea5d Merge branch 'component_memory' into integration 2025-07-01 14:11:58 -05:00
J. Nick Koston 3908677fe2 Merge branch 'ota_base_extract' into integration 2025-07-01 14:09:51 -05:00
J. Nick Koston 9799a2b636 test 2025-07-01 13:47:59 -05:00
Dieter Tschanz 55c8129423 Correction for failed component test. 2025-07-01 20:44:11 +02:00
J. Nick Koston 099474053e cleanuip 2025-07-01 13:38:47 -05:00
J. Nick Koston efafabed97 fix rp2040 2025-07-01 13:23:24 -05:00
Dieter Tschanz d209739f85 Introduce base Camera class to support alternative camera implementations
This commit introduces a new 'Camera' base class positioned between the
API layer and the existing 'ESP32Camera' implementation.
- No changes to functionality in 'ESP32Camera' or
'ESP32CameraWebServer'.
- This refactoring enables future camera implementations to integrate
with the existing API.
- The goal is to keep the commit as minimal and non-breaking as
possible.

This is the first step in a series of changes aimed at modernizing and
generalizing ESPHome's camera support.
2025-07-01 19:47:50 +02:00
J. Nick Koston d463dd0f57 Merge branch 'bk7200_tagged_pointer_fix' into integration 2025-07-01 11:57:11 -05:00
J. Nick Koston c33c14a46f tidy 2025-07-01 11:57:02 -05:00
J. Nick Koston 2d0c109dc1 Merge remote-tracking branch 'origin/dev' into ota_base_extract 2025-07-01 11:50:49 -05:00
J. Nick Koston 825d0bed88 fix esp8266 error handling 2025-07-01 11:29:38 -05:00
J. Nick Koston cd1390916c md5 fixes 2025-07-01 11:09:08 -05:00
J. Nick Koston 149bdaf146 fixes 2025-07-01 10:50:17 -05:00
J. Nick Koston ad628c9cba single ota path 2025-07-01 10:36:36 -05:00
J. Nick Koston b88f87799e single ota path 2025-07-01 10:30:52 -05:00
J. Nick Koston 1ff7cf1125 single ota path 2025-07-01 10:28:48 -05:00
J. Nick Koston 31db6e51eb single ota path 2025-07-01 10:27:46 -05:00
J. Nick Koston 681d9236f9 single ota path 2025-07-01 10:26:55 -05:00
J. Nick Koston 8aa8af735d single ota path 2025-07-01 10:25:48 -05:00
J. Nick Koston 943d0f103d single ota path 2025-07-01 10:17:28 -05:00
J. Nick Koston 8b195d7f63 use ota backend 2025-07-01 10:11:41 -05:00
J. Nick Koston 649ad47e62 web_server_ support for ota backend idf 2025-07-01 10:05:23 -05:00
J. Nick Koston 93dc5765bb Merge upstream/dev into ota_base_extract 2025-07-01 09:57:09 -05:00
J. Nick Koston b000b1b70c Fix regression: BK7231N devices not returning entities via API 2025-07-01 09:43:50 -05:00
J. Nick Koston 8707b6e01a lint 2025-07-01 07:31:45 -05:00
J. Nick Koston 34abd67f3e Merge branch 'component_memory' into integration 2025-06-30 21:21:07 -05:00
J. Nick Koston 45f1db9233 address review comments 2025-06-30 21:20:58 -05:00
J. Nick Koston beb4d1511a Merge branch 'component_memory' into integration 2025-06-30 21:18:06 -05:00
J. Nick Koston adeceee71f Reduce Component memory usage by 40% (8 bytes per component) 2025-06-30 21:15:20 -05:00
J. Nick Koston 7d4b11d112 Reduce Component memory usage by 40% (8 bytes per component) 2025-06-30 21:11:49 -05:00
J. Nick Koston 6733cd4ed1 Merge branch 'entity_name_must_be_unique' into integration 2025-06-30 18:31:40 -05:00
J. Nick Koston 07f361a404 empty name uses device name, use get_base_entity_object_id 2025-06-30 18:26:09 -05:00
J. Nick Koston ae981ea7f2 Merge branch 'entity_name_must_be_unique' into integration 2025-06-30 17:48:49 -05:00
J. Nick Koston b7d0f5e36b Fix entity hash collisions by enforcing unique names across devices per platform 2025-06-30 17:38:04 -05:00
J. Nick Koston 3cbce4df42 Merge branch 'esp32_touch_isr' into integration 2025-06-30 14:38:54 -05:00
J. Nick Koston 7e77e40bda cleanup 2025-06-30 14:37:30 -05:00
J. Nick Koston 305805256d dry 2025-06-30 14:34:07 -05:00
J. Nick Koston e36c669dc0 dry 2025-06-30 14:32:13 -05:00
J. Nick Koston 71aff9bc60 dry 2025-06-30 14:30:07 -05:00
J. Nick Koston 36d11c969f dry 2025-06-30 14:29:57 -05:00
J. Nick Koston f76ce5d3bb dry 2025-06-30 14:28:31 -05:00
J. Nick Koston 0df454481e safer 2025-06-30 14:15:26 -05:00
J. Nick Koston 83c1a30cfb Merge branch 'esp32_touch_isr' into integration 2025-06-30 13:46:54 -05:00
J. Nick Koston 6cbd1479c6 loop 2025-06-30 13:46:47 -05:00
J. Nick Koston 3e6e438920 Merge remote-tracking branch 'upstream/dev' into esp32_touch_isr 2025-06-30 13:43:18 -05:00
J. Nick Koston 560886eb90 clenaup 2025-06-30 13:32:59 -05:00
J. Nick Koston 340bb5cef6 clenaup 2025-06-30 13:31:55 -05:00
J. Nick Koston 44a7c1d4a5 cleanup 2025-06-30 13:14:55 -05:00
J. Nick Koston 519c49f175 Revert "fix"
This reverts commit c96ffefa42.
2025-06-30 13:11:27 -05:00
J. Nick Koston c96ffefa42 fix 2025-06-30 13:02:26 -05:00
J. Nick Koston 490ca8ad5a relo 2025-06-30 12:53:41 -05:00
J. Nick Koston e385f87d6c move more 2025-06-30 12:46:47 -05:00
J. Nick Koston 58de53123a move more 2025-06-30 12:41:55 -05:00
J. Nick Koston 4f365c1716 todo 2025-06-30 12:11:37 -05:00
J. Nick Koston 981177da23 todo 2025-06-30 12:09:07 -05:00
J. Nick Koston 088bea9ccd split 2025-06-30 10:50:26 -05:00
J. Nick Koston 36350f179e split 2025-06-30 10:49:59 -05:00
J. Nick Koston 902f08c1bc Extract OTA backend functionality into separate ota_base component 2025-06-30 10:38:31 -05:00
J. Nick Koston 47ad206ccd Extract OTA backend functionality into separate ota_base component 2025-06-30 10:35:19 -05:00
J. Nick Koston 9f51546023 Extract OTA backend functionality into separate ota_base component 2025-06-30 10:33:43 -05:00
J. Nick Koston f6d679f056 Merge branch 'idf_webserver_ota' into integration 2025-06-30 10:04:39 -05:00
J. Nick Koston 93c45e88e7 revert ota backend changes 2025-06-30 10:04:23 -05:00
J. Nick Koston da189da9ae Merge branch 'idf_webserver_ota' into integration 2025-06-30 09:56:30 -05:00
J. Nick Koston c40a33cb48 revert ota backend changes 2025-06-30 09:56:20 -05:00
J. Nick Koston 9846beee7d revert ota backend changes 2025-06-30 09:55:02 -05:00
J. Nick Koston 81685f9132 Merge branch 'idf_webserver_ota' into integration 2025-06-30 09:50:56 -05:00
J. Nick Koston 14123d25c2 fixes 2025-06-30 09:50:46 -05:00
J. Nick Koston 928819ffbd fixes 2025-06-30 09:49:59 -05:00
J. Nick Koston 7f2f9636f5 make sure ota still works without ota loaded 2025-06-30 09:46:33 -05:00
J. Nick Koston b49fe146ad make sure ota still works without ota loaded 2025-06-30 09:44:20 -05:00
J. Nick Koston 98bbd4136b Merge branch 'idf_webserver_ota' into integration 2025-06-30 09:24:05 -05:00
J. Nick Koston d8d02f71ba cleanup 2025-06-30 09:23:57 -05:00
J. Nick Koston 26980df2b9 Merge branch 'idf_webserver_ota' into integration 2025-06-30 08:25:08 -05:00
J. Nick Koston ffe39473d0 fixes 2025-06-30 08:18:34 -05:00
J. Nick Koston 6af8d152ee fixes 2025-06-30 08:18:18 -05:00
J. Nick Koston de846a8f7a Merge branch 'idf_webserver_ota' into integration 2025-06-30 07:54:26 -05:00
J. Nick Koston 8e31316e3d Merge remote-tracking branch 'upstream/dev' into idf_webserver_ota 2025-06-30 07:51:22 -05:00
J. Nick Koston fb6edb3243 fixes 2025-06-30 07:51:11 -05:00
J. Nick Koston 244bd9256f tidy 2025-06-30 06:55:08 -05:00
J. Nick Koston 1f61fd383c Merge branch 'dev' into esp32_touch_isr 2025-06-30 01:06:49 -05:00
J. Nick Koston ce294ce0c1 Merge branch 'idf_webserver_ota' into integration 2025-06-30 01:01:29 -05:00
J. Nick Koston dcbdc0ac51 Merge branch 'dev' into esp32_touch_isr 2025-06-30 00:59:07 -05:00
J. Nick Koston daea06586d Merge branch 'update_libsodium' into integration 2025-06-30 00:54:49 -05:00
J. Nick Koston 9c8bf2587b Merge remote-tracking branch 'origin/update_libsodium' into update_libsodium 2025-06-30 00:50:31 -05:00
J. Nick Koston 9871cb04ea 0.1.10 2025-06-30 00:50:18 -05:00
J. Nick Koston 7dc093815f reduce 2025-06-29 23:40:09 -05:00
J. Nick Koston 087697106c remove debug 2025-06-29 23:32:59 -05:00
J. Nick Koston 9beebc7bfe Merge branch 'dev' into idf_webserver_ota 2025-06-29 23:22:34 -05:00
J. Nick Koston 4a948b7aae Merge branch 'dev' into update_libsodium 2025-06-29 23:20:30 -05:00
J. Nick Koston 0d3bc21e97 Merge branch 'dev' from upstream
Resolved conflicts in:
- esphome/components/api/list_entities.h
- esphome/components/api/subscribe_state.h

Both conflicts were about NOLINT comment style - chose upstream's inline comment format.
2025-06-29 23:18:41 -05:00
J. Nick Koston 7496894ae6 0.1.9 2025-06-29 23:16:20 -05:00
J. Nick Koston 918d7217a9 fix 2025-06-29 23:15:28 -05:00
J. Nick Koston 2103d583f9 bump to 0.1.8 2025-06-29 23:12:48 -05:00
J. Nick Koston 837c446926 Merge branch 'dev' from upstream 2025-06-29 23:10:20 -05:00
J. Nick Koston 480ea54ee0 Merge branch 'dev' into update_libsodium 2025-06-29 22:49:46 -05:00
J. Nick Koston 97e7c34cb6 Merge branch 'dev' into idf_webserver_ota 2025-06-29 22:41:30 -05:00
J. Nick Koston fe65b149f5 tweak 2025-06-29 22:34:42 -05:00
J. Nick Koston 4106b97174 tweak 2025-06-29 22:31:47 -05:00
J. Nick Koston 8648954b94 tweak 2025-06-29 22:29:40 -05:00
J. Nick Koston 9f1fae0955 tweak 2025-06-29 22:27:36 -05:00
Jesse Hills 1d631c3c6d Update platformio.ini 2025-06-30 15:26:14 +12:00
J. Nick Koston 727161f1db tweak 2025-06-29 22:24:28 -05:00
Jesse Hills bf5f628769 Update esphome/components/api/__init__.py 2025-06-30 15:23:40 +12:00
J. Nick Koston 8563a5785f tweak 2025-06-29 22:19:29 -05:00
J. Nick Koston 4082634e6d tweak 2025-06-29 22:14:15 -05:00
J. Nick Koston a74adb5865 tweak 2025-06-29 22:13:56 -05:00
J. Nick Koston 2e4d7301f2 tweak 2025-06-29 22:12:36 -05:00
J. Nick Koston 94845222ad tweak 2025-06-29 22:12:20 -05:00
J. Nick Koston 7f6ac2deee tweak 2025-06-29 22:10:50 -05:00
J. Nick Koston a054aa9c52 clean 2025-06-29 21:57:50 -05:00
J. Nick Koston 22cb59b88c clean 2025-06-29 21:55:13 -05:00
J. Nick Koston 6968772a31 preen 2025-06-29 21:48:35 -05:00
J. Nick Koston 004f4b51d1 preen 2025-06-29 21:41:57 -05:00
J. Nick Koston 8c8dd7b4bc preen 2025-06-29 21:40:20 -05:00
J. Nick Koston 9778289d33 revert 2025-06-29 21:36:25 -05:00
J. Nick Koston a43caf08a6 cleanup 2025-06-29 21:31:54 -05:00
J. Nick Koston 01e550fac9 cleanup 2025-06-29 21:13:05 -05:00
J. Nick Koston ad4dd6a060 cleanup 2025-06-29 21:07:39 -05:00
J. Nick Koston 849d99b0dc cleanup 2025-06-29 21:06:04 -05:00
J. Nick Koston f5df5f71a3 cleanup 2025-06-29 21:04:45 -05:00
J. Nick Koston 429be0a5ae cleanup 2025-06-29 21:03:13 -05:00
J. Nick Koston 148e4ec555 cleanup 2025-06-29 20:59:51 -05:00
J. Nick Koston bb22f4d6a3 cleanup 2025-06-29 20:54:36 -05:00
J. Nick Koston f94703360b cleanup 2025-06-29 20:54:13 -05:00
J. Nick Koston f26bec1a5a preen 2025-06-29 20:18:32 -05:00
J. Nick Koston d065f4ae62 cleanup 2025-06-29 20:15:18 -05:00
J. Nick Koston ed2c3e626b cleanup 2025-06-29 19:53:29 -05:00
J. Nick Koston 1927f92358 cleanup 2025-06-29 19:49:01 -05:00
J. Nick Koston 939144174c cleanup 2025-06-29 19:32:43 -05:00
J. Nick Koston 59bcbe7fef proper state machine 2025-06-29 19:31:01 -05:00
J. Nick Koston 8e00fedc67 rwatchdog 2025-06-29 19:24:40 -05:00
J. Nick Koston 0ac879ae0b remove 2025-06-29 19:22:13 -05:00
J. Nick Koston 22d1a18d22 Merge remote-tracking branch 'upstream/dev' into idf_webserver_ota 2025-06-29 19:19:32 -05:00
J. Nick Koston ca203bff9b cleanup 2025-06-29 19:18:33 -05:00
J. Nick Koston e01d16ce82 cleanup 2025-06-29 19:07:47 -05:00
J. Nick Koston 93b6b9835c cleanup 2025-06-29 19:04:54 -05:00
J. Nick Koston d0ac5388d9 cleanup 2025-06-29 19:03:54 -05:00
J. Nick Koston 9097d646ca cleanup 2025-06-29 19:03:48 -05:00
J. Nick Koston 596a28e1fb cleanup 2025-06-29 19:00:07 -05:00
J. Nick Koston 5205ff5c43 cleanup 2025-06-29 18:59:09 -05:00
J. Nick Koston c420bf5f4f cleanup 2025-06-29 18:55:46 -05:00
J. Nick Koston 18844e15dc cleanup 2025-06-29 18:54:48 -05:00
J. Nick Koston af2f5b7348 cleanup 2025-06-29 18:54:14 -05:00
J. Nick Koston bcbf0f0e26 cleanup 2025-06-29 18:53:43 -05:00
J. Nick Koston 4d460d4bc3 cleanup 2025-06-29 18:51:35 -05:00
J. Nick Koston 92f6f3ac0d cleanup 2025-06-29 18:48:30 -05:00
J. Nick Koston bc63d246c8 cleanup 2025-06-29 18:46:15 -05:00
J. Nick Koston b25f272d72 lint 2025-06-29 18:44:14 -05:00
J. Nick Koston e3a3305adb delete 2025-06-29 18:44:02 -05:00
J. Nick Koston c655c4e106 remove cruft 2025-06-29 18:39:17 -05:00
J. Nick Koston 7fe8cdaa34 remove cruft 2025-06-29 18:37:48 -05:00
J. Nick Koston df97985048 Merge remote-tracking branch 'origin/integration' into integration 2025-06-29 18:33:46 -05:00
J. Nick Koston 3779675816 Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-29 18:33:34 -05:00
J. Nick Koston 0005aad5b5 cleanup 2025-06-29 18:30:00 -05:00
J. Nick Koston 98c18517e2 Merge branch 'another_webserver_crash' into idf_webserver_ota 2025-06-29 18:23:25 -05:00
J. Nick Koston e4dee935ce Fix thread-safe cleanup of event source connections in ESP-IDF web server 2025-06-29 18:21:24 -05:00
J. Nick Koston f8cb44fb3c fixes 2025-06-29 17:54:11 -05:00
J. Nick Koston 101901fdb8 Merge remote-tracking branch 'upstream/loop_enable_disable_log_spam' into idf_webserver_ota 2025-06-29 17:41:04 -05:00
J. Nick Koston b8579d2040 Reduce loop enable/disable log spam by using very verbose level 2025-06-29 17:39:48 -05:00
J. Nick Koston 3fca3df756 working 2025-06-29 17:22:33 -05:00
J. Nick Koston 2f5db85997 Merge remote-tracking branch 'upstream/last_Event_fix' into idf_webserver_ota 2025-06-29 16:54:00 -05:00
Jesse Hills e0d4361875 Update esphome/components/gpio/binary_sensor/__init__.py 2025-06-30 09:53:54 +12:00
J. Nick Koston 30bafc43bd make bot happy 2025-06-29 16:52:55 -05:00
J. Nick Koston 3530437b48 Merge branch 'last_Event_fix' into idf_webserver_ota 2025-06-29 16:19:20 -05:00
J. Nick Koston 81db42942c Fix crash when event last_event_type is null in web_server 2025-06-29 16:16:53 -05:00
J. Nick Koston 6cb0d9e0b5 fixes 2025-06-29 16:11:33 -05:00
J. Nick Koston 19f7e36753 fixes 2025-06-29 16:10:58 -05:00
J. Nick Koston a963f97520 fixes 2025-06-29 16:07:26 -05:00
J. Nick Koston ad2d48e9b7 fixes 2025-06-29 16:03:05 -05:00
J. Nick Koston 5c0d67ca14 fixes 2025-06-29 15:50:12 -05:00
J. Nick Koston 3467329a7c cleanup 2025-06-29 15:43:41 -05:00
J. Nick Koston d73fa370f3 cleanup 2025-06-29 15:35:59 -05:00
J. Nick Koston 78fd0a4870 cleanup 2025-06-29 15:23:32 -05:00
J. Nick Koston 3162bb475d cleanup 2025-06-29 15:08:27 -05:00
J. Nick Koston c17503abd5 cleanup 2025-06-29 15:03:48 -05:00
J. Nick Koston 3433ee8171 cleanup 2025-06-29 14:59:41 -05:00
J. Nick Koston 344297b0a7 cleanup 2025-06-29 14:51:24 -05:00
J. Nick Koston 947456628e cleanup 2025-06-29 14:51:01 -05:00
J. Nick Koston 80dd6c111d cleanup 2025-06-29 14:44:47 -05:00
J. Nick Koston b70188ba4b cleanup 2025-06-29 14:40:13 -05:00
J. Nick Koston c6064aa2b4 Merge remote-tracking branch 'upstream/dev' into idf_webserver_ota 2025-06-29 14:35:44 -05:00
J. Nick Koston 6596f864be merg3 2025-06-29 14:35:38 -05:00
J. Nick Koston f61a40efb8 fixes 2025-06-29 11:16:00 -05:00
J. Nick Koston b049f0b480 fixes 2025-06-29 11:13:25 -05:00
J. Nick Koston b2641d29c1 fixes 2025-06-29 11:12:40 -05:00
J. Nick Koston 7b8cfc768d fixes 2025-06-29 11:11:47 -05:00
J. Nick Koston 04860567f7 fixes 2025-06-29 11:10:29 -05:00
J. Nick Koston b16edb5a99 fixes 2025-06-29 11:09:05 -05:00
J. Nick Koston 15a995b2e7 fixes 2025-06-29 11:07:48 -05:00
J. Nick Koston f57e26c54e fixes 2025-06-29 11:07:25 -05:00
J. Nick Koston 2b7bc1cd9f fixes 2025-06-29 11:03:37 -05:00
J. Nick Koston 614a2f66a3 fixes 2025-06-29 10:57:00 -05:00
J. Nick Koston 9047b02c92 fixes 2025-06-29 10:53:29 -05:00
J. Nick Koston e73d0477bb Merge branch 'api_conditional_memory' into integration 2025-06-29 10:42:24 -05:00
J. Nick Koston 2b1e623eb4 defines 2025-06-29 10:42:11 -05:00
J. Nick Koston c366d555e9 Add OTA support to ESP-IDF webserver 2025-06-29 10:38:53 -05:00
J. Nick Koston 7efbd62730 Add OTA support to ESP-IDF webserver 2025-06-29 10:34:49 -05:00
J. Nick Koston b77c1d0af8 Add OTA support to ESP-IDF webserver 2025-06-29 10:33:49 -05:00
J. Nick Koston f8810ea6a8 Merge branch 'webserver_eliminate_heap_url_match' into integration 2025-06-29 10:26:55 -05:00
J. Nick Koston 40dd667211 fixes 2025-06-29 10:26:39 -05:00
J. Nick Koston 848b572864 Merge branch 'webserver_eliminate_heap_url_match' into integration 2025-06-29 10:17:49 -05:00
J. Nick Koston 7c858fbccd Optimize web_server UrlMatch to avoid heap allocations 2025-06-29 10:15:06 -05:00
J. Nick Koston a1814ea37d Merge branch 'useless_default_data' into integration 2025-06-29 09:22:57 -05:00
J. Nick Koston 5892a1dbe2 tests 2025-06-29 08:40:26 -05:00
J. Nick Koston 29f524f432 tests 2025-06-29 08:37:53 -05:00
J. Nick Koston 4ec588ebd7 Merge remote-tracking branch 'origin/integration' into integration 2025-06-29 08:20:36 -05:00
J. Nick Koston efdef61477 Merge branch 'api_reduce' into integration 2025-06-29 08:20:22 -05:00
J. Nick Koston fe2b9f8c12 correct fix 2025-06-29 08:20:12 -05:00
J. Nick Koston c6be55eb55 Merge branch 'api_conditional_memory' into integration 2025-06-29 08:14:25 -05:00
J. Nick Koston 4c69925b84 lint 2025-06-29 08:13:28 -05:00
J. Nick Koston bc6407df0a Merge branch 'bitpack_api' into integration 2025-06-29 08:09:52 -05:00
J. Nick Koston 01982a8d0a reduce upper bound of batch delay as it did not make sense 2025-06-29 07:59:59 -05:00
J. Nick Koston b995cd6257 Merge remote-tracking branch 'origin/integration' into integration 2025-06-29 07:47:28 -05:00
J. Nick Koston b16d7b7a95 Merge branch 'api_conditional_memory' into integration 2025-06-29 07:47:17 -05:00
J. Nick Koston 42aea701d3 Reduce API component memory usage with conditional compilation 2025-06-29 07:45:48 -05:00
J. Nick Koston 5f56c85182 Merge remote-tracking branch 'origin/integration' into integration 2025-06-29 07:42:05 -05:00
J. Nick Koston 52b4eb8950 Merge branch 'api_reduce' into integration 2025-06-29 07:41:00 -05:00
J. Nick Koston eeb2b42a0f fixes 2025-06-29 07:39:07 -05:00
J. Nick Koston 90772033d1 revert bad feedback 2025-06-29 06:10:55 -05:00
J. Nick Koston dadeb4d2a9 Merge branch 'api_reduce' into integration 2025-06-28 23:24:40 -05:00
J. Nick Koston 60a5029c88 lint 2025-06-28 23:24:30 -05:00
J. Nick Koston d7ba16b48b Merge branch 'api_reduce' into integration 2025-06-28 23:06:51 -05:00
J. Nick Koston fca9befa63 cleanup 2025-06-28 23:06:40 -05:00
J. Nick Koston 187cbde0db cleanup 2025-06-28 23:06:34 -05:00
J. Nick Koston f5ae5cade8 cleanup 2025-06-28 23:06:09 -05:00
J. Nick Koston 3e66c28aff Merge branch 'api_reduce' into integration 2025-06-28 23:05:15 -05:00
J. Nick Koston 89703a1aef cleanup 2025-06-28 23:05:02 -05:00
J. Nick Koston cba31617e9 Merge branch 'api_reduce' into integration 2025-06-28 23:02:05 -05:00
J. Nick Koston a3eeb46961 reduce 2025-06-28 23:01:48 -05:00
J. Nick Koston 128bd76f20 reduce 2025-06-28 22:45:00 -05:00
J. Nick Koston c0355fd2c6 Merge branch 'webserver_helper_reduce_flash' into integration 2025-06-28 22:09:03 -05:00
J. Nick Koston a5fd440e25 cleanup 2025-06-28 22:08:47 -05:00
J. Nick Koston 592ef8be2a Merge remote-tracking branch 'origin/integration' into integration 2025-06-28 22:04:41 -05:00
J. Nick Koston 3bcc1c7297 Merge branch 'add_message_object' into integration 2025-06-28 22:04:27 -05:00
J. Nick Koston 3b44c3acd1 Reduce flash usage by making add_message_object non-template 2025-06-28 22:03:04 -05:00
J. Nick Koston ec4911643a Merge remote-tracking branch 'upstream/integration' into integration 2025-06-28 21:40:44 -05:00
J. Nick Koston f4fedbab44 Merge branch 'webserver_helper_reduce_flash' into integration 2025-06-28 21:40:26 -05:00
J. Nick Koston 553d441ecc Reduce web_server code duplication by extracting detail parameter parsing 2025-06-28 21:38:40 -05:00
J. Nick Koston 1946116438 Merge branch 'api_read_message' into integration 2025-06-28 21:22:25 -05:00
J. Nick Koston ab28515fba fix 2025-06-28 21:17:59 -05:00
J. Nick Koston 4dc11fb95e Merge branch 'api_read_message' into integration 2025-06-28 21:11:16 -05:00
J. Nick Koston e27094e0f3 Remove unused return value from read_message and fix ifdef placement in generated API code 2025-06-28 21:09:33 -05:00
J. Nick Koston 88302201eb Merge remote-tracking branch 'origin/integration' into integration 2025-06-28 20:56:24 -05:00
J. Nick Koston 8afb172e83 Merge branch 'api_reduce' into integration 2025-06-28 20:56:00 -05:00
J. Nick Koston 562d024623 Remove single-use send_*_info wrappers in API connection 2025-06-28 20:49:09 -05:00
J. Nick Koston 50b094547c Remove single-use send_*_info wrappers in API connection 2025-06-28 20:47:57 -05:00
J. Nick Koston a6c1e50985 Remove single-use send_*_info wrappers in API connection 2025-06-28 20:46:17 -05:00
J. Nick Koston 96772bdfc6 Merge remote-tracking branch 'origin/integration' into integration 2025-06-28 20:13:13 -05:00
J. Nick Koston ed154d373c Merge remote-tracking branch 'origin/dev' into integration 2025-06-28 20:12:59 -05:00
J. Nick Koston a5e862ce36 Remove redundant get_setup_priority() overrides returning default value 2025-06-28 17:21:20 -05:00
J. Nick Koston ae55964bd9 Merge remote-tracking branch 'origin/bitpack_api' into integration 2025-06-28 16:47:43 -05:00
J. Nick Koston c162309f41 Pack APIConnection members to reduce memory footprint 2025-06-28 16:46:17 -05:00
J. Nick Koston 62c667f1a0 Merge remote-tracking branch 'origin/dev' into integration 2025-06-28 16:11:15 -05:00
J. Nick Koston 3d08eae8e4 Merge branch 'scheduler_copy' into integration 2025-06-28 15:52:09 -05:00
J. Nick Koston 2af5a0a6dd Merge remote-tracking branch 'origin/scheduler_copy' into scheduler_copy 2025-06-28 15:52:03 -05:00
J. Nick Koston 6d24b04235 cover 2025-06-28 15:51:50 -05:00
J. Nick Koston 3ee8103353 Merge branch 'scheduler_copy' into integration 2025-06-28 15:49:33 -05:00
J. Nick Koston 1296165fce Merge branch 'dev' into scheduler_copy 2025-06-28 15:48:11 -05:00
J. Nick Koston 7100c22dc4 address copilot comments 2025-06-28 15:47:24 -05:00
J. Nick Koston 5718c0f5b8 Update test_scheduler_string_test.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-28 11:25:42 -05:00
J. Nick Koston 25ebddfa1c Update test_scheduler_string_test.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-28 11:25:36 -05:00
J. Nick Koston 2c0558fe23 Update test_scheduler_string_test.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-28 11:25:30 -05:00
J. Nick Koston 7192108fc1 Merge branch 'scheduler_copy' into integration 2025-06-28 10:32:21 -05:00
J. Nick Koston 847696c342 safer 2025-06-28 10:32:10 -05:00
J. Nick Koston 912ae1fc87 Merge remote-tracking branch 'origin/integration' into integration 2025-06-28 10:28:35 -05:00
J. Nick Koston a86f75d31d Merge branch 'scheduler_copy' into integration 2025-06-28 10:28:22 -05:00
J. Nick Koston fe1e25b5c7 Merge remote-tracking branch 'upstream/integration' into integration 2025-06-28 10:22:18 -05:00
J. Nick Koston 9b241b596a Merge branch 'scheduler_copy' into integration 2025-06-28 10:22:07 -05:00
J. Nick Koston 53b9c8d5bb cleanup 2025-06-28 10:15:05 -05:00
J. Nick Koston 2946bc9d72 cover 2025-06-28 10:10:43 -05:00
J. Nick Koston 67a20e212d safe 2025-06-28 09:59:50 -05:00
J. Nick Koston a9ace366eb dry 2025-06-28 09:50:27 -05:00
J. Nick Koston df3469efba dry 2025-06-28 09:48:58 -05:00
J. Nick Koston 0a3bbb8554 dry 2025-06-28 09:48:26 -05:00
J. Nick Koston a15b9f5d3b dry 2025-06-28 09:45:59 -05:00
J. Nick Koston e6334b0716 dry 2025-06-28 09:41:12 -05:00
J. Nick Koston 7a835baa5a Merge remote-tracking branch 'upstream/dev' into scheduler_copy 2025-06-28 09:36:32 -05:00
J. Nick Koston c9c21a5728 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-28 09:36:07 -05:00
J. Nick Koston 956959fc32 safety 2025-06-28 09:23:16 -05:00
J. Nick Koston 6f67f74638 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-28 08:43:19 -05:00
J. Nick Koston b3dd4543b7 Merge branch 'update_libsodium' into integration 2025-06-27 17:10:52 -05:00
J. Nick Koston 4f17a28ac5 Merge branch 'extract_helpers' into integration 2025-06-27 17:10:17 -05:00
J. Nick Koston 90736f367a release 2025-06-27 16:36:32 -05:00
J. Nick Koston 9af88bd482 DNM: Update libsodium
needs https://github.com/esphome/noise-c/pull/4
2025-06-27 14:07:27 -05:00
J. Nick Koston 13b89f4934 Merge branch 'libretiny_logconfig' into integration 2025-06-27 13:59:01 -05:00
J. Nick Koston d00a00d142 Reduce libretiny logconfig messages
align with https://developers.esphome.io/architecture/logging
2025-06-27 13:58:33 -05:00
J. Nick Koston e662c39e16 Merge branch 'extract_helpers' into integration 2025-06-27 13:18:50 -05:00
J. Nick Koston 95ef131285 address bot comments 2025-06-27 13:18:39 -05:00
J. Nick Koston 7476f170f6 Merge remote-tracking branch 'upstream/extract_helpers' into extract_helpers 2025-06-27 13:16:17 -05:00
J. Nick Koston 3b6bd55d1e address bot comments 2025-06-27 13:16:06 -05:00
J. Nick Koston 10dbc9e884 Merge remote-tracking branch 'origin/extract_helpers' into integration 2025-06-27 13:03:20 -05:00
J. Nick Koston 860f619dfe Merge branch 'dev' into extract_helpers 2025-06-27 20:02:57 +02:00
J. Nick Koston 17ddc9ee0c Merge branch 'extract_helpers' into integration 2025-06-27 12:56:28 -05:00
J. Nick Koston 949689c318 address bot review 2025-06-27 12:55:58 -05:00
J. Nick Koston 86a2aac011 Merge branch 'extract_helpers' into integration 2025-06-27 12:50:37 -05:00
J. Nick Koston d0a402f201 Extract lock-free queue and event pool to core helpers 2025-06-27 12:49:44 -05:00
J. Nick Koston 05772d5365 Merge remote-tracking branch 'origin/integration' into integration 2025-06-27 10:19:35 -05:00
J. Nick Koston c2a68f5147 Merge branch 'duplicate_webserver_code' into integration 2025-06-27 10:19:21 -05:00
J. Nick Koston 697ca1c7be simplify 2025-06-27 10:17:33 -05:00
J. Nick Koston 409346952f clang-format 2025-06-27 10:15:04 -05:00
J. Nick Koston f4b3539d77 clang-format 2025-06-27 10:05:30 -05:00
J. Nick Koston c12166c1a1 missed one 2025-06-27 10:04:29 -05:00
J. Nick Koston 8d20f003cb Merge branch 'duplicate_webserver_code' into integration 2025-06-27 09:45:00 -05:00
J. Nick Koston 88f857a2f0 defines 2025-06-27 09:44:50 -05:00
J. Nick Koston fb7faadd99 reduce memory 2025-06-27 09:41:20 -05:00
J. Nick Koston 5c8d6752fb Merge branch 'dev' into duplicate_webserver_code 2025-06-27 16:01:32 +02:00
J. Nick Koston dda81fbc2c Merge branch 'dev' into binary_sensor_gpio_polling 2025-06-27 15:58:14 +02:00
J. Nick Koston c40dff5d63 cleanup 2025-06-27 06:30:51 -05:00
J. Nick Koston 6f07b54772 cleanup 2025-06-27 06:30:42 -05:00
J. Nick Koston ce0f1dfcb6 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-27 06:30:15 -05:00
J. Nick Koston 9a3a5d48eb Merge branch 'dynamic_logging' into integration 2025-06-26 20:47:40 -05:00
J. Nick Koston 4a759eda02 Disable dynamic log level control for ESP32 ESP-IDF builds 2025-06-26 20:47:02 -05:00
J. Nick Koston 26badf201d fixes 2025-06-27 01:17:26 +02:00
J. Nick Koston 384f27cd6d Merge branch 'wifi_memory' into integration 2025-06-27 01:13:11 +02:00
J. Nick Koston ac1c5f9f58 Reduce WiFi component memory usage 2025-06-27 01:12:19 +02:00
J. Nick Koston 8ad058fdf4 Merge branch 'ethernet_padding' into integration 2025-06-27 01:00:27 +02:00
J. Nick Koston 9024c3c67a Reduce ethernet component memory usage by 8 bytes through struct optimization 2025-06-27 00:59:50 +02:00
J. Nick Koston fc81a47499 Merge branch 'esp32_gpio_padding_waste' into integration 2025-06-27 00:43:41 +02:00
J. Nick Koston a331452076 Reduce ESP32 GPIO memory usage by optimizing struct padding 2025-06-27 00:42:30 +02:00
J. Nick Koston b1c6e8168e Merge remote-tracking branch 'origin/ota_memory_str' into integration 2025-06-27 00:34:36 +02:00
J. Nick Koston b41cc0226e Optimize OTA password storage from std::string to const char 2025-06-27 00:24:45 +02:00
J. Nick Koston 450429ddd5 Merge branch 'safe_mode_padding' into integration 2025-06-27 00:22:40 +02:00
J. Nick Koston f7b24f4b4b Optimize SafeModeComponent memory layout to reduce padding 2025-06-27 00:20:44 +02:00
J. Nick Koston 294c985380 Merge branch 'duplicate_webserver_code' into integration 2025-06-27 00:09:07 +02:00
J. Nick Koston 720964b901 Refactor web_server to extract duplicate sorting info code into helper method 2025-06-27 00:05:56 +02:00
J. Nick Koston 8895c8a987 bitpack api flags 2025-06-26 12:46:57 +02:00
J. Nick Koston 740dcd72a2 Merge branch 'duplicate_client_peername' into integration 2025-06-26 12:00:03 +02:00
J. Nick Koston ffd442624f Optimize API connection memory usage by removing client_peername_ 2025-06-26 11:59:03 +02:00
J. Nick Koston 088fd85694 Merge branch 'batch_ping_fallback' into integration 2025-06-26 10:14:21 +02:00
J. Nick Koston d5b68d69d3 tweak 2025-06-26 10:14:05 +02:00
J. Nick Koston bb0f7bb393 Merge branch 'batch_ping_fallback' into integration 2025-06-26 10:10:12 +02:00
J. Nick Koston d86a108f18 Merge remote-tracking branch 'upstream/dev' into batch_ping_fallback 2025-06-26 10:09:24 +02:00
J. Nick Koston 7828ed2d9e Merge branch 'batch_ping_fallback' into integration 2025-06-26 10:05:06 +02:00
J. Nick Koston ebf14f50fb Merge branch 'dev' of https://github.com/esphome/esphome into batch_ping_fallback 2025-06-26 10:02:32 +02:00
J. Nick Koston 1546ff615b Merge branch 'app_padding' into integration 2025-06-26 02:47:46 +02:00
J. Nick Koston 46cf1fb597 comment 2025-06-26 02:47:33 +02:00
J. Nick Koston 8bf8655054 Merge branch 'app_padding' into integration 2025-06-26 02:45:13 +02:00
J. Nick Koston a6d84948e2 Optimize Application class memory layout and reduce loop_interval size 2025-06-26 02:44:44 +02:00
J. Nick Koston fac20a1f97 Merge branch 'batch_ping_fallback' into integration 2025-06-26 02:15:41 +02:00
J. Nick Koston c65586b5e1 cleanup 2025-06-26 02:15:32 +02:00
J. Nick Koston b27b018b06 Merge remote-tracking branch 'origin/integration' into integration 2025-06-26 02:13:42 +02:00
J. Nick Koston 403da1e632 Merge branch 'batch_ping_fallback' into integration 2025-06-26 02:12:53 +02:00
J. Nick Koston 2371ec1f9e Replace ping retry timer with batch queue fallback 2025-06-26 02:11:17 +02:00
J. Nick Koston 5e3ec2d34b lint 2025-06-26 00:24:53 +02:00
J. Nick Koston 78d84644c9 lint 2025-06-26 00:24:12 +02:00
J. Nick Koston 0cd0f8015a Merge branch 'message_creator_ram' into integration 2025-06-26 00:09:31 +02:00
J. Nick Koston 4b5424f695 nolint 2025-06-26 00:08:15 +02:00
J. Nick Koston a1d59040f7 Merge remote-tracking branch 'origin/message_creator_ram' into integration 2025-06-25 23:54:37 +02:00
J. Nick Koston 0306398072 Merge remote-tracking branch 'origin/component_iterator' into integration 2025-06-25 23:54:33 +02:00
J. Nick Koston a7e0bf9013 tweak 2025-06-25 23:53:22 +02:00
J. Nick Koston ddb988cd83 Merge remote-tracking branch 'upstream/dev' into component_iterator 2025-06-25 23:39:45 +02:00
J. Nick Koston 04b54353f1 Merge remote-tracking branch 'upstream/dev' into scheduler_copy 2025-06-25 23:36:41 +02:00
J. Nick Koston f058107c05 tweak 2025-06-25 23:33:54 +02:00
J. Nick Koston 6b5b0815d7 tidy issues 2025-06-25 23:26:57 +02:00
J. Nick Koston 8388497038 tidy issues 2025-06-25 23:18:50 +02:00
J. Nick Koston 825b1113b6 tweak 2025-06-25 23:17:41 +02:00
J. Nick Koston 9074ef792f Reduce component_iterator memory usage 2025-06-25 19:35:40 +02:00
J. Nick Koston 0946f28511 avoid string copy in scheduler for const strings 2025-06-25 19:08:18 +02:00
J. Nick Koston 23765cd4f5 Merge branch 'message_creator_ram' into integration 2025-06-25 18:28:56 +02:00
J. Nick Koston e20c6468d0 fix missed one 2025-06-25 18:27:43 +02:00
J. Nick Koston b90516de1d Merge branch 'template_value' into integration 2025-06-25 17:30:36 +02:00
J. Nick Koston ec5cc0f00f Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-06-25 17:30:27 +02:00
J. Nick Koston 5dda5a976e Merge branch 'message_creator_ram' into integration 2025-06-25 17:22:41 +02:00
J. Nick Koston 915da9ae13 make the bot happy 2025-06-25 17:22:23 +02:00
J. Nick Koston 8652464f4e Merge branch 'dev' into message_creator_ram 2025-06-25 17:16:31 +02:00
J. Nick Koston ce6ce1c1f8 Merge branch 'message_creator_ram' into integration 2025-06-25 17:10:41 +02:00
J. Nick Koston 39efe67e55 Optimize API connection memory with tagged pointers 2025-06-25 17:08:57 +02:00
J. Nick Koston 748ffa00f3 Optimize TemplatableValue memory 2025-06-25 14:49:01 +02:00
J. Nick Koston e8d9df2b0e Merge branch 'sensor_memory' into integration 2025-06-25 14:32:47 +02:00
J. Nick Koston 17396d67de revert 2025-06-25 14:32:38 +02:00
J. Nick Koston edd6a86714 Merge branch 'sensor_memory' into integration 2025-06-25 14:26:03 +02:00
J. Nick Koston 85b4012c56 Merge branch 'dev' into sensor_memory 2025-06-25 14:24:09 +02:00
J. Nick Koston 7d98433502 Update tests/integration/test_host_mode_sensor.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-25 14:23:59 +02:00
J. Nick Koston 23774ae03b Reduce memory required for sensor entities 2025-06-25 14:17:05 +02:00
J. Nick Koston 0dedbcdd71 Merge branch 'multi_device' into integration 2025-06-25 13:44:20 +02:00
J. Nick Koston 4bdd08887e use a common that does not have dupes on dev 2025-06-25 00:50:18 +02:00
J. Nick Koston 1fd8ebf386 update tests now that duplicate names are validated 2025-06-25 00:35:38 +02:00
J. Nick Koston d2fc3e749c update tests now that duplicate names are validated 2025-06-25 00:34:50 +02:00
J. Nick Koston 71fbcbceaf update tests now that duplicate names are validated 2025-06-25 00:34:27 +02:00
J. Nick Koston 27347b2088 update tests now that duplicate names are validated 2025-06-25 00:34:04 +02:00
J. Nick Koston 599993d1a5 update tests now that duplicate names are validated 2025-06-25 00:22:51 +02:00
J. Nick Koston bf359cb8e3 update tests now that duplicate names are validated 2025-06-25 00:20:51 +02:00
J. Nick Koston 509a704410 update tests now that duplicate names are validated 2025-06-25 00:19:32 +02:00
J. Nick Koston 1f48e2b01f update tests now that duplicate names are validated 2025-06-25 00:18:40 +02:00
J. Nick Koston 8b25b1eee6 update tests now that duplicate names are validated 2025-06-25 00:18:28 +02:00
J. Nick Koston 3bbf30ff5f Merge branch 'multi_device' into integration 2025-06-25 00:04:33 +02:00
J. Nick Koston 83613726d1 fix 2025-06-25 00:04:07 +02:00
J. Nick Koston 254b6a17f3 Merge remote-tracking branch 'dala318/multi_device' into integration 2025-06-24 23:54:40 +02:00
J. Nick Koston 796e12bd70 Merge branch 'dev' into multi_device 2025-06-24 23:54:24 +02:00
J. Nick Koston ddbe17d3f6 fixes 2025-06-24 23:40:16 +02:00
J. Nick Koston 591ec36f4a fixes 2025-06-24 23:37:58 +02:00
J. Nick Koston 41eceb72ef preen 2025-06-24 23:28:06 +02:00
J. Nick Koston 0a5f094025 cleanup 2025-06-24 23:25:46 +02:00
J. Nick Koston ca0f3ba262 cleanup 2025-06-24 23:23:59 +02:00
J. Nick Koston 30f4e782db cleanup 2025-06-24 23:23:35 +02:00
J. Nick Koston 192158ef1a cleanup 2025-06-24 23:22:18 +02:00
J. Nick Koston 602456db40 cleanup 2025-06-24 23:13:45 +02:00
J. Nick Koston 536e45668f migrate 2025-06-24 23:09:08 +02:00
J. Nick Koston 10bf05ab0d migrate 2025-06-24 22:59:46 +02:00
J. Nick Koston 5ad1af69e4 migrate 2025-06-24 22:57:10 +02:00
J. Nick Koston 48f2911434 raise 2025-06-24 22:18:29 +02:00
J. Nick Koston dbb0d6349a Merge branch 'multi_device' into integration 2025-06-24 18:08:14 +02:00
J. Nick Koston ac3598f12a cleanup 2025-06-24 18:07:58 +02:00
J. Nick Koston 66201be5ca preen 2025-06-24 18:00:10 +02:00
J. Nick Koston ac0b0b652e cleanup 2025-06-24 17:55:58 +02:00
J. Nick Koston d89ee2df42 Update esphome/core/application.h 2025-06-24 17:52:13 +02:00
J. Nick Koston 418e248e5e cleanup 2025-06-24 17:51:05 +02:00
J. Nick Koston 8c2b141049 cleanup 2025-06-24 17:41:40 +02:00
J. Nick Koston 2f8e07302b Update esphome/core/entity_base.cpp 2025-06-24 17:10:06 +02:00
J. Nick Koston c3776240b6 fixes 2025-06-24 17:03:23 +02:00
J. Nick Koston e370872ec1 fix conflicts 2025-06-24 16:13:34 +02:00
Jesse Hills d4e978369a Store reference to device on EntityBase
This is so we can get the name of the device to use as part of the object id and to internally set the name for logging.
2025-06-24 19:56:30 +12:00
Jesse Hills 8d5d7f5237 Merge branch 'dev' into multi_device 2025-06-24 16:02:03 +12:00
J. Nick Koston 5cd498fbe9 Merge branch 'multi_device' into integration 2025-06-23 22:56:28 +02:00
J. Nick Koston 250f515f08 Merge branch 'api_opt' into integration 2025-06-23 12:20:40 +02:00
J. Nick Koston 0ec0a9e313 missing ifdef 2025-06-23 12:19:21 +02:00
J. Nick Koston 184f42ef03 Merge branch 'api_opt' into integration 2025-06-23 12:10:26 +02:00
J. Nick Koston 499517418d clang-tidy 2025-06-23 12:10:15 +02:00
J. Nick Koston 606b9c1a6d Merge branch 'api_opt' into integration 2025-06-23 12:00:34 +02:00
J. Nick Koston 971e954a54 follow logging guidelines 2025-06-23 11:59:07 +02:00
J. Nick Koston e3aaf3219d speed up test 2025-06-23 11:58:16 +02:00
J. Nick Koston 0eea1c0e40 preen 2025-06-23 11:56:09 +02:00
J. Nick Koston 0773819778 cleanup 2025-06-23 11:45:58 +02:00
J. Nick Koston 170869b7db preen 2025-06-23 11:39:25 +02:00
J. Nick Koston 5dc54782e5 preen 2025-06-23 11:38:30 +02:00
J. Nick Koston 97b26fbefe preen 2025-06-23 11:38:10 +02:00
J. Nick Koston 686cc58d6c preen 2025-06-23 11:37:59 +02:00
J. Nick Koston 76a59759b2 preen 2025-06-23 11:37:27 +02:00
J. Nick Koston 93245a24b5 preen 2025-06-23 11:36:54 +02:00
J. Nick Koston 6a22ea1c7d preen 2025-06-23 11:35:41 +02:00
J. Nick Koston 56a02409c8 preen 2025-06-23 11:34:11 +02:00
J. Nick Koston edeafd5a53 preen 2025-06-23 11:31:38 +02:00
J. Nick Koston f67490b69b preen 2025-06-23 11:29:04 +02:00
J. Nick Koston b76e34fb7b preen 2025-06-23 11:25:52 +02:00
J. Nick Koston ddbda5032b preen 2025-06-23 11:25:24 +02:00
J. Nick Koston 5898d34b0a preen 2025-06-23 11:22:45 +02:00
J. Nick Koston b0c02341ff preen 2025-06-23 11:22:08 +02:00
J. Nick Koston 19cbc8c33b preen 2025-06-23 11:21:37 +02:00
J. Nick Koston 02e61ef5d3 preen 2025-06-23 11:20:06 +02:00
J. Nick Koston 8d5d18064d preen 2025-06-23 11:19:56 +02:00
J. Nick Koston c5ef7ebd27 preen 2025-06-23 11:19:07 +02:00
J. Nick Koston 047a3e0e8c preen 2025-06-23 11:18:47 +02:00
J. Nick Koston 13b23f840b preen 2025-06-23 11:17:17 +02:00
J. Nick Koston 147f6012b2 preen 2025-06-23 11:16:34 +02:00
J. Nick Koston 2c315595f0 preen 2025-06-23 11:12:04 +02:00
J. Nick Koston 20405c84ac preen 2025-06-23 11:10:07 +02:00
J. Nick Koston 0bc59b97de more api loop reductions 2025-06-23 11:06:51 +02:00
J. Nick Koston a3a3bdc7eb more api loop reductions 2025-06-23 11:02:27 +02:00
J. Nick Koston e767f30886 more api loop reductions 2025-06-23 10:59:49 +02:00
J. Nick Koston e8c250a03c more api loop reductions 2025-06-23 10:59:00 +02:00
J. Nick Koston d6725fc1ca more api loop reductions 2025-06-23 10:54:50 +02:00
J. Nick Koston 8ec998ff30 more api loop reductions 2025-06-23 10:52:34 +02:00
J. Nick Koston 23cc0c7f39 Merge remote-tracking branch 'upstream/dev' into api_reboot 2025-06-23 10:48:26 +02:00
J. Nick Koston 19b8bd6aa8 Merge remote-tracking branch 'upstream/logger_disable_loop' into integration 2025-06-23 09:03:16 +02:00
J. Nick Koston ed57e7c6b0 Update esphome/components/logger/logger.cpp 2025-06-23 09:02:22 +02:00
J. Nick Koston 9f489c9f27 Update esphome/components/logger/logger.h 2025-06-23 09:01:21 +02:00
J. Nick Koston f036989361 Update esphome/components/logger/logger.h 2025-06-23 09:01:01 +02:00
J. Nick Koston 6afa8141c0 Update esphome/components/logger/logger.cpp 2025-06-23 09:00:46 +02:00
J. Nick Koston 587964c6f1 Merge branch 'dev' into logger_disable_loop 2025-06-23 09:00:22 +02:00
Jesse Hills 7aea82a273 Move define 2025-06-23 14:15:10 +12:00
J. Nick Koston 20f946ccaf Merge branch 'dev' into multi_device 2025-06-23 00:32:09 +02:00
Jesse Hills e5e972231c Update testing 2025-06-23 10:26:31 +12:00
J. Nick Koston bfa80157f2 Merge branch 'scheduler_memory_opt' into integration 2025-06-23 00:07:43 +02:00
J. Nick Koston 99b1b079d0 Reduce RAM usage for scheduled tasks 2025-06-23 00:03:01 +02:00
J. Nick Koston 5697d549a8 Use scheduler for api reboot 2025-06-22 23:44:08 +02:00
Jesse Hills 754d2874e7 `this->` 2025-06-23 09:21:29 +12:00
Jesse Hills 06de58ff8b Dont need to warning about simple string area
A single device in a single area can have a simple string as the area
2025-06-23 09:20:53 +12:00
J. Nick Koston a0b3527710 Merge branch 'logger_memory' into integration 2025-06-22 22:59:51 +02:00
J. Nick Koston df24f48fa1 Merge branch 'pre_preserve_looping_components' into integration 2025-06-22 22:57:38 +02:00
J. Nick Koston 13d53590b2 Pre-reserve looping components vector to reduce memory allocations 2025-06-22 22:56:31 +02:00
J. Nick Koston 5857f7b9a7 Merge remote-tracking branch 'dala318/multi_device' into multi_device 2025-06-22 21:55:46 +02:00
J. Nick Koston a5ea0cd41f remove unreachable code 2025-06-22 21:55:23 +02:00
J. Nick Koston d677934417 Merge branch 'dev' into multi_device 2025-06-22 21:45:28 +02:00
J. Nick Koston ba87a0b63c cleanups 2025-06-22 21:32:20 +02:00
J. Nick Koston b725bb3dd1 lint 2025-06-22 21:28:16 +02:00
J. Nick Koston c34ba3deb5 lint 2025-06-22 21:25:55 +02:00
J. Nick Koston 68b13340fb lint 2025-06-22 21:24:17 +02:00
J. Nick Koston 8831999ea6 lint 2025-06-22 21:23:41 +02:00
J. Nick Koston c1853f8b84 document design decisions 2025-06-22 21:21:29 +02:00
J. Nick Koston 2b9b7e2853 validation should happen sooner 2025-06-22 21:18:04 +02:00
J. Nick Koston d3b18debf9 validate sooner 2025-06-22 21:06:33 +02:00
J. Nick Koston b01eb28d42 validate sooner 2025-06-22 21:05:15 +02:00
J. Nick Koston 02019dd16c validate sooner 2025-06-22 21:04:42 +02:00
J. Nick Koston 7be12f5ff6 validate sooner 2025-06-22 20:59:54 +02:00
J. Nick Koston a90d59b6ba validate sooner 2025-06-22 20:59:07 +02:00
J. Nick Koston e7fa156254 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-22 20:15:02 +02:00
J. Nick Koston a8ab6b1c43 Merge branch 'dev' into logger_disable_loop 2025-06-22 20:12:17 +02:00
J. Nick Koston 25ed7c890b cleanups 2025-06-22 20:03:02 +02:00
J. Nick Koston 85e3b63f05 adjust 2025-06-22 19:49:12 +02:00
J. Nick Koston a37bac1956 add files 2025-06-22 19:47:19 +02:00
J. Nick Koston 818a978dfc units 2025-06-22 19:40:53 +02:00
J. Nick Koston 180aeb7d8e simplify 2025-06-22 13:50:29 +02:00
J. Nick Koston 0764fa7292 simplify 2025-06-22 13:48:27 +02:00
J. Nick Koston 17bf533ed7 simplify 2025-06-22 13:44:05 +02:00
J. Nick Koston d7eae1c1a0 simplify 2025-06-22 13:43:52 +02:00
J. Nick Koston 7f2d979255 preen 2025-06-22 13:39:12 +02:00
J. Nick Koston 46b419ea8b preen 2025-06-22 13:38:14 +02:00
J. Nick Koston b30b527ff9 one more place to check 2025-06-22 13:37:30 +02:00
J. Nick Koston 41b1bfc504 legacy test 2025-06-22 13:37:01 +02:00
J. Nick Koston f4f14a7507 fixes 2025-06-22 13:29:49 +02:00
J. Nick Koston 61c29213a7 fixes 2025-06-22 13:29:41 +02:00
J. Nick Koston e6d7639209 Merge branch 'dev' into multi_device 2025-06-22 13:03:16 +02:00
J. Nick Koston 3c07a186b2 Merge remote-tracking branch 'dala318/multi_device' into multi_device 2025-06-22 13:02:48 +02:00
J. Nick Koston 8a725250a9 Merge branch 'dev' into multi_device 2025-06-22 12:32:44 +02:00
J. Nick Koston 502b8a6073 fixes 2025-06-22 12:32:25 +02:00
J. Nick Koston 6212c6f80f Merge branch 'dev' into logger_disable_loop 2025-06-22 12:10:11 +02:00
J. Nick Koston b03e3b8d4a fixes 2025-06-22 10:07:05 +02:00
J. Nick Koston a98e34d190 handle collisions 2025-06-22 10:02:59 +02:00
J. Nick Koston bf8d8b6e63 handle collisions 2025-06-22 10:01:53 +02:00
J. Nick Koston 57599f7a98 handle collisions 2025-06-22 10:00:31 +02:00
J. Nick Koston ffccce7ffc handle collisions 2025-06-22 09:58:12 +02:00
J. Nick Koston bbd5d050a9 Merge branch 'dev' into logger_disable_loop 2025-06-21 18:36:59 +02:00
J. Nick Koston 71a96fdcbf Merge branch 'dev' into logger_disable_loop 2025-06-21 18:11:19 +02:00
J. Nick Koston 221e3c6c9c preen 2025-06-21 18:09:16 +02:00
J. Nick Koston fb1679d572 preen 2025-06-21 18:07:45 +02:00
J. Nick Koston c19065f112 preen 2025-06-21 18:02:32 +02:00
J. Nick Koston f2b04a077e preen 2025-06-21 18:01:12 +02:00
J. Nick Koston 8e7841c880 preen 2025-06-21 18:00:17 +02:00
J. Nick Koston 1873490b24 preen 2025-06-21 17:57:36 +02:00
J. Nick Koston 4d231953f4 preen 2025-06-21 17:57:10 +02:00
J. Nick Koston aa4c399657 reverse space in vectors 2025-06-21 17:36:25 +02:00
J. Nick Koston 1f99d18982 reverse space in vectors 2025-06-21 17:34:08 +02:00
J. Nick Koston be37178ef8 make areas and devices consistant 2025-06-21 17:32:11 +02:00
J. Nick Koston fad86c655e make areas and devices consistant 2025-06-21 17:30:17 +02:00
J. Nick Koston 4a7958586e make areas and devices consistant 2025-06-21 17:19:16 +02:00
J. Nick Koston f44ecd0891 make areas and devices consistant 2025-06-21 17:18:23 +02:00
J. Nick Koston 3d0392d668 make areas and devices consistant 2025-06-21 17:17:29 +02:00
J. Nick Koston d300d2605b make areas and devices consistant 2025-06-21 17:13:04 +02:00
J. Nick Koston 66cce6a2f2 make areas and devices consistant 2025-06-21 17:12:25 +02:00
J. Nick Koston 65e3c6bfbb make areas and devices consistant 2025-06-21 17:12:00 +02:00
J. Nick Koston 2a39060912 Merge remote-tracking branch 'upstream/dev' into multi_device 2025-06-21 17:06:11 +02:00
J. Nick Koston 8714e80978 make areas and devices consistant 2025-06-21 17:05:46 +02:00
J. Nick Koston 98de53f60b migrate to using same area info for top level and sub devices 2025-06-21 16:47:03 +02:00
J. Nick Koston 41e11e9a0e migrate to using same area info for top level and sub devices 2025-06-21 16:43:48 +02:00
J. Nick Koston e7a4eac8bd migrate to using same area info for top level and sub devices 2025-06-21 16:42:05 +02:00
J. Nick Koston 1589a131db migrate to using same area info for top level and sub devices 2025-06-21 16:39:07 +02:00
J. Nick Koston 7d84f0e650 migrate to using same area info for top level and sub devices 2025-06-21 16:37:21 +02:00
J. Nick Koston 86fb0e317f fixes 2025-06-21 15:22:35 +02:00
J. Nick Koston 32088d5ef7 revert 2025-06-21 13:35:32 +02:00
J. Nick Koston 63de88dd57 fixes 2025-06-21 13:33:29 +02:00
J. Nick Koston 153a6440dc cleanups to address review comments 2025-06-21 13:20:59 +02:00
J. Nick Koston 8937ed2269 cleanups to address review comments 2025-06-21 13:18:25 +02:00
J. Nick Koston 02e922b56f cleanups to address review comments 2025-06-21 13:16:42 +02:00
J. Nick Koston bf9e901ab9 cleanups to address review comments 2025-06-21 13:13:44 +02:00
J. Nick Koston 1234ef8de2 Merge remote-tracking branch 'upstream/dev' into multi_device 2025-06-21 12:13:54 +02:00
J. Nick Koston 41697a7b1b Merge remote-tracking branch 'upstream/logger_disable_loop' into integration 2025-06-21 11:19:12 +02:00
J. Nick Koston 912e265bc0 Merge branch 'dev' into logger_disable_loop 2025-06-21 11:18:59 +02:00
J. Nick Koston 96ee6fb064 Merge branch 'logger_disable_loop' into integration 2025-06-21 11:17:13 +02:00
J. Nick Koston 788dba8ef3 define 2025-06-21 11:16:14 +02:00
J. Nick Koston fdde9c4681 Reduce Logger memory usage by optimizing variable sizes 2025-06-21 00:27:05 +02:00
J. Nick Koston f195e73d38 Merge branch 'logger_disable_loop' into integration 2025-06-20 22:54:40 +02:00
J. Nick Koston b0d9ffc6a1 Reduce logger CPU usage by disabling loop when buffer is empty 2025-06-20 22:53:12 +02:00
J. Nick Koston e17619841d fix last component being charged for stats 2025-06-20 22:03:53 +02:00
J. Nick Koston eb6a7cf3b9 fix last component being charged for stats 2025-06-20 22:02:19 +02:00
J. Nick Koston 9901e2d72e Merge branch 'dev' into integration 2025-06-20 21:36:36 +02:00
J. Nick Koston 1be4e23b68 Merge branch 'dev' into binary_sensor_gpio_polling 2025-06-19 11:07:42 +02:00
J. Nick Koston e78094cc0a Merge branch 'dev' into esp32_touch_isr 2025-06-19 10:49:17 +02:00
J. Nick Koston bcf961c0b0 Merge branch 'dev' into integration 2025-06-19 04:05:25 +02:00
J. Nick Koston f84a4c9753 Merge remote-tracking branch 'origin/disable_ethernet_loop' into integration 2025-06-19 03:42:53 +02:00
J. Nick Koston df56ca0236 remove redundant enable_loop, it must already be enabled to get here 2025-06-19 03:41:25 +02:00
J. Nick Koston de0cd0ec67 Merge branch 'dev' into disable_ethernet_loop 2025-06-19 03:39:15 +02:00
J. Nick Koston 67c30245c4 make copilot happy 2025-06-19 02:01:55 +02:00
J. Nick Koston 1f72757591 tidy 2025-06-19 01:35:45 +02:00
J. Nick Koston 35c2fdf6af dry 2025-06-19 01:31:11 +02:00
J. Nick Koston d1ecd841be avoid auto 2025-06-19 01:28:17 +02:00
J. Nick Koston 828a49697c Merge branch 'gap_events' into integration 2025-06-19 01:18:36 +02:00
J. Nick Koston 0551495501 try another way 2025-06-19 01:18:26 +02:00
J. Nick Koston 2bbffe4a68 try another way 2025-06-19 01:18:11 +02:00
J. Nick Koston 281ad90e39 fixes 2025-06-19 01:16:46 +02:00
J. Nick Koston ed50976a07 fixes 2025-06-19 01:16:22 +02:00
J. Nick Koston a3400037d9 fixes 2025-06-19 01:14:15 +02:00
J. Nick Koston f0d82f75bc fixes 2025-06-19 01:14:05 +02:00
J. Nick Koston 349cb80e90 Merge remote-tracking branch 'origin/integration' into integration 2025-06-19 01:12:20 +02:00
J. Nick Koston c263ee39af Merge branch 'gap_events' into integration 2025-06-19 01:12:07 +02:00
J. Nick Koston e99bc52756 Fix missing BLE GAP events causing RSSI sensor and beacon failures 2025-06-19 01:09:13 +02:00
J. Nick Koston 7944b2b8e9 Merge branch 'ota_perf' into integration 2025-06-19 00:40:07 +02:00
J. Nick Koston ca6ae746c1 be explict 2025-06-19 00:39:19 +02:00
J. Nick Koston deabac18b2 Merge branch 'disable_ethernet_loop' into integration 2025-06-18 21:39:35 +02:00
J. Nick Koston 5cf8681c61 Merge branch 'ota_perf' into integration 2025-06-18 21:35:14 +02:00
J. Nick Koston ca7ede8f96 more cleanups 2025-06-18 21:35:04 +02:00
J. Nick Koston 4969682d52 Merge branch 'ota_perf' into integration 2025-06-18 21:27:51 +02:00
J. Nick Koston 8002fe0dd5 remove safety check 2025-06-18 21:27:30 +02:00
J. Nick Koston 7dfdf965b7 remove safety check 2025-06-18 21:26:32 +02:00
J. Nick Koston b408795dd6 Merge branch 'api_reads' into integration 2025-06-18 19:24:32 +02:00
J. Nick Koston a5a099336b one more 2025-06-18 19:22:23 +02:00
J. Nick Koston 4ae56fc004 Merge branch 'api_reads' into integration 2025-06-18 18:40:35 +02:00
J. Nick Koston 3f71c09b7b Fix slow noise handshake by reading multiple messages per loop 2025-06-18 18:36:55 +02:00
J. Nick Koston bd50a7f1ab cleanup 2025-06-18 14:33:58 +02:00
J. Nick Koston 51e4c45e5c Merge branch 'loop_done_enable_isr' into disable_ethernet_loop 2025-06-18 14:27:18 +02:00
J. Nick Koston e3fae49add Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-18 14:24:42 +02:00
J. Nick Koston 610215ab60 updates 2025-06-18 14:24:31 +02:00
J. Nick Koston 74acbda435 Merge branch 'loop_done_enable_isr' into binary_sensor_gpio_polling 2025-06-18 14:19:03 +02:00
J. Nick Koston 25c4af777c Merge branch 'loop_done_enable_isr' into integration 2025-06-18 14:18:35 +02:00
J. Nick Koston ec186e6324 rename 2025-06-18 14:17:45 +02:00
J. Nick Koston 150b7a98f3 Merge branch 'dev' into ota_perf 2025-06-18 13:57:20 +02:00
J. Nick Koston 8ae7c1cff0 Merge branch 'ota_perf' into integration 2025-06-18 13:46:36 +02:00
J. Nick Koston 7f1d0eef98 Optimize OTA loop to avoid unnecessary stack allocations 2025-06-18 13:44:07 +02:00
J. Nick Koston 1179ab33f2 tweaks 2025-06-18 12:52:18 +02:00
J. Nick Koston a09faa1c10 Merge branch 'dev' into disable_ethernet_loop 2025-06-18 12:36:22 +02:00
J. Nick Koston c0319d9b2f Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-18 12:28:59 +02:00
J. Nick Koston 4870cd2921 use enable_loop_soon_from_isr 2025-06-18 12:28:49 +02:00
J. Nick Koston d4280ec68b Merge branch 'loop_done_enable_isr' into binary_sensor_gpio_polling 2025-06-18 12:23:55 +02:00
J. Nick Koston 52cdc11927 Merge remote-tracking branch 'origin/proxy_memory' into integration 2025-06-18 12:21:31 +02:00
J. Nick Koston 8345b8c9ce Update esphome/components/esp32_ble_client/ble_client_base.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-18 12:21:10 +02:00
J. Nick Koston c56f0677c3 Merge remote-tracking branch 'upstream/proxy_memory' into integration 2025-06-18 12:16:23 +02:00
J. Nick Koston 00e9e1421e Merge branch 'dev' into proxy_memory 2025-06-18 12:16:12 +02:00
J. Nick Koston 93c72c6e6c Merge branch 'loop_done_enable_isr' into integration 2025-06-18 12:15:24 +02:00
J. Nick Koston 9cea930dbd Merge remote-tracking branch 'upstream/dev' into integration 2025-06-18 12:15:18 +02:00
J. Nick Koston 7b9bd70729 Add enable_loop_soon_from_isr 2025-06-18 12:09:12 +02:00
J. Nick Koston 5115c7a100 Merge branch 'bump_ruff_precommit' into integration 2025-06-18 00:15:23 +02:00
J. Nick Koston 5634494e64 Bump ruff in pre-commit to 0.12.0
matches https://github.com/esphome/esphome/pull/9120
2025-06-18 00:11:40 +02:00
J. Nick Koston aa8bd4abf1 Bump ruff in pre-commit to 0.12.0
matches https://github.com/esphome/esphome/pull/9120
2025-06-18 00:10:30 +02:00
J. Nick Koston 17fd69dd7f Bump ruff in pre-commit to 0.12.0
matches https://github.com/esphome/esphome/pull/9120
2025-06-18 00:09:18 +02:00
J. Nick Koston 1d9dae374b Merge branch 'loop_done' into integration 2025-06-17 23:45:20 +02:00
J. Nick Koston cb2241ad91 make sure components that disable in setup are disabled at start 2025-06-17 23:45:16 +02:00
J. Nick Koston d8a7e9abc8 make sure components that disable in setup are disabled at start 2025-06-17 23:44:32 +02:00
J. Nick Koston 969abc3f29 make sure components that disable in setup are disabled at start 2025-06-17 23:40:46 +02:00
J. Nick Koston 766fdc8a1f make sure components that disable in setup are disabled at start 2025-06-17 23:40:31 +02:00
J. Nick Koston 4c37c20d76 cleaner fix 2025-06-17 22:30:35 +02:00
J. Nick Koston 7d314398e1 cleaner fix 2025-06-17 22:30:31 +02:00
J. Nick Koston b69191e3a8 cleaner fix 2025-06-17 22:29:21 +02:00
J. Nick Koston b27c6b3596 cleaner fix 2025-06-17 22:27:24 +02:00
J. Nick Koston 5453835963 make ble client disable/enable smarter 2025-06-17 18:13:09 +02:00
J. Nick Koston 4d55ba057c make ble client disable/enable smarter 2025-06-17 18:09:53 +02:00
J. Nick Koston 325c01242c tweak 2025-06-17 16:16:20 +02:00
J. Nick Koston 45b32bca89 tweak 2025-06-17 16:08:28 +02:00
J. Nick Koston 7620049214 tweak 2025-06-17 16:05:48 +02:00
J. Nick Koston 3553495a60 Merge remote-tracking branch 'origin/integration' into integration 2025-06-17 15:55:51 +02:00
J. Nick Koston 3ce6db61d5 Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-17 15:55:28 +02:00
J. Nick Koston 798ff32c40 cleanup 2025-06-17 15:55:10 +02:00
J. Nick Koston 430cee8bda Merge branch 'integration' of https://github.com/esphome/esphome into integration 2025-06-17 15:05:27 +02:00
J. Nick Koston 1fe3fb25a6 Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-17 14:38:08 +02:00
J. Nick Koston 685ed87581 preen 2025-06-17 14:38:00 +02:00
J. Nick Koston ea3ea1eee7 tweak 2025-06-17 14:17:35 +02:00
J. Nick Koston c9edcb909b Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-17 13:42:02 +02:00
J. Nick Koston 35bfc9f069 tweak 2025-06-17 13:41:57 +02:00
J. Nick Koston c4aec194b9 Merge branch 'binary_sensor_gpio_polling' into integration 2025-06-17 13:31:44 +02:00
J. Nick Koston e8547b16f6 Avoid polling for GPIO binary sensors when possible 2025-06-17 13:20:41 +02:00
J. Nick Koston 2bbe08cee0 Avoid polling for GPIO binary sensors when possible 2025-06-17 13:18:45 +02:00
J. Nick Koston 0a0c369b88 Avoid polling for GPIO binary sensors when possible 2025-06-17 13:17:35 +02:00
J. Nick Koston 5d2f454a94 Avoid polling for GPIO binary sensors when possible 2025-06-17 13:13:58 +02:00
J. Nick Koston 04bcc5c879 Avoid polling for GPIO binary sensors when possible 2025-06-17 13:02:00 +02:00
J. Nick Koston d4db16665f Avoid polling for GPIO binary sensors when possible 2025-06-17 12:41:17 +02:00
J. Nick Koston 20b7a494f6 Merge remote-tracking branch 'origin/proxy_memory' into integration 2025-06-17 12:05:43 +02:00
J. Nick Koston fbdce3ad89 Optimize bluetooth_proxy memory usage on ESP32 2025-06-17 12:04:49 +02:00
J. Nick Koston 4fc8807f02 Merge branch 'light_memory' into integration 2025-06-17 11:49:58 +02:00
J. Nick Koston 83075bfb5c Optimize LightState memory layout 2025-06-17 11:49:15 +02:00
J. Nick Koston 4074ec0425 Merge branch 'switch_memory' into integration 2025-06-17 11:27:45 +02:00
J. Nick Koston 8e1694dd0f Reduce Switch component memory usage by 8 bytes per instance 2025-06-17 11:27:11 +02:00
J. Nick Koston 911df18855 Merge branch 'api_memory' into integration 2025-06-17 11:10:17 +02:00
J. Nick Koston 6b049e93f8 Optimize API component memory usage by reordering class members to reduce padding 2025-06-17 11:09:22 +02:00
J. Nick Koston a335dcc379 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-17 10:40:41 +02:00
J. Nick Koston c6478c8a79 Merge branch 'reduce_duplicate_gen_code_api' into integration 2025-06-17 10:40:23 +02:00
J. Nick Koston cc9d40cb60 tweaks 2025-06-17 10:40:12 +02:00
J. Nick Koston 0a6b7f9a1b Update script/api_protobuf/api_protobuf.py 2025-06-17 10:39:49 +02:00
J. Nick Koston daa1fb9a7a Merge remote-tracking branch 'swoboda1337/bump_libretiny' into integration 2025-06-17 04:33:57 +02:00
Jonathan Swoboda b7d543290b Bump LibreTiny 2025-06-16 21:40:06 -04:00
J. Nick Koston ea852b60ac Merge branch 'esp32_ble_tracker_reduce_memory' into integration 2025-06-16 22:07:13 +02:00
J. Nick Koston ed341988ea Use smaller atomic types for ESP32 BLE Tracker ring buffer indices 2025-06-16 22:06:04 +02:00
J. Nick Koston 057b6c8e30 Merge branch 'api_reduce_millis' into integration 2025-06-16 19:34:07 +02:00
J. Nick Koston 44444fe071 Optimize API server performance by using cached loop time 2025-06-16 19:33:29 +02:00
J. Nick Koston 797330d6ab Disable Ethernet loop polling when connected and stable 2025-06-16 17:28:04 +02:00
J. Nick Koston a630d5b5f5 Merge branch 'ble_pool' into integration 2025-06-16 15:45:50 +02:00
J. Nick Koston eb3dc82b5d naming 2025-06-16 15:45:38 +02:00
J. Nick Koston 34ed18d562 Merge branch 'ble_pool' into integration 2025-06-16 15:43:59 +02:00
J. Nick Koston 1ce02ee313 naming 2025-06-16 15:43:43 +02:00
J. Nick Koston 2a26a0188c ble pool 2025-06-16 15:29:37 +02:00
J. Nick Koston 50cb05d1b1 ble pool 2025-06-16 15:28:03 +02:00
J. Nick Koston 6e739ac453 ble pool 2025-06-16 15:23:04 +02:00
J. Nick Koston 7aa2fd9f0e ble pool 2025-06-16 15:19:10 +02:00
J. Nick Koston 8e254e1b03 ble pool 2025-06-16 15:18:19 +02:00
J. Nick Koston 1ad9d717ff ble pool 2025-06-16 15:17:57 +02:00
J. Nick Koston 104658e43a ble pool 2025-06-16 15:16:15 +02:00
J. Nick Koston e7e4b995bf ble pool 2025-06-16 15:15:26 +02:00
J. Nick Koston b35b54f2c2 ble pool 2025-06-16 15:11:42 +02:00
J. Nick Koston f80aeb1d1d cleanup 2025-06-16 15:10:27 +02:00
J. Nick Koston 6a756ab3b6 cleanup 2025-06-16 15:09:49 +02:00
J. Nick Koston 58a697bed1 cleanup 2025-06-16 15:07:23 +02:00
J. Nick Koston 280960ac18 cleanup 2025-06-16 15:06:02 +02:00
J. Nick Koston 0640ff13aa ble pool 2025-06-16 15:04:40 +02:00
J. Nick Koston 545505691f ble pool 2025-06-16 15:02:10 +02:00
J. Nick Koston 11fcf81321 ble pool 2025-06-16 15:00:58 +02:00
J. Nick Koston c565b37dc8 ble pool 2025-06-16 15:00:07 +02:00
J. Nick Koston 3d18495270 ble pool 2025-06-16 14:55:15 +02:00
J. Nick Koston 419e4e63e9 ble pool 2025-06-16 14:53:50 +02:00
J. Nick Koston 724aa2bf65 ble pool 2025-06-16 14:52:38 +02:00
J. Nick Koston 573fa8aeb3 ble pool 2025-06-16 14:52:28 +02:00
J. Nick Koston 8a672e34c5 ble pool 2025-06-16 14:47:05 +02:00
J. Nick Koston bc49211dab ble pool 2025-06-16 14:43:29 +02:00
J. Nick Koston 4ef9c3667e Merge branch 'reduce_duplicate_gen_code_api' into integration 2025-06-16 06:06:19 -05:00
J. Nick Koston 6babe516ac move to proto.h to have less generated code 2025-06-16 06:05:19 -05:00
J. Nick Koston e0b258ef7e Merge branch 'empty_methods' into integration 2025-06-15 22:30:02 -05:00
J. Nick Koston ff0c3a89b1 Remove empty generated protobuf methods 2025-06-15 22:25:21 -05:00
J. Nick Koston 2511b81048 Merge branch 'reduce_duplicate_gen_code_api' into integration 2025-06-15 22:09:15 -05:00
J. Nick Koston 6ffcd94edc early return was worse for simple functions 2025-06-15 22:00:40 -05:00
J. Nick Koston 2fcf73c812 Reduce code duplication in auto-generated API protocol code 2025-06-15 21:53:33 -05:00
J. Nick Koston dee0608af9 adjust 2025-06-15 20:47:53 -05:00
J. Nick Koston d11860a383 Merge remote-tracking branch 'origin/loop_done' into integration 2025-06-15 20:44:24 -05:00
J. Nick Koston 1c05115bf5 Merge branch 'dev' into loop_done 2025-06-15 20:44:09 -05:00
J. Nick Koston d7e7382d0b tests, address review comments 2025-06-15 20:43:30 -05:00
J. Nick Koston 872388f6e3 tests, address review comments 2025-06-15 20:43:01 -05:00
J. Nick Koston 1215ef920b Merge branch 'loop_done' into integration 2025-06-15 20:36:08 -05:00
J. Nick Koston d19d5a23ea speed up test a bit 2025-06-15 20:36:00 -05:00
J. Nick Koston f49a779f1d speed up test a bit 2025-06-15 20:35:52 -05:00
J. Nick Koston d8bf5b80e1 Merge branch 'loop_done' into integration 2025-06-15 20:34:22 -05:00
J. Nick Koston 69483b9353 speed up test a bit 2025-06-15 20:34:13 -05:00
J. Nick Koston 14e8548989 speed up test a bit 2025-06-15 20:33:52 -05:00
J. Nick Koston 4abd93b661 tests, address review comments 2025-06-15 20:32:36 -05:00
J. Nick Koston 5d925af76f tests, address review comments 2025-06-15 20:31:25 -05:00
J. Nick Koston b999c6064a tests, address review comments 2025-06-15 20:30:54 -05:00
J. Nick Koston 94e3576978 tests, address review comments 2025-06-15 20:30:43 -05:00
J. Nick Koston 7a22406a2d Merge remote-tracking branch 'origin/integration' into integration 2025-06-15 20:29:36 -05:00
J. Nick Koston e60684494f Merge branch 'loop_done' into integration 2025-06-15 20:29:25 -05:00
J. Nick Koston 9db28ed779 cover 2025-06-15 20:29:12 -05:00
J. Nick Koston 6fd8c5cee7 tests, address review comments 2025-06-15 20:22:49 -05:00
J. Nick Koston 787ec43266 tests, address review comments 2025-06-15 20:22:29 -05:00
J. Nick Koston a4efc63bf2 test 2025-06-15 19:57:20 -05:00
J. Nick Koston 80a8f1437e tests 2025-06-15 19:38:13 -05:00
J. Nick Koston fcca94169d Merge remote-tracking branch 'origin/integration' into integration 2025-06-15 19:12:32 -05:00
J. Nick Koston d1924088e3 Merge remote-tracking branch 'origin/loop_done' into integration 2025-06-15 19:11:57 -05:00
J. Nick Koston fd31afe09c tidy 2025-06-15 18:58:42 -05:00
J. Nick Koston 7a763712c5 tidy 2025-06-15 18:58:32 -05:00
J. Nick Koston 7216be5da7 Merge branch 'loop_done' into integration 2025-06-15 18:44:36 -05:00
J. Nick Koston 711b0a291b comments 2025-06-15 18:44:28 -05:00
J. Nick Koston dfc96496c8 comments 2025-06-15 18:44:15 -05:00
J. Nick Koston 2a1c5ef333 Merge branch 'loop_done' into integration 2025-06-15 18:42:49 -05:00
J. Nick Koston 9755209499 comments 2025-06-15 18:42:40 -05:00
J. Nick Koston 0b26e537d4 Merge branch 'loop_done' into integration 2025-06-15 18:40:46 -05:00
J. Nick Koston 98c6233ec3 Merge branch 'dev' into loop_done 2025-06-15 18:40:33 -05:00
J. Nick Koston f711706b1a Fix ESP32 Improv component to re-enable loop when service starts again 2025-06-15 18:40:08 -05:00
J. Nick Koston cee7789ab6 tweak 2025-06-15 18:37:05 -05:00
J. Nick Koston 8a06c4380d partition 2025-06-15 18:32:36 -05:00
J. Nick Koston 72ecf7a288 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-15 16:48:20 -05:00
J. Nick Koston ef98c7502d Merge remote-tracking branch 'origin/dev' into integration 2025-06-15 13:42:11 -05:00
J. Nick Koston 03d0e74b65 Merge remote-tracking branch 'upstream/less_templates' into integration 2025-06-15 10:48:53 -05:00
J. Nick Koston 5b8fdc0364 Merge branch 'dev' into less_templates 2025-06-15 10:42:41 -05:00
J. Nick Koston 593b4bd137 Update script/api_protobuf/api_protobuf.py 2025-06-15 10:42:28 -05:00
J. Nick Koston 267e12d058 lint 2025-06-15 10:09:54 -05:00
J. Nick Koston 4a5e39b651 Add common base classes for entity protobuf messages to reduce duplicate code 2025-06-15 09:40:45 -05:00
J. Nick Koston ea24fa5b78 Merge branch 'loop_done' into integration 2025-06-15 01:52:27 -05:00
J. Nick Koston bb2bb128f7 remove trailing . 2025-06-15 01:52:17 -05:00
J. Nick Koston 94e8a856d7 Merge branch 'loop_done' into integration 2025-06-15 01:47:22 -05:00
J. Nick Koston 4c19fbf98e lint 2025-06-15 01:47:10 -05:00
J. Nick Koston 60f8938bfa Merge branch 'loop_done' into integration 2025-06-15 01:34:12 -05:00
J. Nick Koston 55679662b5 ordering 2025-06-15 01:34:03 -05:00
J. Nick Koston 53df959e49 Merge branch 'loop_done' into integration 2025-06-15 01:26:56 -05:00
J. Nick Koston 8e6ef9966f Merge remote-tracking branch 'upstream/loop_done' into loop_done 2025-06-15 01:26:45 -05:00
J. Nick Koston 1d52fceafa rename, cleanup 2025-06-15 01:26:25 -05:00
J. Nick Koston 99186ed864 rename, cleanup 2025-06-15 01:25:59 -05:00
J. Nick Koston 383931d484 Merge branch 'ble_events_ring_buffer' into integration 2025-06-15 00:31:34 -05:00
J. Nick Koston 0b49a54cb3 comments 2025-06-15 00:31:25 -05:00
J. Nick Koston 705c0f1891 Merge branch 'ble_events_ring_buffer' into integration 2025-06-15 00:27:13 -05:00
J. Nick Koston 544c3ffc95 comments 2025-06-15 00:26:06 -05:00
J. Nick Koston 33f252a45d Implement a lock free ring buffer for BLEEvents to avoid drops 2025-06-15 00:22:24 -05:00
J. Nick Koston f55d82a015 Merge branch 'ble_queue_lock_free' into integration 2025-06-15 00:16:02 -05:00
J. Nick Koston 8cf33fdef0 preen 2025-06-15 00:15:48 -05:00
J. Nick Koston f858d98811 Merge branch 'ble_queue_lock_free' into integration 2025-06-15 00:12:47 -05:00
J. Nick Koston 2a6165d440 simplify 2025-06-15 00:12:34 -05:00
J. Nick Koston 4586528c40 merge 2025-06-15 00:01:15 -05:00
J. Nick Koston 23a07baa19 Merge branch 'ble_queue_lock_free' into integration 2025-06-14 23:58:53 -05:00
J. Nick Koston f9040ca932 cleanup 2025-06-14 23:54:42 -05:00
J. Nick Koston 4cea7f0237 Update esphome/components/esp32_ble/ble.cpp 2025-06-14 23:49:38 -05:00
J. Nick Koston b1847d5e98 Make ble events queue lock free 2025-06-14 23:48:26 -05:00
J. Nick Koston 9ce4d2e952 Merge remote-tracking branch 'upstream/dev' into integration 2025-06-14 23:21:51 -05:00
J. Nick Koston 247078e06d Merge remote-tracking branch 'origin/loop_done' into integration 2025-06-14 23:20:20 -05:00
J. Nick Koston a0cd72de28 revert 2025-06-14 23:19:43 -05:00
J. Nick Koston e467f569f0 Merge branch 'loop_done' into integration 2025-06-14 23:15:49 -05:00
J. Nick Koston e31c7b7dfc one more 2025-06-14 23:15:06 -05:00
J. Nick Koston dc2e0c832b Merge branch 'loop_done' into integration 2025-06-14 22:37:11 -05:00
J. Nick Koston 7ddf51bb51 fix 2025-06-14 22:36:29 -05:00
J. Nick Koston 8fb3856665 small fix 2025-06-14 22:17:27 -05:00
J. Nick Koston 183dd74f3e one more 2025-06-14 22:17:27 -05:00
J. Nick Koston 4f29039b41 mark_loop_done 2025-06-14 22:17:24 -05:00
J. Nick Koston 102fcbec20 small fix 2025-06-14 22:09:19 -05:00
J. Nick Koston d00e5212c7 one more 2025-06-14 22:04:33 -05:00
J. Nick Koston 0e6bfb62cd mark_loop_done 2025-06-14 21:58:18 -05:00
J. Nick Koston f576e8f635 remove cap 2025-06-14 21:40:16 -05:00
J. Nick Koston e6dc10a440 address review comments 2025-06-14 21:34:21 -05:00
J. Nick Koston aa930fb6b6 Merge branch 'ble_queue_lock_free' into integration 2025-06-14 20:09:56 -05:00
J. Nick Koston f327ed87e9 Make ble events queue lock free 2025-06-14 20:08:43 -05:00
J. Nick Koston 2de9be0589 Merge branch 'loop_runtime_stats' into integration 2025-06-14 19:43:45 -05:00
J. Nick Koston 345cde8645 Merge branch 'ble_events_ring_buffer' into integration 2025-06-14 19:25:57 -05:00
J. Nick Koston cf152af9ae Implement a lock free ring buffer for BLEEvents to avoid drops 2025-06-14 19:24:57 -05:00
J. Nick Koston d6333dcfd9 Revert "Reorder Application to reduce padding"
This reverts commit 82c39580df.
2025-06-14 18:18:45 -05:00
J. Nick Koston 0121f799f0 Merge branch 'reorder_app_reduce_padding' into integration 2025-06-14 18:16:39 -05:00
J. Nick Koston 82c39580df Reorder Application to reduce padding 2025-06-14 18:15:40 -05:00
J. Nick Koston 53a578a46f Merge branch 'area_str' into integration 2025-06-14 18:01:44 -05:00
J. Nick Koston 62612ef80b Optimize Application area_ from std::string to const char* 2025-06-14 18:00:32 -05:00
J. Nick Koston 61ac874c4c Merge branch 'parse_on_off_uint8t' into integration 2025-06-14 17:46:25 -05:00
J. Nick Koston 976b200ff6 Make ParseOnOffState enum uint8_t 2025-06-14 17:44:22 -05:00
J. Nick Koston 852343b6d8 Merge remote-tracking branch 'upstream/has_state_' into integration 2025-06-14 17:32:40 -05:00
J. Nick Koston c56af9d52b Merge branch 'component_state_oversized' into integration 2025-06-14 17:03:31 -05:00
J. Nick Koston 05f18e2828 Optimize Component and Application state storage from uint32_t to uint8_t 2025-06-14 17:01:57 -05:00
J. Nick Koston 72804caab2 Merge branch 'warn_if_blocking_over_' into integration 2025-06-14 16:43:26 -05:00
J. Nick Koston 80cbe5c7c9 Reduce Component blocking threshold memory usage by 2 bytes per component 2025-06-14 16:42:08 -05:00
J. Nick Koston 21892d1236 Merge branch 'error_message_memory' into integration 2025-06-14 16:29:43 -05:00
J. Nick Koston 13824624f8 Reduce Component memory usage by 20 bytes per component 2025-06-14 16:27:45 -05:00
J. Nick Koston 0fd72ecbab Merge remote-tracking branch 'upstream/batch_exceeds_max_packet_size' into integration 2025-06-14 15:46:22 -05:00
J. Nick Koston f848cb1546 Merge remote-tracking branch 'upstream/footer_not_reserved' into integration 2025-06-14 15:46:13 -05:00
J. Nick Koston 633854081a Merge remote-tracking branch 'upstream/guard_wrong_total_size' into integration 2025-06-14 15:45:35 -05:00
J. Nick Koston 4fed9a581b Merge remote-tracking branch 'upstream/missing_force' into integration 2025-06-14 15:45:28 -05:00
J. Nick Koston e9c1202aaa Merge remote-tracking branch 'upstream/ble_events' into integration 2025-06-14 15:45:18 -05:00
J. Nick Koston 0a7ae279d0 preen 2025-06-14 11:40:50 -05:00
J. Nick Koston 0de2696543 Optimize memory usage by lazy-allocating raw callbacks in sensors 2025-06-14 11:37:11 -05:00
J. Nick Koston a7dc239b71 cleanup 2025-06-14 10:49:23 -05:00
J. Nick Koston fe0e6990f5 cover 2025-06-14 10:14:41 -05:00
J. Nick Koston 5ba65e92d9 cover 2025-06-14 10:12:12 -05:00
J. Nick Koston a1452b52c9 Reduce entity memory usage by eliminating field shadowing and bit-packing 2025-06-14 10:00:49 -05:00
J. Nick Koston dd2aa23a5f cover 2025-06-13 19:28:59 -05:00
J. Nick Koston 0e0359ba7d Fix protobuf encoding size mismatch by passing force parameter in encode_string 2025-06-13 19:20:08 -05:00
J. Nick Koston 93b1b7aded assert 2025-06-13 18:32:21 -05:00
J. Nick Koston 9472dc6a53 Fix API message encoding to return actual size instead of calculated size 2025-06-13 18:24:51 -05:00
J. Nick Koston 67b681854e Fix API message encoding to return actual size instead of calculated size 2025-06-13 18:20:01 -05:00
J. Nick Koston 7b5990833e Merge branch 'dev' into batch_exceeds_max_packet_size 2025-06-13 17:01:10 -05:00
J. Nick Koston b6d5d04589 More coverage 2025-06-13 16:59:36 -05:00
J. Nick Koston fdfbb3e944 Fix footer space not being reserved for batched messages
This only affects noise protocol, and its not a correctness issue, its only
fixing an inefficent reserve
2025-06-13 15:54:31 -05:00
J. Nick Koston faa7a3e37f tweak 2025-06-13 15:14:14 -05:00
J. Nick Koston 23748b82bb Ensure api can send batches where the first message exceeds MAX_PACKET_SIZE 2025-06-13 14:58:09 -05:00
J. Nick Koston bccb6f578a Ensure we can send batches where the first message exceeds MAX_PACKET_SIZE 2025-06-13 14:55:17 -05:00
J. Nick Koston de8a5d6e9e Merge branch 'dev' into ble_events 2025-06-13 10:46:45 -05:00
J. Nick Koston a8eb3f7961 lint 2025-06-13 10:46:09 -05:00
J. Nick Koston 2dc85f5a42 Merge remote-tracking branch 'upstream/esp32_touch_isr' into esp32_touch_isr 2025-06-13 10:11:49 -05:00
J. Nick Koston 82518b351d lint 2025-06-13 10:11:38 -05:00
J. Nick Koston 68f34a1683 Merge branch 'dev' into esp32_touch_isr 2025-06-12 20:19:29 -05:00
J. Nick Koston bc6b72a422 tweaks 2025-06-12 20:16:12 -05:00
J. Nick Koston 599e28e1cb fixes 2025-06-12 20:02:39 -05:00
J. Nick Koston ee6b2ba6c6 fixes 2025-06-12 19:56:12 -05:00
J. Nick Koston 0877b3e2af suppress unused events 2025-06-12 19:18:22 -05:00
J. Nick Koston d1edb1e32a fix 2025-06-12 18:34:00 -05:00
J. Nick Koston d1e6b8dd10 comment 2025-06-12 18:33:27 -05:00
J. Nick Koston b32fc3bfdd lint 2025-06-12 18:30:53 -05:00
J. Nick Koston 1e24417db0 help with setup 2025-06-12 18:09:39 -05:00
J. Nick Koston fb9387ecc5 help with setup 2025-06-12 17:55:21 -05:00
J. Nick Koston 6c5f4cdb70 help with setup 2025-06-12 17:49:01 -05:00
J. Nick Koston aabacb7454 help with setup 2025-06-12 17:47:25 -05:00
J. Nick Koston b5da84479e help with setup 2025-06-12 17:43:08 -05:00
J. Nick Koston 88d9361050 help with setup 2025-06-12 17:34:24 -05:00
J. Nick Koston 1d90388ffc help with setup 2025-06-12 17:27:09 -05:00
J. Nick Koston b3c43ce31f help with setup 2025-06-12 17:23:10 -05:00
J. Nick Koston 6d9d22d422 help with setup 2025-06-12 17:17:16 -05:00
J. Nick Koston 86be1f56d0 preen 2025-06-12 17:14:00 -05:00
J. Nick Koston a0c81ffd7a preen 2025-06-12 17:08:47 -05:00
J. Nick Koston ec1dc42e58 Revert "preen"
This reverts commit 866eaed73d.
2025-06-12 17:05:06 -05:00
J. Nick Koston 866eaed73d preen 2025-06-12 16:58:24 -05:00
J. Nick Koston a18374e1ad cleanup 2025-06-12 16:33:15 -05:00
J. Nick Koston f7afcb3b24 cleanup 2025-06-12 16:30:41 -05:00
J. Nick Koston 3adcae783c cleanup 2025-06-12 16:19:27 -05:00
J. Nick Koston 73b40dd2e7 cleanup 2025-06-12 16:19:15 -05:00
J. Nick Koston 1e12614f9a cleanup 2025-06-12 16:14:37 -05:00
J. Nick Koston aeaa7c699a Merge branch 'dev' into esp32_touch_isr 2025-06-12 15:57:26 -05:00
J. Nick Koston f1c56b7254 cleanup 2025-06-12 15:56:32 -05:00
J. Nick Koston e72e0d0646 cleanup 2025-06-12 15:56:19 -05:00
J. Nick Koston 5719d334aa cleanup 2025-06-12 15:56:04 -05:00
J. Nick Koston bcb6b85333 cleanup 2025-06-12 15:54:15 -05:00
J. Nick Koston 5d765413ef cleanup 2025-06-12 15:53:42 -05:00
J. Nick Koston efb2e5e7a8 cleanup 2025-06-12 15:52:38 -05:00
J. Nick Koston 5d5e346199 cleanup 2025-06-12 15:50:21 -05:00
J. Nick Koston 08a74890da cleanup 2025-06-12 15:48:29 -05:00
J. Nick Koston 0545b9c7f2 cleanup 2025-06-12 15:48:00 -05:00
J. Nick Koston bbf7d32676 cleanup 2025-06-12 15:47:31 -05:00
J. Nick Koston e83f4ae974 cleanup 2025-06-12 15:46:56 -05:00
J. Nick Koston 9b0d01e03f cleanup 2025-06-12 15:45:47 -05:00
J. Nick Koston eae0d90a1e adjust 2025-06-12 15:41:41 -05:00
J. Nick Koston 90c09a7650 split 2025-06-12 13:29:12 -05:00
J. Nick Koston aecf080211 touch ups 2025-06-12 13:16:48 -05:00
J. Nick Koston 8517420356 touch ups 2025-06-12 13:14:29 -05:00
J. Nick Koston 376be1f009 touch ups 2025-06-12 13:12:40 -05:00
J. Nick Koston 0021e76649 working 2025-06-12 13:07:25 -05:00
J. Nick Koston d440c4bc43 derbug 2025-06-12 13:00:55 -05:00
J. Nick Koston 50840b2105 derbug 2025-06-12 13:00:39 -05:00
J. Nick Koston 7502c6b6c0 debug 2025-06-12 12:44:28 -05:00
J. Nick Koston 919c32f0cc tweak 2025-06-12 12:20:47 -05:00
J. Nick Koston a28c951272 more debug 2025-06-12 12:13:46 -05:00
J. Nick Koston 13d7c5a9a9 more debug 2025-06-12 12:12:55 -05:00
J. Nick Koston 5f1383344d tweak 2025-06-12 12:10:50 -05:00
J. Nick Koston 48f43d3eb1 tweak 2025-06-12 11:58:21 -05:00
J. Nick Koston 4ac2141307 adjust 2025-06-12 11:52:29 -05:00
J. Nick Koston 719d8cac97 split it 2025-06-12 11:45:50 -05:00
J. Nick Koston 99cbe53a8e split it 2025-06-12 11:43:47 -05:00
J. Nick Koston a36af1bfac s3 fixes 2025-06-12 10:59:40 -05:00
J. Nick Koston 8b6aa319bf s3 fixes 2025-06-12 10:57:46 -05:00
J. Nick Koston a16d321e1a downgrade logging 2025-06-12 10:38:47 -05:00
J. Nick Koston 74e70278e2 fixes 2025-06-12 10:34:59 -05:00
J. Nick Koston 1332e24a2c fixes 2025-06-12 10:31:13 -05:00
J. Nick Koston 5ab78ec461 fixes 2025-06-12 10:30:58 -05:00
J. Nick Koston ce701d3c31 fixes 2025-06-12 10:29:11 -05:00
J. Nick Koston 5fca1be44d fixes 2025-06-12 10:27:22 -05:00
J. Nick Koston 0bd4c333bd cleanup 2025-06-12 10:21:41 -05:00
J. Nick Koston c6ed880732 fixes 2025-06-12 10:19:25 -05:00
J. Nick Koston da0f3c6cce fixes 2025-06-12 10:12:56 -05:00
J. Nick Koston e5d12d346a fixes 2025-06-12 10:08:29 -05:00
J. Nick Koston 478e2e726b fixes 2025-06-12 10:01:35 -05:00
J. Nick Koston dbdac3707b fixes 2025-06-12 10:00:49 -05:00
J. Nick Koston bd89a88e34 fixes 2025-06-12 09:23:38 -05:00
J. Nick Koston d322d83745 fixes 2025-06-12 09:21:03 -05:00
J. Nick Koston 463a581ab9 DEBUG! 2025-06-12 00:56:42 -05:00
J. Nick Koston eae4bd222a track pads 2025-06-11 23:29:00 -05:00
J. Nick Koston a7bb7fc14d fix 2025-06-11 22:55:15 -05:00
J. Nick Koston c047aa47eb use ll for all 2025-06-11 22:46:40 -05:00
J. Nick Koston 61bca56316 try touch_ll_read_raw_data 2025-06-11 22:43:41 -05:00
J. Nick Koston 9a37323eb8 Use interrupt based approach for esp32_touch 2025-06-11 22:32:25 -05:00
J. Nick Koston 99a54369bf Merge remote-tracking branch 'upstream/dev' into loop_runtime_stats 2025-06-11 22:01:22 -05:00
J. Nick Koston f7533dfc5c review 2025-06-11 16:25:31 -05:00
J. Nick Koston ee7d95272d lets be sure 2025-06-11 13:32:55 -05:00
J. Nick Koston 2b9b1d12e6 lets be sure 2025-06-11 13:32:47 -05:00
J. Nick Koston 2cbb5c7d8e fix error 2025-06-11 13:16:44 -05:00
J. Nick Koston 9686c7babe Merge branch 'dev' into ble_events 2025-06-11 13:09:32 -05:00
J. Nick Koston 66bd4c96c4 safety 2025-06-11 13:05:30 -05:00
J. Nick Koston dc47faa4b6 safety 2025-06-11 13:05:01 -05:00
J. Nick Koston 55ee0b116d lint 2025-06-11 13:03:50 -05:00
J. Nick Koston c6957c08bc lint 2025-06-11 13:02:08 -05:00
J. Nick Koston 8fe6a323d8 remove workaround 2025-06-11 13:00:55 -05:00
J. Nick Koston 8e51590c32 remove workaround 2025-06-11 12:59:57 -05:00
J. Nick Koston ae066d5627 cleanup 2025-06-11 11:55:28 -05:00
J. Nick Koston 6760279916 cleanup compacted code 2025-06-11 11:51:43 -05:00
J. Nick Koston 3c208050b0 comments 2025-06-11 11:47:34 -05:00
J. Nick Koston bbc7c9fb37 dry 2025-06-11 11:46:17 -05:00
J. Nick Koston e1c3862586 preen 2025-06-11 11:36:50 -05:00
J. Nick Koston c24b7cb7bd v->d 2025-06-11 11:34:30 -05:00
J. Nick Koston c91e16549d lint 2025-06-11 11:27:13 -05:00
J. Nick Koston 6e70aca458 wip 2025-06-11 11:23:13 -05:00
J. Nick Koston d9ffd0ac8e wip 2025-06-11 11:22:01 -05:00
J. Nick Koston 4641f73d19 comments 2025-06-11 11:19:36 -05:00
J. Nick Koston 9f0051c21f cleanup 2025-06-11 11:17:10 -05:00
J. Nick Koston 0331cb09e8 reduce 2025-06-11 11:17:01 -05:00
J. Nick Koston 2f8946f86c cleanup 2025-06-11 11:14:10 -05:00
J. Nick Koston 88a3df4008 cleanup 2025-06-11 11:13:34 -05:00
J. Nick Koston 0adf514bd6 preen 2025-06-11 11:09:19 -05:00
J. Nick Koston a1b5a2abcb tweak 2025-06-11 10:58:56 -05:00
J. Nick Koston 068c62c6fe adjust 2025-06-11 10:43:48 -05:00
J. Nick Koston 0e9f14f969 wip 2025-06-11 10:20:18 -05:00
J. Nick Koston 78315fd388 preen 2025-06-11 10:08:30 -05:00
J. Nick Koston 0ab69002df preen 2025-06-11 10:05:15 -05:00
J. Nick Koston 1eec1239ec wip 2025-06-11 09:56:02 -05:00
J. Nick Koston 60cc4c4ed0 Merge branch 'dev' into drop_unique_id 2025-06-11 08:26:41 -05:00
J. Nick Koston 34c100e997 Remove legacy unique_id field from entities
These are no longer used in Home Assistant. This will be a breaking
change for MQTT for the sensors that defined custom unique ids.
2025-06-07 22:17:07 -05:00
Daniel Vikstrom 57f4067fbf Move fnv1a_32bit_hash to helpers 2025-06-02 14:42:39 +02:00
Daniel Vikstrom f4a9221232 Change hash method 2025-06-02 08:31:06 +02:00
J. Nick Koston 3d4a75148d Merge branch 'dev' into multi_device 2025-05-31 10:27:31 -05:00
J. Nick Koston c2c5bd844d Merge branch 'dev' into multi_device 2025-05-29 13:43:21 -05:00
J. Nick Koston 98a2f23024 Merge remote-tracking branch 'upstream/dev' into loop_runtime_stats 2025-05-29 11:04:14 -05:00
J. Nick Koston c955897d1b Merge remote-tracking branch 'upstream/dev' into loop_runtime_stats 2025-05-27 11:39:45 -05:00
Daniel Vikstrom 9624efa21e Fix proto generation and clang 2025-05-22 14:18:46 +02:00
DanielV 831638210d Merge branch 'dev' into multi_device 2025-05-22 08:41:54 +02:00
J. Nick Koston cfdb0925ce Merge branch 'dev' into loop_runtime_stats 2025-05-13 23:42:19 -05:00
J. Nick Koston 83db3eddd9 revert ota 2025-05-13 01:07:43 -05:00
J. Nick Koston cc2c5a544e revert ota 2025-05-13 01:07:38 -05:00
J. Nick Koston 8fba8c2800 revert ota 2025-05-13 01:05:37 -05:00
J. Nick Koston 51d1da8460 revert ota 2025-05-13 01:04:09 -05:00
J. Nick Koston 2f1257056d revert 2025-05-13 01:02:00 -05:00
J. Nick Koston 2f8f6967bf fix ota 2025-05-13 00:55:19 -05:00
J. Nick Koston 246527e618 runtime stats 2025-05-13 00:54:05 -05:00
J. Nick Koston 3857cc9c83 runtime stats 2025-05-13 00:51:14 -05:00
Daniel Vikström a59a8c563e Attempt fixing circular import by lazy import 2025-05-06 12:30:04 +02:00
Daniel Vikström 856829bcbb More namespace and import fixes 2025-05-06 12:05:45 +02:00
Daniel Vikström dd2b931f61 Fix namespace error 2025-05-06 11:46:23 +02:00
Daniel Vikström 39beccbbb0 remove from CODEOWNERS 2025-05-06 10:50:09 +02:00
Daniel Vikström ff626b428f Attempt moving it to esphome config section 2025-05-06 10:48:26 +02:00
Daniel Vikström 3915e1f012 Revert "Improve stability for unrelated test"
This reverts commit 3922950951.
2025-05-06 03:36:03 +02:00
Daniel Vikström 7b460b6224 Restore ci-api-proto.yml 2025-05-06 03:34:33 +02:00
Daniel Vikström 8fb8e79730 Fix clang 2025-05-06 03:20:22 +02:00
Daniel Vikström 79bbc475f4 Fix generated files and revert entity config to device_id 2025-05-06 03:05:00 +02:00
Daniel Vikström cef023283b Fix generated files 2025-05-06 02:55:44 +02:00
Daniel Vikström d4fda79ada Attempt to replace device_id:str with device_uid:uint32 2025-05-06 02:07:59 +02:00
DanielV ff0bdcf4cd Merge branch 'dev' into multi_device 2025-05-06 00:48:23 +02:00
DanielV bfbc313144 Merge branch 'dev' into multi_device 2025-04-22 14:28:51 +02:00
Daniel Vikström 31f2376f15 Rename ref in codegen 2025-04-22 14:03:07 +02:00
DanielV f76ecb6604 Merge pull request #10 from dala318/multi_device_2
Sub Devices (all entities)
2025-04-22 08:49:28 +02:00
Daniel Vikström 298cc58433 Activate the rest of entities 2025-04-19 23:18:26 +02:00
Daniel Vikström 825c0593e1 Fix generated code after merge 2025-04-19 19:07:50 +02:00
DanielV 87ed1dc3e3 Merge branch 'dev' into multi_device 2025-04-19 18:58:09 +02:00
DanielV 67e9db021c Merge branch 'dev' into multi_device 2025-04-14 22:21:50 +02:00
Daniel Vikström 3922950951 Improve stability for unrelated test 2025-04-14 21:37:27 +02:00
DanielV 9c4aa0ba53 Merge branch 'dev' into multi_device 2025-04-11 13:19:52 +02:00
Daniel Vikström f5f1651b31 Fix clang 2025-04-10 09:35:08 +02:00
Daniel Vikström 32f4e4ca13 Cleaning up 2025-04-09 19:20:28 +02:00
Daniel Vikström 962e0c4c33 Make it a Class but only use the id in entities 2025-04-09 19:09:31 +02:00
Daniel Vikström 2c01bc5795 Fix clang-tidy 2025-04-09 15:22:40 +02:00
Daniel Vikström 0651f7cb3c Work on sub-device creation 2025-04-09 01:39:24 +02:00
Daniel Vikström 01ac59ce2a Store proto with all additions but commented out 2025-04-09 01:18:42 +02:00
Daniel Vikström c1fd597757 Add CODEOWNER 2025-04-09 01:12:14 +02:00
Daniel Vikström e79e244eee Fix generated proto-files 2025-04-09 01:09:45 +02:00
Daniel Vikström 68ecc08111 Register device_id to entity and separate struct for all device info 2025-04-09 00:11:05 +02:00
Daniel Vikström 3b5fbc359f Formating updates 2025-04-08 22:21:11 +02:00
Daniel Vikström 583e5ea47f Add code-owner tag 2025-04-08 22:21:08 +02:00
Daniel Vikström 7b647c3fae Add a single test 2025-04-08 22:21:07 +02:00
Daniel Vikström a8b76c617c Some basic chain working 2025-04-08 22:07:09 +02:00
Daniel Vikström 1bd8985dff Add a device component 2025-04-08 22:00:09 +02:00
Daniel Vikström 25b5a6c4ae Add device_id to entity_base 2025-04-08 22:00:06 +02:00
163 changed files with 2053 additions and 680 deletions
+18
View File
@@ -800,6 +800,13 @@ def command_vscode(args: ArgsProtocol) -> int | None:
def command_compile(args: ArgsProtocol, config: ConfigType) -> int | None:
# Set memory analysis options in config
if args.analyze_memory:
config.setdefault(CONF_ESPHOME, {})["analyze_memory"] = True
if args.memory_report:
config.setdefault(CONF_ESPHOME, {})["memory_report_file"] = args.memory_report
exit_code = write_cpp(config)
if exit_code != 0:
return exit_code
@@ -1284,6 +1291,17 @@ def parse_args(argv):
help="Only generate source code, do not compile.",
action="store_true",
)
parser_compile.add_argument(
"--analyze-memory",
help="Analyze and display memory usage by component after compilation.",
action="store_true",
)
parser_compile.add_argument(
"--memory-report",
help="Save memory analysis report to a file (supports .json or .txt).",
type=str,
metavar="FILE",
)
parser_upload = subparsers.add_parser(
"upload",
+23
View File
@@ -4,6 +4,7 @@ from __future__ import annotations
from collections import defaultdict
from collections.abc import Callable
import json
import sys
from typing import TYPE_CHECKING
@@ -438,6 +439,28 @@ class MemoryAnalyzerCLI(MemoryAnalyzer):
return "\n".join(lines)
def to_json(self) -> str:
"""Export analysis results as JSON."""
data = {
"components": {
name: {
"text": mem.text_size,
"rodata": mem.rodata_size,
"data": mem.data_size,
"bss": mem.bss_size,
"flash_total": mem.flash_total,
"ram_total": mem.ram_total,
"symbol_count": mem.symbol_count,
}
for name, mem in self.components.items()
},
"totals": {
"flash": sum(c.flash_total for c in self.components.values()),
"ram": sum(c.ram_total for c in self.components.values()),
},
}
return json.dumps(data, indent=2)
def dump_uncategorized_symbols(self, output_file: str | None = None) -> None:
"""Dump uncategorized symbols for analysis."""
# Sort by size descending
+1
View File
@@ -69,6 +69,7 @@ from esphome.cpp_types import ( # noqa: F401
JsonObjectConst,
Parented,
PollingComponent,
StringRef,
arduino_json_ns,
bool_,
const_char_ptr,
+4 -7
View File
@@ -1,6 +1,6 @@
#include "am43_base.h"
#include "esphome/core/helpers.h"
#include <cstring>
#include <cstdio>
namespace esphome {
namespace am43 {
@@ -8,12 +8,9 @@ namespace am43 {
const uint8_t START_PACKET[5] = {0x00, 0xff, 0x00, 0x00, 0x9a};
std::string pkt_to_hex(const uint8_t *data, uint16_t len) {
char buf[64];
memset(buf, 0, 64);
for (int i = 0; i < len; i++)
sprintf(&buf[i * 2], "%02x", data[i]);
std::string ret = buf;
return ret;
char buf[64]; // format_hex_size(31) = 63, fits 31 bytes of hex data
format_hex_to(buf, sizeof(buf), data, len);
return buf;
}
Am43Packet *Am43Encoder::get_battery_level_request() {
+9 -9
View File
@@ -18,31 +18,31 @@ AnovaPacket *AnovaCodec::clean_packet_() {
AnovaPacket *AnovaCodec::get_read_device_status_request() {
this->current_query_ = READ_DEVICE_STATUS;
sprintf((char *) this->packet_.data, "%s", CMD_READ_DEVICE_STATUS);
strncpy((char *) this->packet_.data, CMD_READ_DEVICE_STATUS, sizeof(this->packet_.data));
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_read_target_temp_request() {
this->current_query_ = READ_TARGET_TEMPERATURE;
sprintf((char *) this->packet_.data, "%s", CMD_READ_TARGET_TEMP);
strncpy((char *) this->packet_.data, CMD_READ_TARGET_TEMP, sizeof(this->packet_.data));
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_read_current_temp_request() {
this->current_query_ = READ_CURRENT_TEMPERATURE;
sprintf((char *) this->packet_.data, "%s", CMD_READ_CURRENT_TEMP);
strncpy((char *) this->packet_.data, CMD_READ_CURRENT_TEMP, sizeof(this->packet_.data));
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_read_unit_request() {
this->current_query_ = READ_UNIT;
sprintf((char *) this->packet_.data, "%s", CMD_READ_UNIT);
strncpy((char *) this->packet_.data, CMD_READ_UNIT, sizeof(this->packet_.data));
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_read_data_request() {
this->current_query_ = READ_DATA;
sprintf((char *) this->packet_.data, "%s", CMD_READ_DATA);
strncpy((char *) this->packet_.data, CMD_READ_DATA, sizeof(this->packet_.data));
return this->clean_packet_();
}
@@ -50,25 +50,25 @@ AnovaPacket *AnovaCodec::get_set_target_temp_request(float temperature) {
this->current_query_ = SET_TARGET_TEMPERATURE;
if (this->fahrenheit_)
temperature = ctof(temperature);
sprintf((char *) this->packet_.data, CMD_SET_TARGET_TEMP, temperature);
snprintf((char *) this->packet_.data, sizeof(this->packet_.data), CMD_SET_TARGET_TEMP, temperature);
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_set_unit_request(char unit) {
this->current_query_ = SET_UNIT;
sprintf((char *) this->packet_.data, CMD_SET_TEMP_UNIT, unit);
snprintf((char *) this->packet_.data, sizeof(this->packet_.data), CMD_SET_TEMP_UNIT, unit);
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_start_request() {
this->current_query_ = START;
sprintf((char *) this->packet_.data, CMD_START);
strncpy((char *) this->packet_.data, CMD_START, sizeof(this->packet_.data));
return this->clean_packet_();
}
AnovaPacket *AnovaCodec::get_stop_request() {
this->current_query_ = STOP;
sprintf((char *) this->packet_.data, CMD_STOP);
strncpy((char *) this->packet_.data, CMD_STOP, sizeof(this->packet_.data));
return this->clean_packet_();
}
+6 -3
View File
@@ -158,12 +158,14 @@ void ATM90E32Component::setup() {
if (this->enable_offset_calibration_) {
// Initialize flash storage for offset calibrations
uint32_t o_hash = fnv1_hash(std::string("_offset_calibration_") + this->cs_summary_);
uint32_t o_hash = fnv1_hash("_offset_calibration_");
o_hash = fnv1_hash_extend(o_hash, this->cs_summary_);
this->offset_pref_ = global_preferences->make_preference<OffsetCalibration[3]>(o_hash, true);
this->restore_offset_calibrations_();
// Initialize flash storage for power offset calibrations
uint32_t po_hash = fnv1_hash(std::string("_power_offset_calibration_") + this->cs_summary_);
uint32_t po_hash = fnv1_hash("_power_offset_calibration_");
po_hash = fnv1_hash_extend(po_hash, this->cs_summary_);
this->power_offset_pref_ = global_preferences->make_preference<PowerOffsetCalibration[3]>(po_hash, true);
this->restore_power_offset_calibrations_();
} else {
@@ -183,7 +185,8 @@ void ATM90E32Component::setup() {
if (this->enable_gain_calibration_) {
// Initialize flash storage for gain calibration
uint32_t g_hash = fnv1_hash(std::string("_gain_calibration_") + this->cs_summary_);
uint32_t g_hash = fnv1_hash("_gain_calibration_");
g_hash = fnv1_hash_extend(g_hash, this->cs_summary_);
this->gain_calibration_pref_ = global_preferences->make_preference<GainCalibration[3]>(g_hash, true);
this->restore_gain_calibrations_();
+3 -5
View File
@@ -185,18 +185,16 @@ esp_err_t AudioReader::start(const std::string &uri, AudioFileType &file_type) {
return err;
}
std::string url_string = str_lower_case(url);
if (str_endswith(url_string, ".wav")) {
if (str_endswith_ignore_case(url, ".wav")) {
file_type = AudioFileType::WAV;
}
#ifdef USE_AUDIO_MP3_SUPPORT
else if (str_endswith(url_string, ".mp3")) {
else if (str_endswith_ignore_case(url, ".mp3")) {
file_type = AudioFileType::MP3;
}
#endif
#ifdef USE_AUDIO_FLAC_SUPPORT
else if (str_endswith(url_string, ".flac")) {
else if (str_endswith_ignore_case(url, ".flac")) {
file_type = AudioFileType::FLAC;
}
#endif
+1
View File
@@ -3,6 +3,7 @@
#include "bedjet_hub.h"
#include "bedjet_child.h"
#include "bedjet_const.h"
#include "esphome/components/esp32_ble/ble_uuid.h"
#include "esphome/core/application.h"
#include <cinttypes>
+2 -2
View File
@@ -81,8 +81,8 @@ void CCS811Component::setup() {
bootloader_version, application_version);
if (this->version_ != nullptr) {
char version[20]; // "15.15.15 (0xffff)" is 17 chars, plus NUL, plus wiggle room
sprintf(version, "%d.%d.%d (0x%02x)", (application_version >> 12 & 15), (application_version >> 8 & 15),
(application_version >> 4 & 15), application_version);
buf_append_printf(version, sizeof(version), 0, "%d.%d.%d (0x%02x)", (application_version >> 12 & 15),
(application_version >> 8 & 15), (application_version >> 4 & 15), application_version);
ESP_LOGD(TAG, "publishing version state: %s", version);
this->version_->publish_state(version);
}
+1 -1
View File
@@ -133,7 +133,7 @@ bool CH422GGPIOPin::digital_read() { return this->parent_->digital_read(this->pi
void CH422GGPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value ^ this->inverted_); }
size_t CH422GGPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "EXIO%u via CH422G", this->pin_);
return buf_append_printf(buffer, len, 0, "EXIO%u via CH422G", this->pin_);
}
void CH422GGPIOPin::set_flags(gpio::Flags flags) {
flags_ = flags;
+10 -6
View File
@@ -207,20 +207,24 @@ void CSE7766Component::parse_data_() {
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE
{
std::string buf = "Parsed:";
// Buffer: 7 + 15 + 33 + 15 + 25 = 95 chars max + null, rounded to 128 for safety margin.
// Float sizes with %.4f can be up to 11 chars for large values (e.g., 999999.9999).
char buf[128];
size_t pos = buf_append_printf(buf, sizeof(buf), 0, "Parsed:");
if (have_voltage) {
buf += str_sprintf(" V=%fV", voltage);
pos = buf_append_printf(buf, sizeof(buf), pos, " V=%.4fV", voltage);
}
if (have_current) {
buf += str_sprintf(" I=%fmA (~%fmA)", current * 1000.0f, calculated_current * 1000.0f);
pos = buf_append_printf(buf, sizeof(buf), pos, " I=%.4fmA (~%.4fmA)", current * 1000.0f,
calculated_current * 1000.0f);
}
if (have_power) {
buf += str_sprintf(" P=%fW", power);
pos = buf_append_printf(buf, sizeof(buf), pos, " P=%.4fW", power);
}
if (energy != 0.0f) {
buf += str_sprintf(" E=%fkWh (%u)", energy, cf_pulses);
buf_append_printf(buf, sizeof(buf), pos, " E=%.4fkWh (%u)", energy, cf_pulses);
}
ESP_LOGVV(TAG, "%s", buf.c_str());
ESP_LOGVV(TAG, "%s", buf);
}
#endif
}
+12 -9
View File
@@ -258,8 +258,9 @@ bool DaikinArcClimate::parse_state_frame_(const uint8_t frame[]) {
}
char buf[DAIKIN_STATE_FRAME_SIZE * 3 + 1] = {0};
size_t pos = 0;
for (size_t i = 0; i < DAIKIN_STATE_FRAME_SIZE; i++) {
sprintf(buf, "%s%02x ", buf, frame[i]);
pos = buf_append_printf(buf, sizeof(buf), pos, "%02x ", frame[i]);
}
ESP_LOGD(TAG, "FRAME %s", buf);
@@ -349,8 +350,9 @@ bool DaikinArcClimate::on_receive(remote_base::RemoteReceiveData data) {
if (data.expect_item(DAIKIN_HEADER_MARK, DAIKIN_HEADER_SPACE)) {
valid_daikin_frame = true;
size_t bytes_count = data.size() / 2 / 8;
std::unique_ptr<char[]> buf(new char[bytes_count * 3 + 1]);
buf[0] = '\0';
size_t buf_size = bytes_count * 3 + 1;
std::unique_ptr<char[]> buf(new char[buf_size]()); // value-initialize (zero-fill)
size_t buf_pos = 0;
for (size_t i = 0; i < bytes_count; i++) {
uint8_t byte = 0;
for (int8_t bit = 0; bit < 8; bit++) {
@@ -361,19 +363,19 @@ bool DaikinArcClimate::on_receive(remote_base::RemoteReceiveData data) {
break;
}
}
sprintf(buf.get(), "%s%02x ", buf.get(), byte);
buf_pos = buf_append_printf(buf.get(), buf_size, buf_pos, "%02x ", byte);
}
ESP_LOGD(TAG, "WHOLE FRAME %s size: %d", buf.get(), data.size());
}
if (!valid_daikin_frame) {
char sbuf[16 * 10 + 1];
sbuf[0] = '\0';
char sbuf[16 * 10 + 1] = {0};
size_t sbuf_pos = 0;
for (size_t j = 0; j < static_cast<size_t>(data.size()); j++) {
if ((j - 2) % 16 == 0) {
if (j > 0) {
ESP_LOGD(TAG, "DATA %04x: %s", (j - 16 > 0xffff ? 0 : j - 16), sbuf);
}
sbuf[0] = '\0';
sbuf_pos = 0;
}
char type_ch = ' ';
// debug_tolerance = 25%
@@ -401,9 +403,10 @@ bool DaikinArcClimate::on_receive(remote_base::RemoteReceiveData data) {
type_ch = '0';
if (abs(data[j]) > 100000) {
sprintf(sbuf, "%s%-5d[%c] ", sbuf, data[j] > 0 ? 99999 : -99999, type_ch);
sbuf_pos = buf_append_printf(sbuf, sizeof(sbuf), sbuf_pos, "%-5d[%c] ", data[j] > 0 ? 99999 : -99999, type_ch);
} else {
sprintf(sbuf, "%s%-5d[%c] ", sbuf, (int) (round(data[j] / 10.) * 10), type_ch);
sbuf_pos =
buf_append_printf(sbuf, sizeof(sbuf), sbuf_pos, "%-5d[%c] ", (int) (round(data[j] / 10.) * 10), type_ch);
}
if (j + 1 == static_cast<size_t>(data.size())) {
ESP_LOGD(TAG, "DATA %04x: %s", (j - 8 > 0xffff ? 0 : j - 8), sbuf);
+1 -1
View File
@@ -30,7 +30,7 @@ void DebugComponent::dump_config() {
char device_info_buffer[DEVICE_INFO_BUFFER_SIZE];
ESP_LOGD(TAG, "ESPHome version %s", ESPHOME_VERSION);
size_t pos = buf_append(device_info_buffer, DEVICE_INFO_BUFFER_SIZE, 0, "%s", ESPHOME_VERSION);
size_t pos = buf_append_printf(device_info_buffer, DEVICE_INFO_BUFFER_SIZE, 0, "%s", ESPHOME_VERSION);
this->free_heap_ = get_free_heap_();
ESP_LOGD(TAG, "Free Heap Size: %" PRIu32 " bytes", this->free_heap_);
+1 -40
View File
@@ -5,12 +5,6 @@
#include "esphome/core/helpers.h"
#include "esphome/core/macros.h"
#include <span>
#include <cstdarg>
#include <cstdio>
#include <algorithm>
#ifdef USE_ESP8266
#include <pgmspace.h>
#endif
#ifdef USE_SENSOR
#include "esphome/components/sensor/sensor.h"
@@ -25,40 +19,7 @@ namespace debug {
static constexpr size_t DEVICE_INFO_BUFFER_SIZE = 256;
static constexpr size_t RESET_REASON_BUFFER_SIZE = 128;
#ifdef USE_ESP8266
// ESP8266: Use vsnprintf_P to keep format strings in flash (PROGMEM)
// Format strings must be wrapped with PSTR() macro
inline size_t buf_append_p(char *buf, size_t size, size_t pos, PGM_P fmt, ...) {
if (pos >= size) {
return size;
}
va_list args;
va_start(args, fmt);
int written = vsnprintf_P(buf + pos, size - pos, fmt, args);
va_end(args);
if (written < 0) {
return pos; // encoding error
}
return std::min(pos + static_cast<size_t>(written), size);
}
#define buf_append(buf, size, pos, fmt, ...) buf_append_p(buf, size, pos, PSTR(fmt), ##__VA_ARGS__)
#else
/// Safely append formatted string to buffer, returning new position (capped at size)
__attribute__((format(printf, 4, 5))) inline size_t buf_append(char *buf, size_t size, size_t pos, const char *fmt,
...) {
if (pos >= size) {
return size;
}
va_list args;
va_start(args, fmt);
int written = vsnprintf(buf + pos, size - pos, fmt, args);
va_end(args);
if (written < 0) {
return pos; // encoding error
}
return std::min(pos + static_cast<size_t>(written), size);
}
#endif
// buf_append_printf is now provided by esphome/core/helpers.h
class DebugComponent : public PollingComponent {
public:
+15 -15
View File
@@ -173,8 +173,8 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
uint32_t flash_size = ESP.getFlashChipSize() / 1024; // NOLINT
uint32_t flash_speed = ESP.getFlashChipSpeed() / 1000000; // NOLINT
ESP_LOGD(TAG, "Flash Chip: Size=%" PRIu32 "kB Speed=%" PRIu32 "MHz Mode=%s", flash_size, flash_speed, flash_mode);
pos = buf_append(buf, size, pos, "|Flash: %" PRIu32 "kB Speed:%" PRIu32 "MHz Mode:%s", flash_size, flash_speed,
flash_mode);
pos = buf_append_printf(buf, size, pos, "|Flash: %" PRIu32 "kB Speed:%" PRIu32 "MHz Mode:%s", flash_size, flash_speed,
flash_mode);
#endif
esp_chip_info_t info;
@@ -182,52 +182,52 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
const char *model = ESPHOME_VARIANT;
// Build features string
pos = buf_append(buf, size, pos, "|Chip: %s Features:", model);
pos = buf_append_printf(buf, size, pos, "|Chip: %s Features:", model);
bool first_feature = true;
for (const auto &feature : CHIP_FEATURES) {
if (info.features & feature.bit) {
pos = buf_append(buf, size, pos, "%s%s", first_feature ? "" : ", ", feature.name);
pos = buf_append_printf(buf, size, pos, "%s%s", first_feature ? "" : ", ", feature.name);
first_feature = false;
info.features &= ~feature.bit;
}
}
if (info.features != 0) {
pos = buf_append(buf, size, pos, "%sOther:0x%" PRIx32, first_feature ? "" : ", ", info.features);
pos = buf_append_printf(buf, size, pos, "%sOther:0x%" PRIx32, first_feature ? "" : ", ", info.features);
}
ESP_LOGD(TAG, "Chip: Model=%s, Cores=%u, Revision=%u", model, info.cores, info.revision);
pos = buf_append(buf, size, pos, " Cores:%u Revision:%u", info.cores, info.revision);
pos = buf_append_printf(buf, size, pos, " Cores:%u Revision:%u", info.cores, info.revision);
uint32_t cpu_freq_mhz = arch_get_cpu_freq_hz() / 1000000;
ESP_LOGD(TAG, "CPU Frequency: %" PRIu32 " MHz", cpu_freq_mhz);
pos = buf_append(buf, size, pos, "|CPU Frequency: %" PRIu32 " MHz", cpu_freq_mhz);
pos = buf_append_printf(buf, size, pos, "|CPU Frequency: %" PRIu32 " MHz", cpu_freq_mhz);
// Framework detection
#ifdef USE_ARDUINO
ESP_LOGD(TAG, "Framework: Arduino");
pos = buf_append(buf, size, pos, "|Framework: Arduino");
pos = buf_append_printf(buf, size, pos, "|Framework: Arduino");
#elif defined(USE_ESP32)
ESP_LOGD(TAG, "Framework: ESP-IDF");
pos = buf_append(buf, size, pos, "|Framework: ESP-IDF");
pos = buf_append_printf(buf, size, pos, "|Framework: ESP-IDF");
#else
ESP_LOGW(TAG, "Framework: UNKNOWN");
pos = buf_append(buf, size, pos, "|Framework: UNKNOWN");
pos = buf_append_printf(buf, size, pos, "|Framework: UNKNOWN");
#endif
ESP_LOGD(TAG, "ESP-IDF Version: %s", esp_get_idf_version());
pos = buf_append(buf, size, pos, "|ESP-IDF: %s", esp_get_idf_version());
pos = buf_append_printf(buf, size, pos, "|ESP-IDF: %s", esp_get_idf_version());
uint8_t mac[6];
get_mac_address_raw(mac);
ESP_LOGD(TAG, "EFuse MAC: %02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
pos = buf_append(buf, size, pos, "|EFuse MAC: %02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3], mac[4],
mac[5]);
pos = buf_append_printf(buf, size, pos, "|EFuse MAC: %02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3],
mac[4], mac[5]);
char reason_buffer[RESET_REASON_BUFFER_SIZE];
const char *reset_reason = get_reset_reason_(std::span<char, RESET_REASON_BUFFER_SIZE>(reason_buffer));
pos = buf_append(buf, size, pos, "|Reset: %s", reset_reason);
pos = buf_append_printf(buf, size, pos, "|Reset: %s", reset_reason);
const char *wakeup_cause = get_wakeup_cause_(std::span<char, RESET_REASON_BUFFER_SIZE>(reason_buffer));
pos = buf_append(buf, size, pos, "|Wakeup: %s", wakeup_cause);
pos = buf_append_printf(buf, size, pos, "|Wakeup: %s", wakeup_cause);
return pos;
}
+11 -11
View File
@@ -53,8 +53,8 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
uint32_t flash_size = ESP.getFlashChipSize() / 1024; // NOLINT
uint32_t flash_speed = ESP.getFlashChipSpeed() / 1000000; // NOLINT
ESP_LOGD(TAG, "Flash Chip: Size=%" PRIu32 "kB Speed=%" PRIu32 "MHz Mode=%s", flash_size, flash_speed, flash_mode);
pos = buf_append(buf, size, pos, "|Flash: %" PRIu32 "kB Speed:%" PRIu32 "MHz Mode:%s", flash_size, flash_speed,
flash_mode);
pos = buf_append_printf(buf, size, pos, "|Flash: %" PRIu32 "kB Speed:%" PRIu32 "MHz Mode:%s", flash_size, flash_speed,
flash_mode);
#if !defined(CLANG_TIDY)
char reason_buffer[RESET_REASON_BUFFER_SIZE];
@@ -77,15 +77,15 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
chip_id, ESP.getSdkVersion(), ESP.getCoreVersion().c_str(), boot_version, boot_mode, cpu_freq, flash_chip_id,
reset_reason, ESP.getResetInfo().c_str());
pos = buf_append(buf, size, pos, "|Chip: 0x%08" PRIX32, chip_id);
pos = buf_append(buf, size, pos, "|SDK: %s", ESP.getSdkVersion());
pos = buf_append(buf, size, pos, "|Core: %s", ESP.getCoreVersion().c_str());
pos = buf_append(buf, size, pos, "|Boot: %u", boot_version);
pos = buf_append(buf, size, pos, "|Mode: %u", boot_mode);
pos = buf_append(buf, size, pos, "|CPU: %u", cpu_freq);
pos = buf_append(buf, size, pos, "|Flash: 0x%08" PRIX32, flash_chip_id);
pos = buf_append(buf, size, pos, "|Reset: %s", reset_reason);
pos = buf_append(buf, size, pos, "|%s", ESP.getResetInfo().c_str());
pos = buf_append_printf(buf, size, pos, "|Chip: 0x%08" PRIX32, chip_id);
pos = buf_append_printf(buf, size, pos, "|SDK: %s", ESP.getSdkVersion());
pos = buf_append_printf(buf, size, pos, "|Core: %s", ESP.getCoreVersion().c_str());
pos = buf_append_printf(buf, size, pos, "|Boot: %u", boot_version);
pos = buf_append_printf(buf, size, pos, "|Mode: %u", boot_mode);
pos = buf_append_printf(buf, size, pos, "|CPU: %u", cpu_freq);
pos = buf_append_printf(buf, size, pos, "|Flash: 0x%08" PRIX32, flash_chip_id);
pos = buf_append_printf(buf, size, pos, "|Reset: %s", reset_reason);
pos = buf_append_printf(buf, size, pos, "|%s", ESP.getResetInfo().c_str());
#endif
return pos;
+6 -6
View File
@@ -36,12 +36,12 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
lt_get_version(), lt_cpu_get_model_name(), lt_cpu_get_model(), lt_cpu_get_freq_mhz(), mac_id,
lt_get_board_code(), flash_kib, ram_kib, reset_reason);
pos = buf_append(buf, size, pos, "|Version: %s", LT_BANNER_STR + 10);
pos = buf_append(buf, size, pos, "|Reset Reason: %s", reset_reason);
pos = buf_append(buf, size, pos, "|Chip Name: %s", lt_cpu_get_model_name());
pos = buf_append(buf, size, pos, "|Chip ID: 0x%06" PRIX32, mac_id);
pos = buf_append(buf, size, pos, "|Flash: %" PRIu32 " KiB", flash_kib);
pos = buf_append(buf, size, pos, "|RAM: %" PRIu32 " KiB", ram_kib);
pos = buf_append_printf(buf, size, pos, "|Version: %s", LT_BANNER_STR + 10);
pos = buf_append_printf(buf, size, pos, "|Reset Reason: %s", reset_reason);
pos = buf_append_printf(buf, size, pos, "|Chip Name: %s", lt_cpu_get_model_name());
pos = buf_append_printf(buf, size, pos, "|Chip ID: 0x%06" PRIX32, mac_id);
pos = buf_append_printf(buf, size, pos, "|Flash: %" PRIu32 " KiB", flash_kib);
pos = buf_append_printf(buf, size, pos, "|RAM: %" PRIu32 " KiB", ram_kib);
return pos;
}
+1 -1
View File
@@ -19,7 +19,7 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
uint32_t cpu_freq = rp2040.f_cpu();
ESP_LOGD(TAG, "CPU Frequency: %" PRIu32, cpu_freq);
pos = buf_append(buf, size, pos, "|CPU Frequency: %" PRIu32, cpu_freq);
pos = buf_append_printf(buf, size, pos, "|CPU Frequency: %" PRIu32, cpu_freq);
return pos;
}
+10 -10
View File
@@ -20,9 +20,9 @@ static size_t append_reset_reason(char *buf, size_t size, size_t pos, bool set,
return pos;
}
if (pos > 0) {
pos = buf_append(buf, size, pos, ", ");
pos = buf_append_printf(buf, size, pos, ", ");
}
return buf_append(buf, size, pos, "%s", reason);
return buf_append_printf(buf, size, pos, "%s", reason);
}
static inline uint32_t read_mem_u32(uintptr_t addr) {
@@ -140,7 +140,7 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
const char *supply_status =
(nrf_power_mainregstatus_get(NRF_POWER) == NRF_POWER_MAINREGSTATUS_NORMAL) ? "Normal voltage." : "High voltage.";
ESP_LOGD(TAG, "Main supply status: %s", supply_status);
pos = buf_append(buf, size, pos, "|Main supply status: %s", supply_status);
pos = buf_append_printf(buf, size, pos, "|Main supply status: %s", supply_status);
// Regulator stage 0
if (nrf_power_mainregstatus_get(NRF_POWER) == NRF_POWER_MAINREGSTATUS_HIGH) {
@@ -172,16 +172,16 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
reg0_voltage = "???V";
}
ESP_LOGD(TAG, "Regulator stage 0: %s, %s", reg0_type, reg0_voltage);
pos = buf_append(buf, size, pos, "|Regulator stage 0: %s, %s", reg0_type, reg0_voltage);
pos = buf_append_printf(buf, size, pos, "|Regulator stage 0: %s, %s", reg0_type, reg0_voltage);
} else {
ESP_LOGD(TAG, "Regulator stage 0: disabled");
pos = buf_append(buf, size, pos, "|Regulator stage 0: disabled");
pos = buf_append_printf(buf, size, pos, "|Regulator stage 0: disabled");
}
// Regulator stage 1
const char *reg1_type = nrf_power_dcdcen_get(NRF_POWER) ? "DC/DC" : "LDO";
ESP_LOGD(TAG, "Regulator stage 1: %s", reg1_type);
pos = buf_append(buf, size, pos, "|Regulator stage 1: %s", reg1_type);
pos = buf_append_printf(buf, size, pos, "|Regulator stage 1: %s", reg1_type);
// USB power state
const char *usb_state;
@@ -195,7 +195,7 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
usb_state = "disconnected";
}
ESP_LOGD(TAG, "USB power state: %s", usb_state);
pos = buf_append(buf, size, pos, "|USB power state: %s", usb_state);
pos = buf_append_printf(buf, size, pos, "|USB power state: %s", usb_state);
// Power-fail comparator
bool enabled;
@@ -300,14 +300,14 @@ size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE>
break;
}
ESP_LOGD(TAG, "Power-fail comparator: %s, VDDH: %s", pof_voltage, vddh_voltage);
pos = buf_append(buf, size, pos, "|Power-fail comparator: %s, VDDH: %s", pof_voltage, vddh_voltage);
pos = buf_append_printf(buf, size, pos, "|Power-fail comparator: %s, VDDH: %s", pof_voltage, vddh_voltage);
} else {
ESP_LOGD(TAG, "Power-fail comparator: %s", pof_voltage);
pos = buf_append(buf, size, pos, "|Power-fail comparator: %s", pof_voltage);
pos = buf_append_printf(buf, size, pos, "|Power-fail comparator: %s", pof_voltage);
}
} else {
ESP_LOGD(TAG, "Power-fail comparator: disabled");
pos = buf_append(buf, size, pos, "|Power-fail comparator: disabled");
pos = buf_append_printf(buf, size, pos, "|Power-fail comparator: disabled");
}
auto package = [](uint32_t value) {
+19 -10
View File
@@ -127,7 +127,9 @@ DetRangeCfgCommand::DetRangeCfgCommand(float min1, float max1, float min2, float
this->min2_ = min2 = this->max2_ = max2 = this->min3_ = min3 = this->max3_ = max3 = this->min4_ = min4 =
this->max4_ = max4 = -1;
this->cmd_ = str_sprintf("detRangeCfg -1 %.0f %.0f", min1 / 0.15, max1 / 0.15);
char buf[72]; // max 72: "detRangeCfg -1 "(15) + 8 * (float(5) + space(1)) + null
snprintf(buf, sizeof(buf), "detRangeCfg -1 %.0f %.0f", min1 / 0.15, max1 / 0.15);
this->cmd_ = buf;
} else if (min3 < 0 || max3 < 0) {
this->min1_ = min1 = round(min1 / 0.15) * 0.15;
this->max1_ = max1 = round(max1 / 0.15) * 0.15;
@@ -135,7 +137,10 @@ DetRangeCfgCommand::DetRangeCfgCommand(float min1, float max1, float min2, float
this->max2_ = max2 = round(max2 / 0.15) * 0.15;
this->min3_ = min3 = this->max3_ = max3 = this->min4_ = min4 = this->max4_ = max4 = -1;
this->cmd_ = str_sprintf("detRangeCfg -1 %.0f %.0f %.0f %.0f", min1 / 0.15, max1 / 0.15, min2 / 0.15, max2 / 0.15);
char buf[72]; // max 72: "detRangeCfg -1 "(15) + 8 * (float(5) + space(1)) + null
snprintf(buf, sizeof(buf), "detRangeCfg -1 %.0f %.0f %.0f %.0f", min1 / 0.15, max1 / 0.15, min2 / 0.15,
max2 / 0.15);
this->cmd_ = buf;
} else if (min4 < 0 || max4 < 0) {
this->min1_ = min1 = round(min1 / 0.15) * 0.15;
this->max1_ = max1 = round(max1 / 0.15) * 0.15;
@@ -145,9 +150,10 @@ DetRangeCfgCommand::DetRangeCfgCommand(float min1, float max1, float min2, float
this->max3_ = max3 = round(max3 / 0.15) * 0.15;
this->min4_ = min4 = this->max4_ = max4 = -1;
this->cmd_ = str_sprintf("detRangeCfg -1 "
"%.0f %.0f %.0f %.0f %.0f %.0f",
min1 / 0.15, max1 / 0.15, min2 / 0.15, max2 / 0.15, min3 / 0.15, max3 / 0.15);
char buf[72]; // max 72: "detRangeCfg -1 "(15) + 8 * (float(5) + space(1)) + null
snprintf(buf, sizeof(buf), "detRangeCfg -1 %.0f %.0f %.0f %.0f %.0f %.0f", min1 / 0.15, max1 / 0.15, min2 / 0.15,
max2 / 0.15, min3 / 0.15, max3 / 0.15);
this->cmd_ = buf;
} else {
this->min1_ = min1 = round(min1 / 0.15) * 0.15;
this->max1_ = max1 = round(max1 / 0.15) * 0.15;
@@ -158,10 +164,10 @@ DetRangeCfgCommand::DetRangeCfgCommand(float min1, float max1, float min2, float
this->min4_ = min4 = round(min4 / 0.15) * 0.15;
this->max4_ = max4 = round(max4 / 0.15) * 0.15;
this->cmd_ = str_sprintf("detRangeCfg -1 "
"%.0f %.0f %.0f %.0f %.0f %.0f %.0f %.0f",
min1 / 0.15, max1 / 0.15, min2 / 0.15, max2 / 0.15, min3 / 0.15, max3 / 0.15, min4 / 0.15,
max4 / 0.15);
char buf[72]; // max 72: "detRangeCfg -1 "(15) + 8 * (float(5) + space(1)) + null
snprintf(buf, sizeof(buf), "detRangeCfg -1 %.0f %.0f %.0f %.0f %.0f %.0f %.0f %.0f", min1 / 0.15, max1 / 0.15,
min2 / 0.15, max2 / 0.15, min3 / 0.15, max3 / 0.15, min4 / 0.15, max4 / 0.15);
this->cmd_ = buf;
}
this->min1_ = min1;
@@ -203,7 +209,10 @@ SetLatencyCommand::SetLatencyCommand(float delay_after_detection, float delay_af
delay_after_disappear = std::round(delay_after_disappear / 0.025f) * 0.025f;
this->delay_after_detection_ = clamp(delay_after_detection, 0.0f, 1638.375f);
this->delay_after_disappear_ = clamp(delay_after_disappear, 0.0f, 1638.375f);
this->cmd_ = str_sprintf("setLatency %.03f %.03f", this->delay_after_detection_, this->delay_after_disappear_);
// max 32: "setLatency "(11) + float(8) + " "(1) + float(8) + null, rounded to 32
char buf[32];
snprintf(buf, sizeof(buf), "setLatency %.03f %.03f", this->delay_after_detection_, this->delay_after_disappear_);
this->cmd_ = buf;
};
uint8_t SetLatencyCommand::on_message(std::string &message) {
@@ -75,8 +75,8 @@ class SetLatencyCommand : public Command {
class SensorCfgStartCommand : public Command {
public:
SensorCfgStartCommand(bool startup_mode) : startup_mode_(startup_mode) {
char tmp_cmd[20] = {0};
sprintf(tmp_cmd, "sensorCfgStart %d", startup_mode);
char tmp_cmd[20]; // "sensorCfgStart " (15) + "0/1" (1) + null = 17
buf_append_printf(tmp_cmd, sizeof(tmp_cmd), 0, "sensorCfgStart %d", startup_mode);
cmd_ = std::string(tmp_cmd);
}
uint8_t on_message(std::string &message) override;
@@ -142,8 +142,8 @@ class SensitivityCommand : public Command {
SensitivityCommand(uint8_t sensitivity) : sensitivity_(sensitivity) {
if (sensitivity > 9)
sensitivity_ = sensitivity = 9;
char tmp_cmd[20] = {0};
sprintf(tmp_cmd, "setSensitivity %d", sensitivity);
char tmp_cmd[20]; // "setSensitivity " (15) + "0-9" (1) + null = 17
buf_append_printf(tmp_cmd, sizeof(tmp_cmd), 0, "setSensitivity %d", sensitivity);
cmd_ = std::string(tmp_cmd);
};
uint8_t on_message(std::string &message) override;
+39 -30
View File
@@ -63,11 +63,13 @@ def validate_auto_clear(value):
return cv.boolean(value)
BASIC_DISPLAY_SCHEMA = cv.Schema(
{
cv.Exclusive(CONF_LAMBDA, CONF_LAMBDA): cv.lambda_,
}
).extend(cv.polling_component_schema("1s"))
def basic_display_schema(default_update_interval: str = "1s") -> cv.Schema:
"""Create a basic display schema with configurable default update interval."""
return cv.Schema(
{
cv.Exclusive(CONF_LAMBDA, CONF_LAMBDA): cv.lambda_,
}
).extend(cv.polling_component_schema(default_update_interval))
def _validate_test_card(config):
@@ -81,34 +83,41 @@ def _validate_test_card(config):
return config
FULL_DISPLAY_SCHEMA = BASIC_DISPLAY_SCHEMA.extend(
{
cv.Optional(CONF_ROTATION): validate_rotation,
cv.Exclusive(CONF_PAGES, CONF_LAMBDA): cv.All(
cv.ensure_list(
def full_display_schema(default_update_interval: str = "1s") -> cv.Schema:
"""Create a full display schema with configurable default update interval."""
schema = basic_display_schema(default_update_interval).extend(
{
cv.Optional(CONF_ROTATION): validate_rotation,
cv.Exclusive(CONF_PAGES, CONF_LAMBDA): cv.All(
cv.ensure_list(
{
cv.GenerateID(): cv.declare_id(DisplayPage),
cv.Required(CONF_LAMBDA): cv.lambda_,
}
),
cv.Length(min=1),
),
cv.Optional(CONF_ON_PAGE_CHANGE): automation.validate_automation(
{
cv.GenerateID(): cv.declare_id(DisplayPage),
cv.Required(CONF_LAMBDA): cv.lambda_,
cv.GenerateID(CONF_TRIGGER_ID): cv.declare_id(
DisplayOnPageChangeTrigger
),
cv.Optional(CONF_FROM): cv.use_id(DisplayPage),
cv.Optional(CONF_TO): cv.use_id(DisplayPage),
}
),
cv.Length(min=1),
),
cv.Optional(CONF_ON_PAGE_CHANGE): automation.validate_automation(
{
cv.GenerateID(CONF_TRIGGER_ID): cv.declare_id(
DisplayOnPageChangeTrigger
),
cv.Optional(CONF_FROM): cv.use_id(DisplayPage),
cv.Optional(CONF_TO): cv.use_id(DisplayPage),
}
),
cv.Optional(
CONF_AUTO_CLEAR_ENABLED, default=CONF_UNSPECIFIED
): validate_auto_clear,
cv.Optional(CONF_SHOW_TEST_CARD): cv.boolean,
}
)
FULL_DISPLAY_SCHEMA.add_extra(_validate_test_card)
cv.Optional(
CONF_AUTO_CLEAR_ENABLED, default=CONF_UNSPECIFIED
): validate_auto_clear,
cv.Optional(CONF_SHOW_TEST_CARD): cv.boolean,
}
)
schema.add_extra(_validate_test_card)
return schema
BASIC_DISPLAY_SCHEMA = basic_display_schema("1s")
FULL_DISPLAY_SCHEMA = full_display_schema("1s")
async def setup_display_core_(var, config):
+19 -16
View File
@@ -31,6 +31,7 @@ from esphome.const import (
CONF_TRANSFORM,
CONF_UPDATE_INTERVAL,
CONF_WIDTH,
SCHEDULER_DONT_RUN,
)
from esphome.cpp_generator import RawExpression
from esphome.final_validate import full_config
@@ -72,12 +73,10 @@ TRANSFORM_OPTIONS = {CONF_MIRROR_X, CONF_MIRROR_Y, CONF_SWAP_XY}
def model_schema(config):
model = MODELS[config[CONF_MODEL]]
class_name = epaper_spi_ns.class_(model.class_name, EPaperBase)
minimum_update_interval = update_interval(
model.get_default(CONF_MINIMUM_UPDATE_INTERVAL, "1s")
)
cv_dimensions = cv.Optional if model.get_default(CONF_WIDTH) else cv.Required
return (
display.FULL_DISPLAY_SCHEMA.extend(
display.full_display_schema("60s")
.extend(
spi.spi_device_schema(
cs_pin_required=False,
default_mode="MODE0",
@@ -94,9 +93,6 @@ def model_schema(config):
{
cv.Optional(CONF_ROTATION, default=0): validate_rotation,
cv.Required(CONF_MODEL): cv.one_of(model.name, upper=True),
cv.Optional(CONF_UPDATE_INTERVAL, default=cv.UNDEFINED): cv.All(
update_interval, cv.Range(min=minimum_update_interval)
),
cv.Optional(CONF_TRANSFORM): cv.Schema(
{
cv.Required(CONF_MIRROR_X): cv.boolean,
@@ -150,15 +146,22 @@ def _final_validate(config):
global_config = full_config.get()
from esphome.components.lvgl import DOMAIN as LVGL_DOMAIN
if CONF_LAMBDA not in config and CONF_PAGES not in config:
if LVGL_DOMAIN in global_config:
if CONF_UPDATE_INTERVAL not in config:
config[CONF_UPDATE_INTERVAL] = update_interval("never")
else:
# If no drawing methods are configured, and LVGL is not enabled, show a test card
config[CONF_SHOW_TEST_CARD] = True
elif CONF_UPDATE_INTERVAL not in config:
config[CONF_UPDATE_INTERVAL] = update_interval("1min")
# If no drawing methods are configured, and LVGL is not enabled, show a test card
if (
CONF_LAMBDA not in config
and CONF_PAGES not in config
and LVGL_DOMAIN not in global_config
):
config[CONF_SHOW_TEST_CARD] = True
interval = config[CONF_UPDATE_INTERVAL]
if interval != SCHEDULER_DONT_RUN:
model = MODELS[config[CONF_MODEL]]
minimum = update_interval(model.get_default(CONF_MINIMUM_UPDATE_INTERVAL, "1s"))
if interval < minimum:
raise cv.Invalid(
f"update_interval must be at least {minimum} for {model.name}, got {interval}"
)
return config
+23 -5
View File
@@ -660,6 +660,9 @@ CONF_LOOP_TASK_STACK_SIZE = "loop_task_stack_size"
KEY_VFS_SELECT_REQUIRED = "vfs_select_required"
KEY_VFS_DIR_REQUIRED = "vfs_dir_required"
# Ring buffer IRAM requirement tracking
KEY_RINGBUF_IN_IRAM = "ringbuf_in_iram"
def require_vfs_select() -> None:
"""Mark that VFS select support is required by a component.
@@ -679,6 +682,17 @@ def require_vfs_dir() -> None:
CORE.data[KEY_VFS_DIR_REQUIRED] = True
def enable_ringbuf_in_iram() -> None:
"""Keep ring buffer functions in IRAM instead of moving them to flash.
Call this from components that use esphome/core/ring_buffer.cpp and need
the ring buffer functions to remain in IRAM for performance reasons
(e.g., voice assistants, audio components).
This prevents CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH from being enabled.
"""
CORE.data[KEY_RINGBUF_IN_IRAM] = True
def _parse_idf_component(value: str) -> ConfigType:
"""Parse IDF component shorthand syntax like 'owner/component^version'"""
# Match operator followed by version-like string (digit or *)
@@ -1090,14 +1104,18 @@ async def to_code(config):
add_idf_sdkconfig_option("CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH", True)
# Place ring buffer functions into flash instead of IRAM by default
# This saves IRAM. In ESP-IDF 6.0 flash placement becomes the default.
# Users can set ringbuf_in_iram: true as an escape hatch if they encounter issues.
if conf[CONF_ADVANCED][CONF_RINGBUF_IN_IRAM]:
# User requests ring buffer in IRAM
# This saves IRAM but may impact performance for audio/voice components.
# Components that need ring buffer in IRAM call enable_ringbuf_in_iram().
# Users can also set ringbuf_in_iram: true to force IRAM placement.
# In ESP-IDF 6.0 flash placement becomes the default.
if conf[CONF_ADVANCED][CONF_RINGBUF_IN_IRAM] or CORE.data.get(
KEY_RINGBUF_IN_IRAM, False
):
# User config or component requires ring buffer in IRAM for performance
# IDF 6.0+: will need CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH=n
add_idf_sdkconfig_option("CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH", False)
else:
# Place in flash to save IRAM (default)
# No component needs it - place in flash to save IRAM
add_idf_sdkconfig_option("CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH", True)
# Place heap functions into flash to save IRAM (~4-6KB savings)
+1 -1
View File
@@ -85,7 +85,6 @@ void ESP32InternalGPIOPin::attach_interrupt(void (*func)(void *), void *arg, gpi
break;
}
gpio_set_intr_type(this->get_pin_num(), idf_type);
gpio_intr_enable(this->get_pin_num());
if (!isr_service_installed) {
auto res = gpio_install_isr_service(ESP_INTR_FLAG_LEVEL3);
if (res != ESP_OK) {
@@ -95,6 +94,7 @@ void ESP32InternalGPIOPin::attach_interrupt(void (*func)(void *), void *arg, gpi
isr_service_installed = true;
}
gpio_isr_handler_add(this->get_pin_num(), func, arg);
gpio_intr_enable(this->get_pin_num());
}
size_t ESP32InternalGPIOPin::dump_summary(char *buffer, size_t len) const {
+12 -21
View File
@@ -19,16 +19,7 @@ static constexpr size_t KEY_BUFFER_SIZE = 12;
struct NVSData {
uint32_t key;
std::unique_ptr<uint8_t[]> data;
size_t len;
void set_data(const uint8_t *src, size_t size) {
if (!this->data || this->len != size) {
this->data = std::make_unique<uint8_t[]>(size);
this->len = size;
}
memcpy(this->data.get(), src, size);
}
SmallInlineBuffer<8> data; // Most prefs fit in 8 bytes (covers fan, cover, select, etc.)
};
static std::vector<NVSData> s_pending_save; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
@@ -41,14 +32,14 @@ class ESP32PreferenceBackend : public ESPPreferenceBackend {
// try find in pending saves and update that
for (auto &obj : s_pending_save) {
if (obj.key == this->key) {
obj.set_data(data, len);
obj.data.set(data, len);
return true;
}
}
NVSData save{};
save.key = this->key;
save.set_data(data, len);
s_pending_save.emplace_back(std::move(save));
save.data.set(data, len);
s_pending_save.push_back(std::move(save));
ESP_LOGVV(TAG, "s_pending_save: key: %" PRIu32 ", len: %zu", this->key, len);
return true;
}
@@ -56,11 +47,11 @@ class ESP32PreferenceBackend : public ESPPreferenceBackend {
// try find in pending saves and load from that
for (auto &obj : s_pending_save) {
if (obj.key == this->key) {
if (obj.len != len) {
if (obj.data.size() != len) {
// size mismatch
return false;
}
memcpy(data, obj.data.get(), len);
memcpy(data, obj.data.data(), len);
return true;
}
}
@@ -136,10 +127,10 @@ class ESP32Preferences : public ESPPreferences {
snprintf(key_str, sizeof(key_str), "%" PRIu32, save.key);
ESP_LOGVV(TAG, "Checking if NVS data %s has changed", key_str);
if (this->is_changed_(this->nvs_handle, save, key_str)) {
esp_err_t err = nvs_set_blob(this->nvs_handle, key_str, save.data.get(), save.len);
ESP_LOGV(TAG, "sync: key: %s, len: %zu", key_str, save.len);
esp_err_t err = nvs_set_blob(this->nvs_handle, key_str, save.data.data(), save.data.size());
ESP_LOGV(TAG, "sync: key: %s, len: %zu", key_str, save.data.size());
if (err != 0) {
ESP_LOGV(TAG, "nvs_set_blob('%s', len=%zu) failed: %s", key_str, save.len, esp_err_to_name(err));
ESP_LOGV(TAG, "nvs_set_blob('%s', len=%zu) failed: %s", key_str, save.data.size(), esp_err_to_name(err));
failed++;
last_err = err;
last_key = save.key;
@@ -147,7 +138,7 @@ class ESP32Preferences : public ESPPreferences {
}
written++;
} else {
ESP_LOGV(TAG, "NVS data not changed skipping %" PRIu32 " len=%zu", save.key, save.len);
ESP_LOGV(TAG, "NVS data not changed skipping %" PRIu32 " len=%zu", save.key, save.data.size());
cached++;
}
s_pending_save.erase(s_pending_save.begin() + i);
@@ -178,7 +169,7 @@ class ESP32Preferences : public ESPPreferences {
return true;
}
// Check size first before allocating memory
if (actual_len != to_save.len) {
if (actual_len != to_save.data.size()) {
return true;
}
auto stored_data = std::make_unique<uint8_t[]>(actual_len);
@@ -187,7 +178,7 @@ class ESP32Preferences : public ESPPreferences {
ESP_LOGV(TAG, "nvs_get_blob('%s') failed: %s", key_str, esp_err_to_name(err));
return true;
}
return memcmp(to_save.data.get(), stored_data.get(), to_save.len) != 0;
return memcmp(to_save.data.data(), stored_data.get(), to_save.data.size()) != 0;
}
bool reset() override {
+4
View File
@@ -98,6 +98,10 @@ void ESP32BLE::advertising_set_service_data(const std::vector<uint8_t> &data) {
}
void ESP32BLE::advertising_set_manufacturer_data(const std::vector<uint8_t> &data) {
this->advertising_set_manufacturer_data(std::span<const uint8_t>(data));
}
void ESP32BLE::advertising_set_manufacturer_data(std::span<const uint8_t> data) {
this->advertising_init_();
this->advertising_->set_manufacturer_data(data);
this->advertising_start();
+1
View File
@@ -118,6 +118,7 @@ class ESP32BLE : public Component {
void advertising_start();
void advertising_set_service_data(const std::vector<uint8_t> &data);
void advertising_set_manufacturer_data(const std::vector<uint8_t> &data);
void advertising_set_manufacturer_data(std::span<const uint8_t> data);
void advertising_set_appearance(uint16_t appearance) { this->appearance_ = appearance; }
void advertising_set_service_data_and_name(std::span<const uint8_t> data, bool include_name);
void advertising_add_service_uuid(ESPBTUUID uuid);
@@ -59,6 +59,10 @@ void BLEAdvertising::set_service_data(const std::vector<uint8_t> &data) {
}
void BLEAdvertising::set_manufacturer_data(const std::vector<uint8_t> &data) {
this->set_manufacturer_data(std::span<const uint8_t>(data));
}
void BLEAdvertising::set_manufacturer_data(std::span<const uint8_t> data) {
delete[] this->advertising_data_.p_manufacturer_data;
this->advertising_data_.p_manufacturer_data = nullptr;
this->advertising_data_.manufacturer_len = data.size();
@@ -37,6 +37,7 @@ class BLEAdvertising {
void set_scan_response(bool scan_response) { this->scan_response_ = scan_response; }
void set_min_preferred_interval(uint16_t interval) { this->advertising_data_.min_interval = interval; }
void set_manufacturer_data(const std::vector<uint8_t> &data);
void set_manufacturer_data(std::span<const uint8_t> data);
void set_appearance(uint16_t appearance) { this->advertising_data_.appearance = appearance; }
void set_service_data(const std::vector<uint8_t> &data);
void set_service_data(std::span<const uint8_t> data);
@@ -1,5 +1,6 @@
#include "esp32_ble_beacon.h"
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
#ifdef USE_ESP32
@@ -15,7 +15,10 @@ Trigger<std::vector<uint8_t>, uint16_t> *BLETriggers::create_characteristic_on_w
Trigger<std::vector<uint8_t>, uint16_t> *on_write_trigger = // NOLINT(cppcoreguidelines-owning-memory)
new Trigger<std::vector<uint8_t>, uint16_t>();
characteristic->on_write([on_write_trigger](std::span<const uint8_t> data, uint16_t id) {
// Convert span to vector for trigger
// Convert span to vector for trigger - copy is necessary because:
// 1. Trigger stores the data for use in automation actions that execute later
// 2. The span is only valid during this callback (points to temporary BLE stack data)
// 3. User lambdas in automations need persistent data they can access asynchronously
on_write_trigger->trigger(std::vector<uint8_t>(data.begin(), data.end()), id);
});
return on_write_trigger;
@@ -27,7 +30,10 @@ Trigger<std::vector<uint8_t>, uint16_t> *BLETriggers::create_descriptor_on_write
Trigger<std::vector<uint8_t>, uint16_t> *on_write_trigger = // NOLINT(cppcoreguidelines-owning-memory)
new Trigger<std::vector<uint8_t>, uint16_t>();
descriptor->on_write([on_write_trigger](std::span<const uint8_t> data, uint16_t id) {
// Convert span to vector for trigger
// Convert span to vector for trigger - copy is necessary because:
// 1. Trigger stores the data for use in automation actions that execute later
// 2. The span is only valid during this callback (points to temporary BLE stack data)
// 3. User lambdas in automations need persistent data they can access asynchronously
on_write_trigger->trigger(std::vector<uint8_t>(data.begin(), data.end()), id);
});
return on_write_trigger;
@@ -69,7 +69,10 @@ void Esp32HostedUpdate::setup() {
// Get coprocessor version
esp_hosted_coprocessor_fwver_t ver_info;
if (esp_hosted_get_coprocessor_fwversion(&ver_info) == ESP_OK) {
this->update_info_.current_version = str_sprintf("%d.%d.%d", ver_info.major1, ver_info.minor1, ver_info.patch1);
// 16 bytes: "255.255.255" (11 chars) + null + safety margin
char buf[16];
snprintf(buf, sizeof(buf), "%d.%d.%d", ver_info.major1, ver_info.minor1, ver_info.patch1);
this->update_info_.current_version = buf;
} else {
this->update_info_.current_version = "unknown";
}
+1 -1
View File
@@ -99,7 +99,7 @@ void ESP8266GPIOPin::pin_mode(gpio::Flags flags) {
}
size_t ESP8266GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "GPIO%u", this->pin_);
return buf_append_printf(buffer, len, 0, "GPIO%u", this->pin_);
}
bool ESP8266GPIOPin::digital_read() {
@@ -802,8 +802,8 @@ void EthernetComponent::ksz8081_set_clock_reference_(esp_eth_mac_t *mac) {
ESPHL_ERROR_CHECK(err, "Read PHY Control 2 failed");
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE
char hex_buf[format_hex_pretty_size(PHY_REG_SIZE)];
#endif
ESP_LOGVV(TAG, "KSZ8081 PHY Control 2: %s", format_hex_pretty_to(hex_buf, (uint8_t *) &phy_control_2, PHY_REG_SIZE));
#endif
/*
* Bit 7 is `RMII Reference Clock Select`. Default is `0`.
@@ -820,8 +820,10 @@ void EthernetComponent::ksz8081_set_clock_reference_(esp_eth_mac_t *mac) {
ESPHL_ERROR_CHECK(err, "Write PHY Control 2 failed");
err = mac->read_phy_reg(mac, this->phy_addr_, KSZ80XX_PC2R_REG_ADDR, &(phy_control_2));
ESPHL_ERROR_CHECK(err, "Read PHY Control 2 failed");
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE
ESP_LOGVV(TAG, "KSZ8081 PHY Control 2: %s",
format_hex_pretty_to(hex_buf, (uint8_t *) &phy_control_2, PHY_REG_SIZE));
#endif
}
}
#endif // USE_ETHERNET_KSZ8081
+1 -3
View File
@@ -90,9 +90,7 @@ async def setup_event_core_(var, config, *, event_types: list[str]):
for conf in config.get(CONF_ON_EVENT, []):
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
await automation.build_automation(
trigger, [(cg.std_string, "event_type")], conf
)
await automation.build_automation(trigger, [(cg.StringRef, "event_type")], conf)
cg.add(var.set_event_types(event_types))
+2 -2
View File
@@ -14,10 +14,10 @@ template<typename... Ts> class TriggerEventAction : public Action<Ts...>, public
void play(const Ts &...x) override { this->parent_->trigger(this->event_type_.value(x...)); }
};
class EventTrigger : public Trigger<std::string> {
class EventTrigger : public Trigger<StringRef> {
public:
EventTrigger(Event *event) {
event->add_on_event_callback([this](const std::string &event_type) { this->trigger(event_type); });
event->add_on_event_callback([this](StringRef event_type) { this->trigger(event_type); });
}
};
+2 -2
View File
@@ -23,7 +23,7 @@ void Event::trigger(const std::string &event_type) {
}
this->last_event_type_ = found;
ESP_LOGD(TAG, "'%s' >> '%s'", this->get_name().c_str(), this->last_event_type_);
this->event_callback_.call(event_type);
this->event_callback_.call(StringRef(found));
#if defined(USE_EVENT) && defined(USE_CONTROLLER_REGISTRY)
ControllerRegistry::notify_event(this);
#endif
@@ -45,7 +45,7 @@ void Event::set_event_types(const std::vector<const char *> &event_types) {
this->last_event_type_ = nullptr; // Reset when types change
}
void Event::add_on_event_callback(std::function<void(const std::string &event_type)> &&callback) {
void Event::add_on_event_callback(std::function<void(StringRef event_type)> &&callback) {
this->event_callback_.add(std::move(callback));
}
+2 -2
View File
@@ -70,10 +70,10 @@ class Event : public EntityBase, public EntityBase_DeviceClass {
/// Check if an event has been triggered.
bool has_event() const { return this->last_event_type_ != nullptr; }
void add_on_event_callback(std::function<void(const std::string &event_type)> &&callback);
void add_on_event_callback(std::function<void(StringRef event_type)> &&callback);
protected:
LazyCallbackManager<void(const std::string &event_type)> event_callback_;
LazyCallbackManager<void(StringRef event_type)> event_callback_;
FixedVector<const char *> types_;
private:
+17 -11
View File
@@ -160,7 +160,7 @@ void EZOSensor::loop() {
this->commands_.pop_front();
}
void EZOSensor::add_command_(const std::string &command, EzoCommandType command_type, uint16_t delay_ms) {
void EZOSensor::add_command_(const char *command, EzoCommandType command_type, uint16_t delay_ms) {
std::unique_ptr<EzoCommand> ezo_command(new EzoCommand);
ezo_command->command = command;
ezo_command->command_type = command_type;
@@ -169,13 +169,17 @@ void EZOSensor::add_command_(const std::string &command, EzoCommandType command_
}
void EZOSensor::set_calibration_point_(EzoCalibrationType type, float value) {
std::string payload = str_sprintf("Cal,%s,%0.2f", EZO_CALIBRATION_TYPE_STRINGS[type], value);
// max 21: "Cal,"(4) + type(4) + ","(1) + float(11) + null; use 24 for safety
char payload[24];
snprintf(payload, sizeof(payload), "Cal,%s,%0.2f", EZO_CALIBRATION_TYPE_STRINGS[type], value);
this->add_command_(payload, EzoCommandType::EZO_CALIBRATION, 900);
}
void EZOSensor::set_address(uint8_t address) {
if (address > 0 && address < 128) {
std::string payload = str_sprintf("I2C,%u", address);
// max 8: "I2C,"(4) + uint8(3) + null
char payload[8];
snprintf(payload, sizeof(payload), "I2C,%u", address);
this->new_address_ = address;
this->add_command_(payload, EzoCommandType::EZO_I2C);
} else {
@@ -194,7 +198,9 @@ void EZOSensor::get_slope() { this->add_command_("Slope,?", EzoCommandType::EZO_
void EZOSensor::get_t() { this->add_command_("T,?", EzoCommandType::EZO_T); }
void EZOSensor::set_t(float value) {
std::string payload = str_sprintf("T,%0.2f", value);
// max 14 bytes: "T,"(2) + float with "%0.2f" (up to 11 chars) + null(1); use 16 for alignment
char payload[16];
snprintf(payload, sizeof(payload), "T,%0.2f", value);
this->add_command_(payload, EzoCommandType::EZO_T);
}
@@ -215,7 +221,9 @@ void EZOSensor::set_calibration_point_high(float value) {
}
void EZOSensor::set_calibration_generic(float value) {
std::string payload = str_sprintf("Cal,%0.2f", value);
// exact 16 bytes: "Cal," (4) + float with "%0.2f" (up to 11 chars, e.g. "-9999999.99") + null (1) = 16
char payload[16];
snprintf(payload, sizeof(payload), "Cal,%0.2f", value);
this->add_command_(payload, EzoCommandType::EZO_CALIBRATION, 900);
}
@@ -223,13 +231,11 @@ void EZOSensor::clear_calibration() { this->add_command_("Cal,clear", EzoCommand
void EZOSensor::get_led_state() { this->add_command_("L,?", EzoCommandType::EZO_LED); }
void EZOSensor::set_led_state(bool on) {
std::string to_send = "L,";
to_send += on ? "1" : "0";
this->add_command_(to_send, EzoCommandType::EZO_LED);
}
void EZOSensor::set_led_state(bool on) { this->add_command_(on ? "L,1" : "L,0", EzoCommandType::EZO_LED); }
void EZOSensor::send_custom(const std::string &to_send) { this->add_command_(to_send, EzoCommandType::EZO_CUSTOM); }
void EZOSensor::send_custom(const std::string &to_send) {
this->add_command_(to_send.c_str(), EzoCommandType::EZO_CUSTOM);
}
} // namespace ezo
} // namespace esphome
+1 -1
View File
@@ -92,7 +92,7 @@ class EZOSensor : public sensor::Sensor, public PollingComponent, public i2c::I2
std::deque<std::unique_ptr<EzoCommand>> commands_;
int new_address_;
void add_command_(const std::string &command, EzoCommandType command_type, uint16_t delay_ms = 300);
void add_command_(const char *command, EzoCommandType command_type, uint16_t delay_ms = 300);
void set_calibration_point_(EzoCalibrationType type, float value);
+26 -22
View File
@@ -318,90 +318,94 @@ void EzoPMP::send_next_command_() {
switch (this->next_command_) {
// Read Commands
case EZO_PMP_COMMAND_READ_DOSING: // Page 54
command_buffer_length = sprintf((char *) command_buffer, "D,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "D,?");
break;
case EZO_PMP_COMMAND_READ_SINGLE_REPORT: // Single Report (page 53)
command_buffer_length = sprintf((char *) command_buffer, "R");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "R");
break;
case EZO_PMP_COMMAND_READ_MAX_FLOW_RATE:
command_buffer_length = sprintf((char *) command_buffer, "DC,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "DC,?");
break;
case EZO_PMP_COMMAND_READ_PAUSE_STATUS:
command_buffer_length = sprintf((char *) command_buffer, "P,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "P,?");
break;
case EZO_PMP_COMMAND_READ_TOTAL_VOLUME_DOSED:
command_buffer_length = sprintf((char *) command_buffer, "TV,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "TV,?");
break;
case EZO_PMP_COMMAND_READ_ABSOLUTE_TOTAL_VOLUME_DOSED:
command_buffer_length = sprintf((char *) command_buffer, "ATV,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "ATV,?");
break;
case EZO_PMP_COMMAND_READ_CALIBRATION_STATUS:
command_buffer_length = sprintf((char *) command_buffer, "Cal,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "Cal,?");
break;
case EZO_PMP_COMMAND_READ_PUMP_VOLTAGE:
command_buffer_length = sprintf((char *) command_buffer, "PV,?");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "PV,?");
break;
// Non-Read Commands
case EZO_PMP_COMMAND_FIND: // Find (page 52)
command_buffer_length = sprintf((char *) command_buffer, "Find");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "Find");
wait_time_for_command = 60000; // This command will block all updates for a minute
break;
case EZO_PMP_COMMAND_DOSE_CONTINUOUSLY: // Continuous Dispensing (page 54)
command_buffer_length = sprintf((char *) command_buffer, "D,*");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "D,*");
break;
case EZO_PMP_COMMAND_CLEAR_TOTAL_VOLUME_DOSED: // Clear Total Volume Dosed (page 64)
command_buffer_length = sprintf((char *) command_buffer, "Clear");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "Clear");
break;
case EZO_PMP_COMMAND_CLEAR_CALIBRATION: // Clear Calibration (page 65)
command_buffer_length = sprintf((char *) command_buffer, "Cal,clear");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "Cal,clear");
break;
case EZO_PMP_COMMAND_PAUSE_DOSING: // Pause (page 61)
command_buffer_length = sprintf((char *) command_buffer, "P");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "P");
break;
case EZO_PMP_COMMAND_STOP_DOSING: // Stop (page 62)
command_buffer_length = sprintf((char *) command_buffer, "X");
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "X");
break;
// Non-Read commands with parameters
case EZO_PMP_COMMAND_DOSE_VOLUME: // Volume Dispensing (page 55)
command_buffer_length = sprintf((char *) command_buffer, "D,%0.1f", this->next_command_volume_);
command_buffer_length =
snprintf((char *) command_buffer, sizeof(command_buffer), "D,%0.1f", this->next_command_volume_);
break;
case EZO_PMP_COMMAND_DOSE_VOLUME_OVER_TIME: // Dose over time (page 56)
command_buffer_length =
sprintf((char *) command_buffer, "D,%0.1f,%i", this->next_command_volume_, this->next_command_duration_);
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "D,%0.1f,%i",
this->next_command_volume_, this->next_command_duration_);
break;
case EZO_PMP_COMMAND_DOSE_WITH_CONSTANT_FLOW_RATE: // Constant Flow Rate (page 57)
command_buffer_length =
sprintf((char *) command_buffer, "DC,%0.1f,%i", this->next_command_volume_, this->next_command_duration_);
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), "DC,%0.1f,%i",
this->next_command_volume_, this->next_command_duration_);
break;
case EZO_PMP_COMMAND_SET_CALIBRATION_VOLUME: // Set Calibration Volume (page 65)
command_buffer_length = sprintf((char *) command_buffer, "Cal,%0.2f", this->next_command_volume_);
command_buffer_length =
snprintf((char *) command_buffer, sizeof(command_buffer), "Cal,%0.2f", this->next_command_volume_);
break;
case EZO_PMP_COMMAND_CHANGE_I2C_ADDRESS: // Change I2C Address (page 73)
command_buffer_length = sprintf((char *) command_buffer, "I2C,%i", this->next_command_duration_);
command_buffer_length =
snprintf((char *) command_buffer, sizeof(command_buffer), "I2C,%i", this->next_command_duration_);
break;
case EZO_PMP_COMMAND_EXEC_ARBITRARY_COMMAND_ADDRESS: // Run an arbitrary command
command_buffer_length = sprintf((char *) command_buffer, this->arbitrary_command_, this->next_command_duration_);
command_buffer_length = snprintf((char *) command_buffer, sizeof(command_buffer), this->arbitrary_command_,
this->next_command_duration_);
ESP_LOGI(TAG, "Sending arbitrary command: %s", (char *) command_buffer);
break;
+2 -2
View File
@@ -77,7 +77,7 @@ FanSpeedSetTrigger = fan_ns.class_(
"FanSpeedSetTrigger", automation.Trigger.template(cg.int_)
)
FanPresetSetTrigger = fan_ns.class_(
"FanPresetSetTrigger", automation.Trigger.template(cg.std_string)
"FanPresetSetTrigger", automation.Trigger.template(cg.StringRef)
)
FanIsOnCondition = fan_ns.class_("FanIsOnCondition", automation.Condition.template())
@@ -287,7 +287,7 @@ async def setup_fan_core_(var, config):
await automation.build_automation(trigger, [(cg.int_, "x")], conf)
for conf in config.get(CONF_ON_PRESET_SET, []):
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
await automation.build_automation(trigger, [(cg.std_string, "x")], conf)
await automation.build_automation(trigger, [(cg.StringRef, "x")], conf)
async def register_fan(var, config):
+2 -2
View File
@@ -208,7 +208,7 @@ class FanSpeedSetTrigger : public Trigger<int> {
int last_speed_;
};
class FanPresetSetTrigger : public Trigger<std::string> {
class FanPresetSetTrigger : public Trigger<StringRef> {
public:
FanPresetSetTrigger(Fan *state) {
state->add_on_state_callback([this, state]() {
@@ -216,7 +216,7 @@ class FanPresetSetTrigger : public Trigger<std::string> {
auto should_trigger = preset_mode != this->last_preset_mode_;
this->last_preset_mode_ = preset_mode;
if (should_trigger) {
this->trigger(std::string(preset_mode));
this->trigger(preset_mode);
}
});
this->last_preset_mode_ = state->get_preset_mode();
+1 -1
View File
@@ -71,7 +71,7 @@ void FanCall::validate_() {
auto traits = this->parent_.get_traits();
if (this->speed_.has_value()) {
this->speed_ = clamp(*this->speed_, 1, traits.supported_speed_count());
this->speed_ = clamp(*this->speed_, 1, static_cast<int>(traits.supported_speed_count()));
// https://developers.home-assistant.io/docs/core/entity/fan/#preset-modes
// "Manually setting a speed must disable any set preset mode"
+4 -4
View File
@@ -11,7 +11,7 @@ namespace fan {
class FanTraits {
public:
FanTraits() = default;
FanTraits(bool oscillation, bool speed, bool direction, int speed_count)
FanTraits(bool oscillation, bool speed, bool direction, uint8_t speed_count)
: oscillation_(oscillation), speed_(speed), direction_(direction), speed_count_(speed_count) {}
/// Return if this fan supports oscillation.
@@ -23,9 +23,9 @@ class FanTraits {
/// Set whether this fan supports speed levels.
void set_speed(bool speed) { this->speed_ = speed; }
/// Return how many speed levels the fan has
int supported_speed_count() const { return this->speed_count_; }
uint8_t supported_speed_count() const { return this->speed_count_; }
/// Set how many speed levels this fan has.
void set_supported_speed_count(int speed_count) { this->speed_count_ = speed_count; }
void set_supported_speed_count(uint8_t speed_count) { this->speed_count_ = speed_count; }
/// Return if this fan supports changing direction
bool supports_direction() const { return this->direction_; }
/// Set whether this fan supports changing direction
@@ -64,7 +64,7 @@ class FanTraits {
bool oscillation_{false};
bool speed_{false};
bool direction_{false};
int speed_count_{};
uint8_t speed_count_{};
std::vector<const char *> preset_modes_{};
};
+4 -3
View File
@@ -163,9 +163,10 @@ bool GDK101Component::read_fw_version_(uint8_t *data) {
return false;
}
const std::string fw_version_str = str_sprintf("%d.%d", data[0], data[1]);
this->fw_version_text_sensor_->publish_state(fw_version_str);
// max 8: "255.255" (7 chars) + null
char buf[8];
snprintf(buf, sizeof(buf), "%d.%d", data[0], data[1]);
this->fw_version_text_sensor_->publish_state(buf);
}
#endif // USE_TEXT_SENSOR
return true;
+1 -1
View File
@@ -39,7 +39,7 @@ CONFIG_SCHEMA = (
cv.Optional(CONF_DECAY_MODE, default="SLOW"): cv.enum(
DECAY_MODE_OPTIONS, upper=True
),
cv.Optional(CONF_SPEED_COUNT, default=100): cv.int_range(min=1),
cv.Optional(CONF_SPEED_COUNT, default=100): cv.int_range(min=1, max=255),
cv.Optional(CONF_ENABLE_PIN): cv.use_id(output.FloatOutput),
cv.Optional(CONF_PRESET_MODES): validate_preset_modes,
}
+2 -2
View File
@@ -15,7 +15,7 @@ enum DecayMode {
class HBridgeFan : public Component, public fan::Fan {
public:
HBridgeFan(int speed_count, DecayMode decay_mode) : speed_count_(speed_count), decay_mode_(decay_mode) {}
HBridgeFan(uint8_t speed_count, DecayMode decay_mode) : speed_count_(speed_count), decay_mode_(decay_mode) {}
void set_pin_a(output::FloatOutput *pin_a) { pin_a_ = pin_a; }
void set_pin_b(output::FloatOutput *pin_b) { pin_b_ = pin_b; }
@@ -33,7 +33,7 @@ class HBridgeFan : public Component, public fan::Fan {
output::FloatOutput *pin_b_;
output::FloatOutput *enable_{nullptr};
output::BinaryOutput *oscillating_{nullptr};
int speed_count_{};
uint8_t speed_count_{};
DecayMode decay_mode_{DECAY_MODE_SLOW};
fan::FanTraits traits_;
std::vector<const char *> preset_modes_{};
@@ -97,7 +97,7 @@ void HomeassistantNumber::control(float value) {
entity_value.key = VALUE_KEY;
// Stack buffer - no heap allocation; %g produces shortest representation
char value_buf[16];
snprintf(value_buf, sizeof(value_buf), "%g", value);
buf_append_printf(value_buf, sizeof(value_buf), 0, "%g", value);
entity_value.value = StringRef(value_buf);
api::global_api_server->send_homeassistant_action(resp);
+1 -1
View File
@@ -119,7 +119,7 @@ void IDFI2CBus::dump_config() {
if (s.second) {
ESP_LOGCONFIG(TAG, "Found device at address 0x%02X", s.first);
} else {
ESP_LOGE(TAG, "Unknown error at address 0x%02X", s.first);
ESP_LOGCONFIG(TAG, "Unknown error at address 0x%02X", s.first);
}
}
}
+8 -2
View File
@@ -1,6 +1,11 @@
from esphome import pins
import esphome.codegen as cg
from esphome.components.esp32 import (
add_idf_sdkconfig_option,
enable_ringbuf_in_iram,
get_esp32_variant,
)
from esphome.components.esp32.const import (
VARIANT_ESP32,
VARIANT_ESP32C3,
VARIANT_ESP32C5,
@@ -10,8 +15,6 @@ from esphome.components.esp32 import (
VARIANT_ESP32P4,
VARIANT_ESP32S2,
VARIANT_ESP32S3,
add_idf_sdkconfig_option,
get_esp32_variant,
)
import esphome.config_validation as cv
from esphome.const import CONF_BITS_PER_SAMPLE, CONF_CHANNEL, CONF_ID, CONF_SAMPLE_RATE
@@ -278,6 +281,9 @@ async def to_code(config):
# Helps avoid callbacks being skipped due to processor load
add_idf_sdkconfig_option("CONFIG_I2S_ISR_IRAM_SAFE", True)
# Keep ring buffer functions in IRAM for audio performance
enable_ringbuf_in_iram()
cg.add(var.set_lrclk_pin(config[CONF_I2S_LRCLK_PIN]))
if CONF_I2S_BCLK_PIN in config:
cg.add(var.set_bclk_pin(config[CONF_I2S_BCLK_PIN]))
+1 -1
View File
@@ -11,7 +11,7 @@ static const char *const TAG = "kuntze";
static const uint8_t CMD_READ_REG = 0x03;
static const uint16_t REGISTER[] = {4136, 4160, 4680, 6000, 4688, 4728, 5832};
// Maximum bytes to log for Modbus responses (2 registers = 4, plus count = 5)
// Maximum bytes to log for Modbus responses (2 registers = 4 bytes, plus byte count = 5 bytes)
static constexpr size_t KUNTZE_MAX_LOG_BYTES = 8;
void Kuntze::on_modbus_data(const std::vector<uint8_t> &data) {
+12 -21
View File
@@ -18,16 +18,7 @@ static constexpr size_t KEY_BUFFER_SIZE = 12;
struct NVSData {
uint32_t key;
std::unique_ptr<uint8_t[]> data;
size_t len;
void set_data(const uint8_t *src, size_t size) {
if (!this->data || this->len != size) {
this->data = std::make_unique<uint8_t[]>(size);
this->len = size;
}
memcpy(this->data.get(), src, size);
}
SmallInlineBuffer<8> data; // Most prefs fit in 8 bytes (covers fan, cover, select, etc.)
};
static std::vector<NVSData> s_pending_save; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
@@ -42,14 +33,14 @@ class LibreTinyPreferenceBackend : public ESPPreferenceBackend {
// try find in pending saves and update that
for (auto &obj : s_pending_save) {
if (obj.key == this->key) {
obj.set_data(data, len);
obj.data.set(data, len);
return true;
}
}
NVSData save{};
save.key = this->key;
save.set_data(data, len);
s_pending_save.emplace_back(std::move(save));
save.data.set(data, len);
s_pending_save.push_back(std::move(save));
ESP_LOGVV(TAG, "s_pending_save: key: %" PRIu32 ", len: %zu", this->key, len);
return true;
}
@@ -58,11 +49,11 @@ class LibreTinyPreferenceBackend : public ESPPreferenceBackend {
// try find in pending saves and load from that
for (auto &obj : s_pending_save) {
if (obj.key == this->key) {
if (obj.len != len) {
if (obj.data.size() != len) {
// size mismatch
return false;
}
memcpy(data, obj.data.get(), len);
memcpy(data, obj.data.data(), len);
return true;
}
}
@@ -126,11 +117,11 @@ class LibreTinyPreferences : public ESPPreferences {
snprintf(key_str, sizeof(key_str), "%" PRIu32, save.key);
ESP_LOGVV(TAG, "Checking if FDB data %s has changed", key_str);
if (this->is_changed_(&this->db, save, key_str)) {
ESP_LOGV(TAG, "sync: key: %s, len: %zu", key_str, save.len);
fdb_blob_make(&this->blob, save.data.get(), save.len);
ESP_LOGV(TAG, "sync: key: %s, len: %zu", key_str, save.data.size());
fdb_blob_make(&this->blob, save.data.data(), save.data.size());
fdb_err_t err = fdb_kv_set_blob(&this->db, key_str, &this->blob);
if (err != FDB_NO_ERR) {
ESP_LOGV(TAG, "fdb_kv_set_blob('%s', len=%zu) failed: %d", key_str, save.len, err);
ESP_LOGV(TAG, "fdb_kv_set_blob('%s', len=%zu) failed: %d", key_str, save.data.size(), err);
failed++;
last_err = err;
last_key = save.key;
@@ -138,7 +129,7 @@ class LibreTinyPreferences : public ESPPreferences {
}
written++;
} else {
ESP_LOGD(TAG, "FDB data not changed; skipping %" PRIu32 " len=%zu", save.key, save.len);
ESP_LOGD(TAG, "FDB data not changed; skipping %" PRIu32 " len=%zu", save.key, save.data.size());
cached++;
}
s_pending_save.erase(s_pending_save.begin() + i);
@@ -162,7 +153,7 @@ class LibreTinyPreferences : public ESPPreferences {
}
// Check size first - if different, data has changed
if (kv.value_len != to_save.len) {
if (kv.value_len != to_save.data.size()) {
return true;
}
@@ -176,7 +167,7 @@ class LibreTinyPreferences : public ESPPreferences {
}
// Compare the actual data
return memcmp(to_save.data.get(), stored_data.get(), kv.value_len) != 0;
return memcmp(to_save.data.data(), stored_data.get(), kv.value_len) != 0;
}
bool reset() override {
@@ -1,3 +1,4 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#ifdef USE_ESP8266
@@ -44,13 +45,16 @@ void LightWaveRF::send_rx(const std::vector<uint8_t> &msg, uint8_t repeats, bool
}
void LightWaveRF::print_msg_(uint8_t *msg, uint8_t len) {
char buffer[65];
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG
char buffer[65]; // max 10 entries * 6 chars + null
ESP_LOGD(TAG, " Received code (len:%i): ", len);
size_t pos = 0;
for (int i = 0; i < len; i++) {
sprintf(&buffer[i * 6], "0x%02x, ", msg[i]);
pos = buf_append_printf(buffer, sizeof(buffer), pos, "0x%02x, ", msg[i]);
}
ESP_LOGD(TAG, "[%s]", buffer);
#endif
}
void LightWaveRF::dump_config() {
@@ -0,0 +1,51 @@
#ifdef USE_ESP8266
#include "logger.h"
#include "esphome/core/log.h"
namespace esphome::logger {
static const char *const TAG = "logger";
void Logger::pre_setup() {
if (this->baud_rate_ > 0) {
switch (this->uart_) {
case UART_SELECTION_UART0:
case UART_SELECTION_UART0_SWAP:
this->hw_serial_ = &Serial;
Serial.begin(this->baud_rate_);
if (this->uart_ == UART_SELECTION_UART0_SWAP) {
Serial.swap();
}
Serial.setDebugOutput(ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE);
break;
case UART_SELECTION_UART1:
this->hw_serial_ = &Serial1;
Serial1.begin(this->baud_rate_);
Serial1.setDebugOutput(ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE);
break;
}
} else {
uart_set_debug(UART_NO);
}
global_logger = this;
ESP_LOGI(TAG, "Log initialized");
}
void HOT Logger::write_msg_(const char *msg) { this->hw_serial_->println(msg); }
const LogString *Logger::get_uart_selection_() {
switch (this->uart_) {
case UART_SELECTION_UART0:
return LOG_STR("UART0");
case UART_SELECTION_UART1:
return LOG_STR("UART1");
case UART_SELECTION_UART0_SWAP:
default:
return LOG_STR("UART0_SWAP");
}
}
} // namespace esphome::logger
#endif
@@ -0,0 +1,22 @@
#if defined(USE_HOST)
#include "logger.h"
namespace esphome::logger {
void HOT Logger::write_msg_(const char *msg) {
time_t rawtime;
struct tm *timeinfo;
char buffer[80];
time(&rawtime);
timeinfo = localtime(&rawtime);
strftime(buffer, sizeof buffer, "[%H:%M:%S]", timeinfo);
fputs(buffer, stdout);
puts(msg);
}
void Logger::pre_setup() { global_logger = this; }
} // namespace esphome::logger
#endif
@@ -0,0 +1,70 @@
#ifdef USE_LIBRETINY
#include "logger.h"
namespace esphome::logger {
static const char *const TAG = "logger";
void Logger::pre_setup() {
if (this->baud_rate_ > 0) {
switch (this->uart_) {
#if LT_HW_UART0
case UART_SELECTION_UART0:
this->hw_serial_ = &Serial0;
Serial0.begin(this->baud_rate_);
break;
#endif
#if LT_HW_UART1
case UART_SELECTION_UART1:
this->hw_serial_ = &Serial1;
Serial1.begin(this->baud_rate_);
break;
#endif
#if LT_HW_UART2
case UART_SELECTION_UART2:
this->hw_serial_ = &Serial2;
Serial2.begin(this->baud_rate_);
break;
#endif
default:
this->hw_serial_ = &Serial;
Serial.begin(this->baud_rate_);
if (this->uart_ != UART_SELECTION_DEFAULT) {
ESP_LOGW(TAG, " The chosen logger UART port is not available on this board."
"The default port was used instead.");
}
break;
}
// change lt_log() port to match default Serial
if (this->uart_ == UART_SELECTION_DEFAULT) {
this->uart_ = (UARTSelection) (LT_UART_DEFAULT_SERIAL + 1);
lt_log_set_port(LT_UART_DEFAULT_SERIAL);
} else {
lt_log_set_port(this->uart_ - 1);
}
}
global_logger = this;
ESP_LOGI(TAG, "Log initialized");
}
void HOT Logger::write_msg_(const char *msg) { this->hw_serial_->println(msg); }
const LogString *Logger::get_uart_selection_() {
switch (this->uart_) {
case UART_SELECTION_DEFAULT:
return LOG_STR("DEFAULT");
case UART_SELECTION_UART0:
return LOG_STR("UART0");
case UART_SELECTION_UART1:
return LOG_STR("UART1");
case UART_SELECTION_UART2:
default:
return LOG_STR("UART2");
}
}
} // namespace esphome::logger
#endif // USE_LIBRETINY
@@ -0,0 +1,48 @@
#ifdef USE_RP2040
#include "logger.h"
#include "esphome/core/log.h"
namespace esphome::logger {
static const char *const TAG = "logger";
void Logger::pre_setup() {
if (this->baud_rate_ > 0) {
switch (this->uart_) {
case UART_SELECTION_UART0:
this->hw_serial_ = &Serial1;
Serial1.begin(this->baud_rate_);
break;
case UART_SELECTION_UART1:
this->hw_serial_ = &Serial2;
Serial2.begin(this->baud_rate_);
break;
case UART_SELECTION_USB_CDC:
this->hw_serial_ = &Serial;
Serial.begin(this->baud_rate_);
break;
}
}
global_logger = this;
ESP_LOGI(TAG, "Log initialized");
}
void HOT Logger::write_msg_(const char *msg) { this->hw_serial_->println(msg); }
const LogString *Logger::get_uart_selection_() {
switch (this->uart_) {
case UART_SELECTION_UART0:
return LOG_STR("UART0");
case UART_SELECTION_UART1:
return LOG_STR("UART1");
#ifdef USE_LOGGER_USB_CDC
case UART_SELECTION_USB_CDC:
return LOG_STR("USB_CDC");
#endif
default:
return LOG_STR("UNKNOWN");
}
}
} // namespace esphome::logger
#endif // USE_RP2040
@@ -0,0 +1,96 @@
#ifdef USE_ZEPHYR
#include "esphome/core/application.h"
#include "esphome/core/log.h"
#include "logger.h"
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/usb/usb_device.h>
namespace esphome::logger {
static const char *const TAG = "logger";
#ifdef USE_LOGGER_USB_CDC
void Logger::loop() {
if (this->uart_ != UART_SELECTION_USB_CDC || nullptr == this->uart_dev_) {
return;
}
static bool opened = false;
uint32_t dtr = 0;
uart_line_ctrl_get(this->uart_dev_, UART_LINE_CTRL_DTR, &dtr);
/* Poll if the DTR flag was set, optional */
if (opened == dtr) {
return;
}
if (!opened) {
App.schedule_dump_config();
}
opened = !opened;
}
#endif
void Logger::pre_setup() {
if (this->baud_rate_ > 0) {
static const struct device *uart_dev = nullptr;
switch (this->uart_) {
case UART_SELECTION_UART0:
uart_dev = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(uart0));
break;
case UART_SELECTION_UART1:
uart_dev = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(uart1));
break;
#ifdef USE_LOGGER_USB_CDC
case UART_SELECTION_USB_CDC:
uart_dev = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(cdc_acm_uart0));
if (device_is_ready(uart_dev)) {
usb_enable(nullptr);
}
break;
#endif
}
if (!device_is_ready(uart_dev)) {
ESP_LOGE(TAG, "%s is not ready.", LOG_STR_ARG(get_uart_selection_()));
} else {
this->uart_dev_ = uart_dev;
}
}
global_logger = this;
ESP_LOGI(TAG, "Log initialized");
}
void HOT Logger::write_msg_(const char *msg) {
#ifdef CONFIG_PRINTK
printk("%s\n", msg);
#endif
if (nullptr == this->uart_dev_) {
return;
}
while (*msg) {
uart_poll_out(this->uart_dev_, *msg);
++msg;
}
uart_poll_out(this->uart_dev_, '\n');
}
const LogString *Logger::get_uart_selection_() {
switch (this->uart_) {
case UART_SELECTION_UART0:
return LOG_STR("UART0");
case UART_SELECTION_UART1:
return LOG_STR("UART1");
#ifdef USE_LOGGER_USB_CDC
case UART_SELECTION_USB_CDC:
return LOG_STR("USB_CDC");
#endif
default:
return LOG_STR("UNKNOWN");
}
}
} // namespace esphome::logger
#endif
+11 -1
View File
@@ -2,6 +2,7 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include <cinttypes>
#include <map>
#include <string>
@@ -43,8 +44,17 @@ template<typename K, typename V> class Mapping {
esph_log_e(TAG, "Key '%p' not found in mapping", key);
} else if constexpr (std::is_same_v<K, std::string>) {
esph_log_e(TAG, "Key '%s' not found in mapping", key.c_str());
} else if constexpr (std::is_integral_v<K>) {
char buf[24]; // enough for 64-bit integer
if constexpr (std::is_unsigned_v<K>) {
buf_append_printf(buf, sizeof(buf), 0, "%" PRIu64, static_cast<uint64_t>(key));
} else {
buf_append_printf(buf, sizeof(buf), 0, "%" PRId64, static_cast<int64_t>(key));
}
esph_log_e(TAG, "Key '%s' not found in mapping", buf);
} else {
esph_log_e(TAG, "Key '%s' not found in mapping", to_string(key).c_str());
// All supported key types are handled above - this should never be reached
static_assert(sizeof(K) == 0, "Unsupported key type for Mapping error logging");
}
return {};
}
+1 -1
View File
@@ -162,7 +162,7 @@ void MAX6956GPIOPin::pin_mode(gpio::Flags flags) { this->parent_->pin_mode(this-
bool MAX6956GPIOPin::digital_read() { return this->parent_->digital_read(this->pin_) != this->inverted_; }
void MAX6956GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
size_t MAX6956GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via Max6956", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via Max6956", this->pin_);
}
} // namespace max6956
+2 -2
View File
@@ -56,7 +56,7 @@ void MCP23016::pin_mode(uint8_t pin, gpio::Flags flags) {
this->update_reg_(pin, false, iodir);
}
}
float MCP23016::get_setup_priority() const { return setup_priority::HARDWARE; }
float MCP23016::get_setup_priority() const { return setup_priority::IO; }
bool MCP23016::read_reg_(uint8_t reg, uint8_t *value) {
if (this->is_failed())
return false;
@@ -100,7 +100,7 @@ void MCP23016GPIOPin::pin_mode(gpio::Flags flags) { this->parent_->pin_mode(this
bool MCP23016GPIOPin::digital_read() { return this->parent_->digital_read(this->pin_) != this->inverted_; }
void MCP23016GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
size_t MCP23016GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via MCP23016", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via MCP23016", this->pin_);
}
} // namespace mcp23016
@@ -17,7 +17,7 @@ template<uint8_t N> void MCP23XXXGPIOPin<N>::digital_write(bool value) {
this->parent_->digital_write(this->pin_, value != this->inverted_);
}
template<uint8_t N> size_t MCP23XXXGPIOPin<N>::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via MCP23XXX", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via MCP23XXX", this->pin_);
}
template class MCP23XXXGPIOPin<8>;
@@ -448,6 +448,9 @@ async def to_code(config):
# The inference task queues detection events that need immediate processing
socket.require_wake_loop_threadsafe()
# Keep ring buffer functions in IRAM for audio performance
esp32.enable_ringbuf_in_iram()
mic_source = await microphone.microphone_source_to_code(config[CONF_MICROPHONE])
cg.add(var.set_microphone_source(mic_source))
@@ -271,24 +271,31 @@ class ServerRegister {
// Formats a raw value into a string representation based on the value type for debugging
std::string format_value(int64_t value) const {
// max 48: float with %.1f can be up to 42 chars (3.4e38 → 38 integer digits + decimal + 1 digit + sign + null)
// int64_t max is 20 chars + sign + null = 22, so 48 covers both
char buf[48];
switch (this->value_type) {
case SensorValueType::U_WORD:
case SensorValueType::U_DWORD:
case SensorValueType::U_DWORD_R:
case SensorValueType::U_QWORD:
case SensorValueType::U_QWORD_R:
return std::to_string(static_cast<uint64_t>(value));
buf_append_printf(buf, sizeof(buf), 0, "%" PRIu64, static_cast<uint64_t>(value));
return buf;
case SensorValueType::S_WORD:
case SensorValueType::S_DWORD:
case SensorValueType::S_DWORD_R:
case SensorValueType::S_QWORD:
case SensorValueType::S_QWORD_R:
return std::to_string(value);
buf_append_printf(buf, sizeof(buf), 0, "%" PRId64, value);
return buf;
case SensorValueType::FP32_R:
case SensorValueType::FP32:
return str_sprintf("%.1f", bit_cast<float>(static_cast<uint32_t>(value)));
buf_append_printf(buf, sizeof(buf), 0, "%.1f", bit_cast<float>(static_cast<uint32_t>(value)));
return buf;
default:
return std::to_string(value);
buf_append_printf(buf, sizeof(buf), 0, "%" PRId64, value);
return buf;
}
}
@@ -16,12 +16,20 @@ void ModbusTextSensor::parse_and_publish(const std::vector<uint8_t> &data) {
while ((items_left > 0) && index < data.size()) {
uint8_t b = data[index];
switch (this->encode_) {
case RawEncoding::HEXBYTES:
output_str += str_snprintf("%02x", 2, b);
case RawEncoding::HEXBYTES: {
// max 3: 2 hex digits + null
char hex_buf[3];
snprintf(hex_buf, sizeof(hex_buf), "%02x", b);
output_str += hex_buf;
break;
case RawEncoding::COMMA:
output_str += str_sprintf(index != this->offset ? ",%d" : "%d", b);
}
case RawEncoding::COMMA: {
// max 5: optional ','(1) + uint8(3) + null, for both ",%d" and "%d"
char dec_buf[5];
snprintf(dec_buf, sizeof(dec_buf), index != this->offset ? ",%d" : "%d", b);
output_str += dec_buf;
break;
}
case RawEncoding::ANSI:
if (b < 0x20)
break;
+1 -1
View File
@@ -154,7 +154,7 @@ void MPR121GPIOPin::digital_write(bool value) {
}
size_t MPR121GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "ELE%u on MPR121", this->pin_);
return buf_append_printf(buffer, len, 0, "ELE%u on MPR121", this->pin_);
}
} // namespace mpr121
@@ -18,7 +18,7 @@ bool CustomMQTTDevice::publish(const std::string &topic, float value, int8_t num
}
bool CustomMQTTDevice::publish(const std::string &topic, int value) {
char buffer[24];
int len = snprintf(buffer, sizeof(buffer), "%d", value);
size_t len = buf_append_printf(buffer, sizeof(buffer), 0, "%d", value);
return global_mqtt_client->publish(topic, buffer, len);
}
bool CustomMQTTDevice::publish_json(const std::string &topic, const json::json_build_t &f, uint8_t qos, bool retain) {
+13 -2
View File
@@ -91,7 +91,17 @@ void MQTTClientComponent::send_device_info_() {
uint8_t index = 0;
for (auto &ip : network::get_ip_addresses()) {
if (ip.is_set()) {
root["ip" + (index == 0 ? "" : esphome::to_string(index))] = ip.str();
char key[8]; // "ip" + up to 3 digits + null
char ip_buf[network::IP_ADDRESS_BUFFER_SIZE];
if (index == 0) {
key[0] = 'i';
key[1] = 'p';
key[2] = '\0';
} else {
buf_append_printf(key, sizeof(key), 0, "ip%u", index);
}
ip.str_to(ip_buf);
root[key] = ip_buf;
index++;
}
}
@@ -635,7 +645,8 @@ void MQTTClientComponent::set_log_message_template(MQTTMessage &&message) { this
const MQTTDiscoveryInfo &MQTTClientComponent::get_discovery_info() const { return this->discovery_info_; }
void MQTTClientComponent::set_topic_prefix(const std::string &topic_prefix, const std::string &check_topic_prefix) {
if (App.is_name_add_mac_suffix_enabled() && (topic_prefix == check_topic_prefix)) {
this->topic_prefix_ = str_sanitize(App.get_name());
char buf[ESPHOME_DEVICE_NAME_MAX_LEN + 1];
this->topic_prefix_ = str_sanitize_to(buf, App.get_name().c_str());
} else {
this->topic_prefix_ = topic_prefix;
}
+38 -16
View File
@@ -48,7 +48,8 @@ void MQTTComponent::set_subscribe_qos(uint8_t qos) { this->subscribe_qos_ = qos;
void MQTTComponent::set_retain(bool retain) { this->retain_ = retain; }
std::string MQTTComponent::get_discovery_topic_(const MQTTDiscoveryInfo &discovery_info) const {
std::string sanitized_name = str_sanitize(App.get_name());
char sanitized_name[ESPHOME_DEVICE_NAME_MAX_LEN + 1];
str_sanitize_to(sanitized_name, App.get_name().c_str());
const char *comp_type = this->component_type();
char object_id_buf[OBJECT_ID_MAX_LEN];
StringRef object_id = this->get_default_object_id_to_(object_id_buf);
@@ -60,7 +61,7 @@ std::string MQTTComponent::get_discovery_topic_(const MQTTDiscoveryInfo &discove
p = append_char(p, '/');
p = append_str(p, comp_type, strlen(comp_type));
p = append_char(p, '/');
p = append_str(p, sanitized_name.data(), sanitized_name.size());
p = append_str(p, sanitized_name, strlen(sanitized_name));
p = append_char(p, '/');
p = append_str(p, object_id.c_str(), object_id.size());
p = append_str(p, "/config", 7);
@@ -189,27 +190,37 @@ bool MQTTComponent::send_discovery_() {
StringRef object_id = this->get_default_object_id_to_(object_id_buf);
if (discovery_info.unique_id_generator == MQTT_MAC_ADDRESS_UNIQUE_ID_GENERATOR) {
char friendly_name_hash[9];
snprintf(friendly_name_hash, sizeof(friendly_name_hash), "%08" PRIx32, fnv1_hash(this->friendly_name_()));
buf_append_printf(friendly_name_hash, sizeof(friendly_name_hash), 0, "%08" PRIx32,
fnv1_hash(this->friendly_name_()));
// Format: mac-component_type-hash (e.g. "aabbccddeeff-sensor-12345678")
// MAC (12) + "-" (1) + domain (max 20) + "-" (1) + hash (8) + null (1) = 43
char unique_id[MAC_ADDRESS_BUFFER_SIZE + ESPHOME_DOMAIN_MAX_LEN + 11];
char mac_buf[MAC_ADDRESS_BUFFER_SIZE];
get_mac_address_into_buffer(mac_buf);
snprintf(unique_id, sizeof(unique_id), "%s-%s-%s", mac_buf, this->component_type(), friendly_name_hash);
buf_append_printf(unique_id, sizeof(unique_id), 0, "%s-%s-%s", mac_buf, this->component_type(),
friendly_name_hash);
root[MQTT_UNIQUE_ID] = unique_id;
} else {
// default to almost-unique ID. It's a hack but the only way to get that
// gorgeous device registry view.
root[MQTT_UNIQUE_ID] = "ESP" + std::string(this->component_type()) + object_id.c_str();
// "ESP" (3) + component_type (max 20) + object_id (max 128) + null
char unique_id_buf[3 + MQTT_COMPONENT_TYPE_MAX_LEN + OBJECT_ID_MAX_LEN + 1];
buf_append_printf(unique_id_buf, sizeof(unique_id_buf), 0, "ESP%s%s", this->component_type(),
object_id.c_str());
root[MQTT_UNIQUE_ID] = unique_id_buf;
}
const std::string &node_name = App.get_name();
if (discovery_info.object_id_generator == MQTT_DEVICE_NAME_OBJECT_ID_GENERATOR)
root[MQTT_OBJECT_ID] = node_name + "_" + object_id.c_str();
if (discovery_info.object_id_generator == MQTT_DEVICE_NAME_OBJECT_ID_GENERATOR) {
// node_name (max 31) + "_" (1) + object_id (max 128) + null
char object_id_full[ESPHOME_DEVICE_NAME_MAX_LEN + 1 + OBJECT_ID_MAX_LEN + 1];
buf_append_printf(object_id_full, sizeof(object_id_full), 0, "%s_%s", node_name.c_str(), object_id.c_str());
root[MQTT_OBJECT_ID] = object_id_full;
}
const std::string &friendly_name_ref = App.get_friendly_name();
const std::string &node_friendly_name = friendly_name_ref.empty() ? node_name : friendly_name_ref;
std::string node_area = App.get_area();
const char *node_area = App.get_area();
JsonObject device_info = root[MQTT_DEVICE].to<JsonObject>();
char mac[MAC_ADDRESS_BUFFER_SIZE];
@@ -220,18 +231,29 @@ bool MQTTComponent::send_discovery_() {
device_info[MQTT_DEVICE_SW_VERSION] = ESPHOME_PROJECT_VERSION " (ESPHome " ESPHOME_VERSION ")";
const char *model = std::strchr(ESPHOME_PROJECT_NAME, '.');
device_info[MQTT_DEVICE_MODEL] = model == nullptr ? ESPHOME_BOARD : model + 1;
device_info[MQTT_DEVICE_MANUFACTURER] =
model == nullptr ? ESPHOME_PROJECT_NAME : std::string(ESPHOME_PROJECT_NAME, model - ESPHOME_PROJECT_NAME);
if (model == nullptr) {
device_info[MQTT_DEVICE_MANUFACTURER] = ESPHOME_PROJECT_NAME;
} else {
// Extract manufacturer (part before '.') using stack buffer to avoid heap allocation
// memcpy is used instead of strncpy since we know the exact length and strncpy
// would still require manual null-termination
char manufacturer[sizeof(ESPHOME_PROJECT_NAME)];
size_t len = model - ESPHOME_PROJECT_NAME;
memcpy(manufacturer, ESPHOME_PROJECT_NAME, len);
manufacturer[len] = '\0';
device_info[MQTT_DEVICE_MANUFACTURER] = manufacturer;
}
#else
static const char ver_fmt[] PROGMEM = ESPHOME_VERSION " (config hash 0x%08" PRIx32 ")";
// Buffer sized for format string expansion: ~4 bytes net growth from format specifier to 8 hex digits, plus
// safety margin
char version_buf[sizeof(ver_fmt) + 8];
#ifdef USE_ESP8266
char fmt_buf[sizeof(ver_fmt)];
strcpy_P(fmt_buf, ver_fmt);
const char *fmt = fmt_buf;
snprintf_P(version_buf, sizeof(version_buf), ver_fmt, App.get_config_hash());
#else
const char *fmt = ver_fmt;
snprintf(version_buf, sizeof(version_buf), ver_fmt, App.get_config_hash());
#endif
device_info[MQTT_DEVICE_SW_VERSION] = str_sprintf(fmt, App.get_config_hash());
device_info[MQTT_DEVICE_SW_VERSION] = version_buf;
device_info[MQTT_DEVICE_MODEL] = ESPHOME_BOARD;
#if defined(USE_ESP8266) || defined(USE_ESP32)
device_info[MQTT_DEVICE_MANUFACTURER] = "Espressif";
@@ -245,7 +267,7 @@ bool MQTTComponent::send_discovery_() {
device_info[MQTT_DEVICE_MANUFACTURER] = "Host";
#endif
#endif
if (!node_area.empty()) {
if (node_area[0] != '\0') {
device_info[MQTT_DEVICE_SUGGESTED_AREA] = node_area;
}
+1 -1
View File
@@ -175,7 +175,7 @@ bool MQTTFanComponent::publish_state() {
auto traits = this->state_->get_traits();
if (traits.supports_speed()) {
char buf[12];
int len = snprintf(buf, sizeof(buf), "%d", this->state_->speed);
size_t len = buf_append_printf(buf, sizeof(buf), 0, "%d", this->state_->speed);
bool success = this->publish(this->get_speed_level_state_topic(), buf, len);
failed = failed || !success;
}
+1 -1
View File
@@ -75,7 +75,7 @@ bool MQTTNumberComponent::send_initial_state() {
}
bool MQTTNumberComponent::publish_state(float value) {
char buffer[64];
snprintf(buffer, sizeof(buffer), "%f", value);
buf_append_printf(buffer, sizeof(buffer), 0, "%f", value);
return this->publish(this->get_state_topic_(), buffer);
}
+26 -4
View File
@@ -43,6 +43,14 @@ namespace network {
/// Buffer size for IP address string (IPv6 max: 39 chars + null)
static constexpr size_t IP_ADDRESS_BUFFER_SIZE = 40;
/// Lowercase hex digits in IP address string (A-F -> a-f for IPv6 per RFC 5952)
inline void lowercase_ip_str(char *buf) {
for (char *p = buf; *p; ++p) {
if (*p >= 'A' && *p <= 'F')
*p += 32;
}
}
struct IPAddress {
public:
#ifdef USE_HOST
@@ -52,10 +60,15 @@ struct IPAddress {
}
IPAddress(const std::string &in_address) { inet_aton(in_address.c_str(), &ip_addr_); }
IPAddress(const ip_addr_t *other_ip) { ip_addr_ = *other_ip; }
std::string str() const { return str_lower_case(inet_ntoa(ip_addr_)); }
std::string str() const {
char buf[IP_ADDRESS_BUFFER_SIZE];
this->str_to(buf);
return buf;
}
/// Write IP address to buffer. Buffer must be at least IP_ADDRESS_BUFFER_SIZE bytes.
char *str_to(char *buf) const {
return const_cast<char *>(inet_ntop(AF_INET, &ip_addr_, buf, IP_ADDRESS_BUFFER_SIZE));
inet_ntop(AF_INET, &ip_addr_, buf, IP_ADDRESS_BUFFER_SIZE);
return buf; // IPv4 only, no hex letters to lowercase
}
#else
IPAddress() { ip_addr_set_zero(&ip_addr_); }
@@ -134,9 +147,18 @@ struct IPAddress {
bool is_ip4() const { return IP_IS_V4(&ip_addr_); }
bool is_ip6() const { return IP_IS_V6(&ip_addr_); }
bool is_multicast() const { return ip_addr_ismulticast(&ip_addr_); }
std::string str() const { return str_lower_case(ipaddr_ntoa(&ip_addr_)); }
std::string str() const {
char buf[IP_ADDRESS_BUFFER_SIZE];
this->str_to(buf);
return buf;
}
/// Write IP address to buffer. Buffer must be at least IP_ADDRESS_BUFFER_SIZE bytes.
char *str_to(char *buf) const { return ipaddr_ntoa_r(&ip_addr_, buf, IP_ADDRESS_BUFFER_SIZE); }
/// Output is lowercased per RFC 5952 (IPv6 hex digits a-f).
char *str_to(char *buf) const {
ipaddr_ntoa_r(&ip_addr_, buf, IP_ADDRESS_BUFFER_SIZE);
lowercase_ip_str(buf);
return buf;
}
bool operator==(const IPAddress &other) const { return ip_addr_cmp(&ip_addr_, &other.ip_addr_); }
bool operator!=(const IPAddress &other) const { return !ip_addr_cmp(&ip_addr_, &other.ip_addr_); }
IPAddress &operator+=(uint8_t increase) {
+4 -2
View File
@@ -1,6 +1,7 @@
#include "nextion.h"
#include <cinttypes>
#include "esphome/core/application.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include "esphome/core/util.h"
@@ -1283,8 +1284,9 @@ void Nextion::check_pending_waveform_() {
size_t buffer_to_send = component->get_wave_buffer_size() < 255 ? component->get_wave_buffer_size()
: 255; // ADDT command can only send 255
std::string command = "addt " + to_string(component->get_component_id()) + "," +
to_string(component->get_wave_channel_id()) + "," + to_string(buffer_to_send);
char command[24]; // "addt " + uint8 + "," + uint8 + "," + uint8 + null = max 17 chars
buf_append_printf(command, sizeof(command), 0, "addt %u,%u,%zu", component->get_component_id(),
component->get_wave_channel_id(), buffer_to_send);
if (!this->send_command_(command)) {
delete nb; // NOLINT(cppcoreguidelines-owning-memory)
this->waveform_queue_.pop_front();
@@ -34,7 +34,7 @@ int Nextion::upload_by_chunks_(HTTPClient &http_client, uint32_t &range_start) {
}
char range_header[32];
sprintf(range_header, "bytes=%" PRIu32 "-%" PRIu32, range_start, range_end);
buf_append_printf(range_header, sizeof(range_header), 0, "bytes=%" PRIu32 "-%" PRIu32, range_start, range_end);
ESP_LOGV(TAG, "Range: %s", range_header);
http_client.addHeader("Range", range_header);
int code = http_client.GET();
@@ -36,7 +36,7 @@ int Nextion::upload_by_chunks_(esp_http_client_handle_t http_client, uint32_t &r
}
char range_header[32];
sprintf(range_header, "bytes=%" PRIu32 "-%" PRIu32, range_start, range_end);
buf_append_printf(range_header, sizeof(range_header), 0, "bytes=%" PRIu32 "-%" PRIu32, range_start, range_end);
ESP_LOGV(TAG, "Range: %s", range_header);
esp_http_client_set_header(http_client, "Range", range_header);
ESP_LOGV(TAG, "Open HTTP");
+1 -1
View File
@@ -181,7 +181,7 @@ void PCA6416AGPIOPin::pin_mode(gpio::Flags flags) { this->parent_->pin_mode(this
bool PCA6416AGPIOPin::digital_read() { return this->parent_->digital_read(this->pin_) != this->inverted_; }
void PCA6416AGPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
size_t PCA6416AGPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via PCA6416A", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via PCA6416A", this->pin_);
}
} // namespace pca6416a
+1 -1
View File
@@ -130,7 +130,7 @@ void PCA9554GPIOPin::pin_mode(gpio::Flags flags) { this->parent_->pin_mode(this-
bool PCA9554GPIOPin::digital_read() { return this->parent_->digital_read(this->pin_) != this->inverted_; }
void PCA9554GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
size_t PCA9554GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via PCA9554", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via PCA9554", this->pin_);
}
} // namespace pca9554
+1 -1
View File
@@ -107,7 +107,7 @@ void PCF8574GPIOPin::pin_mode(gpio::Flags flags) { this->parent_->pin_mode(this-
bool PCF8574GPIOPin::digital_read() { return this->parent_->digital_read(this->pin_) != this->inverted_; }
void PCF8574GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
size_t PCF8574GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via PCF8574", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via PCF8574", this->pin_);
}
} // namespace pcf8574
@@ -165,7 +165,7 @@ void PI4IOE5V6408GPIOPin::digital_write(bool value) {
this->parent_->digital_write(this->pin_, value != this->inverted_);
}
size_t PI4IOE5V6408GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via PI4IOE5V6408", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via PI4IOE5V6408", this->pin_);
}
} // namespace pi4ioe5v6408
@@ -9,11 +9,11 @@ static const char *const TAG = "pipsolar.output";
void PipsolarOutput::write_state(float state) {
char tmp[10];
sprintf(tmp, this->set_command_.c_str(), state);
snprintf(tmp, sizeof(tmp), this->set_command_, state);
if (std::find(this->possible_values_.begin(), this->possible_values_.end(), state) != this->possible_values_.end()) {
ESP_LOGD(TAG, "Will write: %s out of value %f / %02.0f", tmp, state, state);
this->parent_->queue_command(std::string(tmp));
this->parent_->queue_command(tmp);
} else {
ESP_LOGD(TAG, "Will not write: %s as it is not in list of allowed values", tmp);
}
@@ -15,13 +15,15 @@ class PipsolarOutput : public output::FloatOutput {
public:
PipsolarOutput() {}
void set_parent(Pipsolar *parent) { this->parent_ = parent; }
void set_set_command(const std::string &command) { this->set_command_ = command; };
void set_set_command(const char *command) { this->set_command_ = command; }
/// Prevent accidental use of std::string which would dangle
void set_set_command(const std::string &command) = delete;
void set_possible_values(std::vector<float> possible_values) { this->possible_values_ = std::move(possible_values); }
void set_value(float value) { this->write_state(value); };
void set_value(float value) { this->write_state(value); }
protected:
void write_state(float state) override;
std::string set_command_;
const char *set_command_{nullptr};
Pipsolar *parent_;
std::vector<float> possible_values_;
};
+5 -5
View File
@@ -45,20 +45,20 @@ void Pipsolar::loop() {
} else {
ESP_LOGD(TAG, "command not successful");
}
this->command_queue_[this->command_queue_position_] = std::string("");
this->command_queue_[this->command_queue_position_].clear();
this->command_queue_position_ = (command_queue_position_ + 1) % COMMAND_QUEUE_LENGTH;
this->state_ = STATE_IDLE;
} else {
// crc failed
// no log message necessary, check_incoming_crc_() logs
this->command_queue_[this->command_queue_position_] = std::string("");
this->command_queue_[this->command_queue_position_].clear();
this->command_queue_position_ = (command_queue_position_ + 1) % COMMAND_QUEUE_LENGTH;
this->state_ = STATE_IDLE;
}
} else {
ESP_LOGD(TAG, "command %s response length not OK: with length %zu",
this->command_queue_[this->command_queue_position_].c_str(), this->read_pos_);
this->command_queue_[this->command_queue_position_] = std::string("");
this->command_queue_[this->command_queue_position_].clear();
this->command_queue_position_ = (command_queue_position_ + 1) % COMMAND_QUEUE_LENGTH;
this->state_ = STATE_IDLE;
}
@@ -127,7 +127,7 @@ void Pipsolar::loop() {
const char *command = this->command_queue_[this->command_queue_position_].c_str();
this->command_start_millis_ = millis();
ESP_LOGD(TAG, "command %s timeout", command);
this->command_queue_[this->command_queue_position_] = std::string("");
this->command_queue_[this->command_queue_position_].clear();
this->command_queue_position_ = (command_queue_position_ + 1) % COMMAND_QUEUE_LENGTH;
this->state_ = STATE_IDLE;
return;
@@ -722,7 +722,7 @@ void Pipsolar::publish_binary_sensor_(esphome::optional<bool> b, binary_sensor::
}
}
esphome::optional<bool> Pipsolar::get_bit_(std::string bits, uint8_t bit_pos) {
esphome::optional<bool> Pipsolar::get_bit_(const std::string &bits, uint8_t bit_pos) {
if (bit_pos >= bits.length()) {
return {};
}
+1 -1
View File
@@ -224,7 +224,7 @@ class Pipsolar : public uart::UARTDevice, public PollingComponent {
void publish_binary_sensor_(esphome::optional<bool> b, binary_sensor::BinarySensor *sensor);
esphome::optional<bool> get_bit_(std::string bits, uint8_t bit_pos);
esphome::optional<bool> get_bit_(const std::string &bits, uint8_t bit_pos);
std::string command_queue_[COMMAND_QUEUE_LENGTH];
uint8_t command_queue_position_ = 0;
@@ -9,14 +9,9 @@ static const char *const TAG = "pipsolar.switch";
void PipsolarSwitch::dump_config() { LOG_SWITCH("", "Pipsolar Switch", this); }
void PipsolarSwitch::write_state(bool state) {
if (state) {
if (!this->on_command_.empty()) {
this->parent_->queue_command(this->on_command_);
}
} else {
if (!this->off_command_.empty()) {
this->parent_->queue_command(this->off_command_);
}
const char *command = state ? this->on_command_ : this->off_command_;
if (command != nullptr) {
this->parent_->queue_command(command);
}
}
@@ -9,15 +9,18 @@ namespace pipsolar {
class Pipsolar;
class PipsolarSwitch : public switch_::Switch, public Component {
public:
void set_parent(Pipsolar *parent) { this->parent_ = parent; };
void set_on_command(const std::string &command) { this->on_command_ = command; };
void set_off_command(const std::string &command) { this->off_command_ = command; };
void set_parent(Pipsolar *parent) { this->parent_ = parent; }
void set_on_command(const char *command) { this->on_command_ = command; }
void set_off_command(const char *command) { this->off_command_ = command; }
/// Prevent accidental use of std::string which would dangle
void set_on_command(const std::string &command) = delete;
void set_off_command(const std::string &command) = delete;
void dump_config() override;
protected:
void write_state(bool state) override;
std::string on_command_;
std::string off_command_;
const char *on_command_{nullptr};
const char *off_command_{nullptr};
Pipsolar *parent_;
};
+5 -4
View File
@@ -1,4 +1,5 @@
#include "rc522_spi.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
// Based on:
@@ -70,7 +71,7 @@ void RC522Spi::pcd_read_register(PcdRegister reg, ///< The register to read fro
index++;
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
sprintf(cstrb, " %x", values[0]);
buf_append_printf(cstrb, sizeof(cstrb), 0, " %x", values[0]);
buf.append(cstrb);
#endif
}
@@ -78,7 +79,7 @@ void RC522Spi::pcd_read_register(PcdRegister reg, ///< The register to read fro
values[index] = transfer_byte(address); // Read value and tell that we want to read the same address again.
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
sprintf(cstrb, " %x", values[index]);
buf_append_printf(cstrb, sizeof(cstrb), 0, " %x", values[index]);
buf.append(cstrb);
#endif
@@ -88,7 +89,7 @@ void RC522Spi::pcd_read_register(PcdRegister reg, ///< The register to read fro
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
buf = buf + " ";
sprintf(cstrb, "%x", values[index]);
buf_append_printf(cstrb, sizeof(cstrb), 0, "%x", values[index]);
buf.append(cstrb);
ESP_LOGVV(TAG, "read_register_array_(%x, %d, , %d) -> %s", reg, count, rx_align, buf.c_str());
@@ -127,7 +128,7 @@ void RC522Spi::pcd_write_register(PcdRegister reg, ///< The register to write t
transfer_byte(values[index]);
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
sprintf(cstrb, " %x", values[index]);
buf_append_printf(cstrb, sizeof(cstrb), 0, " %x", values[index]);
buf.append(cstrb);
#endif
}
+6 -5
View File
@@ -1,6 +1,7 @@
#include "rf_bridge.h"
#include "esphome/core/log.h"
#include "esphome/core/application.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include <cinttypes>
#include <cstring>
@@ -72,9 +73,9 @@ bool RFBridgeComponent::parse_bridge_byte_(uint8_t byte) {
data.length = raw[2];
data.protocol = raw[3];
char next_byte[3];
char next_byte[3]; // 2 hex chars + null
for (uint8_t i = 0; i < data.length - 1; i++) {
sprintf(next_byte, "%02X", raw[4 + i]);
buf_append_printf(next_byte, sizeof(next_byte), 0, "%02X", raw[4 + i]);
data.code += next_byte;
}
@@ -90,10 +91,10 @@ bool RFBridgeComponent::parse_bridge_byte_(uint8_t byte) {
uint8_t buckets = raw[2] << 1;
std::string str;
char next_byte[3];
char next_byte[3]; // 2 hex chars + null
for (uint32_t i = 0; i <= at; i++) {
sprintf(next_byte, "%02X", raw[i]);
buf_append_printf(next_byte, sizeof(next_byte), 0, "%02X", raw[i]);
str += next_byte;
if ((i > 3) && buckets) {
buckets--;
+2 -2
View File
@@ -33,7 +33,7 @@ SelectPtr = Select.operator("ptr")
# Triggers
SelectStateTrigger = select_ns.class_(
"SelectStateTrigger",
automation.Trigger.template(cg.std_string, cg.size_t),
automation.Trigger.template(cg.StringRef, cg.size_t),
)
# Actions
@@ -100,7 +100,7 @@ async def setup_select_core_(var, config, *, options: list[str]):
for conf in config.get(CONF_ON_VALUE, []):
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
await automation.build_automation(
trigger, [(cg.std_string, "x"), (cg.size_t, "i")], conf
trigger, [(cg.StringRef, "x"), (cg.size_t, "i")], conf
)
if (mqtt_id := config.get(CONF_MQTT_ID)) is not None:
+2 -2
View File
@@ -6,11 +6,11 @@
namespace esphome::select {
class SelectStateTrigger : public Trigger<std::string, size_t> {
class SelectStateTrigger : public Trigger<StringRef, size_t> {
public:
explicit SelectStateTrigger(Select *parent) : parent_(parent) {
parent->add_on_state_callback(
[this](size_t index) { this->trigger(std::string(this->parent_->option_at(index)), index); });
[this](size_t index) { this->trigger(StringRef(this->parent_->option_at(index)), index); });
}
protected:
+7 -9
View File
@@ -80,23 +80,21 @@ class Select : public EntityBase {
void add_on_state_callback(std::function<void(size_t)> &&callback);
protected:
friend class SelectCall;
size_t active_index_{0};
/** Set the value of the select by index, this is an optional virtual method.
*
* IMPORTANT: At least ONE of the two control() methods must be overridden by derived classes.
* Overriding this index-based version is PREFERRED as it avoids string conversions.
*
* This method is called by the SelectCall when the index is already known.
* Default implementation converts to string and calls control(const std::string&).
* Default implementation converts to string and calls control().
* Override this to work directly with indices and avoid string conversions.
*
* @param index The index as validated by the SelectCall.
*/
virtual void control(size_t index) { this->control(this->option_at(index)); }
protected:
friend class SelectCall;
size_t active_index_{0};
/** Set the value of the select, this is a virtual method that each select integration can implement.
*
* IMPORTANT: At least ONE of the two control() methods must be overridden by derived classes.
+3 -2
View File
@@ -1,4 +1,5 @@
#include "sim800l.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include <cstring>
@@ -50,8 +51,8 @@ void Sim800LComponent::update() {
} else if (state_ == STATE_RECEIVED_SMS) {
// Serial Buffer should have flushed.
// Send cmd to delete received sms
char delete_cmd[20];
sprintf(delete_cmd, "AT+CMGD=%d", this->parse_index_);
char delete_cmd[20]; // "AT+CMGD=" (8) + int (max 11) + null = 20
buf_append_printf(delete_cmd, sizeof(delete_cmd), 0, "AT+CMGD=%d", this->parse_index_);
this->send_cmd_(delete_cmd);
this->state_ = STATE_CHECK_SMS;
this->expect_ack_ = true;
+9 -2
View File
@@ -104,7 +104,10 @@ std::vector<ObisInfo> SmlFile::get_obis_info() {
std::string bytes_repr(const BytesView &buffer) {
std::string repr;
for (auto const value : buffer) {
repr += str_sprintf("%02x", value & 0xff);
// max 3: 2 hex digits + null
char hex_buf[3];
snprintf(hex_buf, sizeof(hex_buf), "%02x", value & 0xff);
repr += hex_buf;
}
return repr;
}
@@ -146,7 +149,11 @@ ObisInfo::ObisInfo(const BytesView &server_id, const SmlNode &val_list_entry) :
}
std::string ObisInfo::code_repr() const {
return str_sprintf("%d-%d:%d.%d.%d", this->code[0], this->code[1], this->code[2], this->code[3], this->code[4]);
// max 20: "255-255:255.255.255" (19 chars) + null
char buf[20];
snprintf(buf, sizeof(buf), "%d-%d:%d.%d.%d", this->code[0], this->code[1], this->code[2], this->code[3],
this->code[4]);
return buf;
}
} // namespace sml
+1 -1
View File
@@ -65,7 +65,7 @@ float SN74HC165Component::get_setup_priority() const { return setup_priority::IO
bool SN74HC165GPIOPin::digital_read() { return this->parent_->digital_read_(this->pin_) != this->inverted_; }
size_t SN74HC165GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via SN74HC165", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via SN74HC165", this->pin_);
}
} // namespace sn74hc165
+1 -1
View File
@@ -94,7 +94,7 @@ void SN74HC595GPIOPin::digital_write(bool value) {
this->parent_->digital_write_(this->pin_, value != this->inverted_);
}
size_t SN74HC595GPIOPin::dump_summary(char *buffer, size_t len) const {
return snprintf(buffer, len, "%u via SN74HC595", this->pin_);
return buf_append_printf(buffer, len, 0, "%u via SN74HC595", this->pin_);
}
} // namespace sn74hc595
+5 -5
View File
@@ -107,9 +107,9 @@ std::unique_ptr<Socket> socket_ip_loop_monitored(int type, int protocol) {
#endif /* USE_NETWORK_IPV6 */
}
socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const std::string &ip_address, uint16_t port) {
socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const char *ip_address, uint16_t port) {
#if USE_NETWORK_IPV6
if (ip_address.find(':') != std::string::npos) {
if (strchr(ip_address, ':') != nullptr) {
if (addrlen < sizeof(sockaddr_in6)) {
errno = EINVAL;
return 0;
@@ -121,14 +121,14 @@ socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const std::stri
#ifdef USE_SOCKET_IMPL_BSD_SOCKETS
// Use standard inet_pton for BSD sockets
if (inet_pton(AF_INET6, ip_address.c_str(), &server->sin6_addr) != 1) {
if (inet_pton(AF_INET6, ip_address, &server->sin6_addr) != 1) {
errno = EINVAL;
return 0;
}
#else
// Use LWIP-specific functions
ip6_addr_t ip6;
inet6_aton(ip_address.c_str(), &ip6);
inet6_aton(ip_address, &ip6);
memcpy(server->sin6_addr.un.u32_addr, ip6.addr, sizeof(ip6.addr));
#endif
return sizeof(sockaddr_in6);
@@ -141,7 +141,7 @@ socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const std::stri
auto *server = reinterpret_cast<sockaddr_in *>(addr);
memset(server, 0, sizeof(sockaddr_in));
server->sin_family = AF_INET;
server->sin_addr.s_addr = inet_addr(ip_address.c_str());
server->sin_addr.s_addr = inet_addr(ip_address);
server->sin_port = htons(port);
return sizeof(sockaddr_in);
}
+11 -1
View File
@@ -87,7 +87,17 @@ std::unique_ptr<Socket> socket_loop_monitored(int domain, int type, int protocol
std::unique_ptr<Socket> socket_ip_loop_monitored(int type, int protocol);
/// Set a sockaddr to the specified address and port for the IP version used by socket_ip().
socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const std::string &ip_address, uint16_t port);
/// @param addr Destination sockaddr structure
/// @param addrlen Size of the addr buffer
/// @param ip_address Null-terminated IP address string (IPv4 or IPv6)
/// @param port Port number in host byte order
/// @return Size of the sockaddr structure used, or 0 on error
socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const char *ip_address, uint16_t port);
/// Convenience overload for std::string (backward compatible).
inline socklen_t set_sockaddr(struct sockaddr *addr, socklen_t addrlen, const std::string &ip_address, uint16_t port) {
return set_sockaddr(addr, addrlen, ip_address.c_str(), port);
}
/// Set a sockaddr to the any address and specified port for the IP version used by socket_ip().
socklen_t set_sockaddr_any(struct sockaddr *addr, socklen_t addrlen, uint16_t port);
+1 -1
View File
@@ -25,7 +25,7 @@ CONFIG_SCHEMA = (
cv.Optional(CONF_SPEED): cv.invalid(
"Configuring individual speeds is deprecated."
),
cv.Optional(CONF_SPEED_COUNT, default=100): cv.int_range(min=1),
cv.Optional(CONF_SPEED_COUNT, default=100): cv.int_range(min=1, max=255),
cv.Optional(CONF_PRESET_MODES): validate_preset_modes,
}
)
+2 -2
View File
@@ -10,7 +10,7 @@ namespace speed {
class SpeedFan : public Component, public fan::Fan {
public:
SpeedFan(int speed_count) : speed_count_(speed_count) {}
SpeedFan(uint8_t speed_count) : speed_count_(speed_count) {}
void setup() override;
void dump_config() override;
void set_output(output::FloatOutput *output) { this->output_ = output; }
@@ -26,7 +26,7 @@ class SpeedFan : public Component, public fan::Fan {
output::FloatOutput *output_;
output::BinaryOutput *oscillating_{nullptr};
output::BinaryOutput *direction_{nullptr};
int speed_count_{};
uint8_t speed_count_{};
fan::FanTraits traits_;
std::vector<const char *> preset_modes_{};
};

Some files were not shown because too many files have changed in this diff Show More