Commit Graph
14113 Commits
Author SHA1 Message Date
J. Nick Koston b6301ac4a2 Merge branch 'dev' into sensor_value_list_static_array 2026-03-27 17:12:15 -10:00
J. Nick Koston a3ccb656b2 Replace forward-declared App with throttle_check_and_update helper
Forward declaration fails when filter.h is included before application.h
(incomplete type error). Instead, extract the throttle time check into a
non-template helper in filter.cpp that accesses App directly. This keeps
the same call overhead as the old ThrottleFilter (one function call) but
the helper does the time check AND updates last_input, so the template
new_value() body has no App dependency at all.
2026-03-27 17:09:44 -10:00
J. Nick Koston 2a80ba3e9e Merge remote-tracking branches 'upstream/sensor_or_filter_static_array', 'upstream/sensor_calibrate_linear_static_array', 'upstream/sensor_calibrate_polynomial_static_array', 'upstream/binary_sensor_autorepeat_static_array', 'upstream/binary_sensor_multiclick_static_array', 'upstream/text_sensor_substitute_static_array' and 'upstream/text_sensor_map_static_array' into sensor_value_list_static_array 2026-03-27 17:03:11 -10:00
J. Nick Koston 19e497cd61 Remove get_loop_component_start_time wrapper, use forward-declared App directly
The wrapper added a function call indirection on every filter invocation
that the compiler cannot inline without LTO. Forward-declaring Application
and App lets the template body call App.get_loop_component_start_time()
directly — the method is inline in application.h which is included by
main.cpp where the template is instantiated.
2026-03-27 16:58:49 -10:00
J. Nick Koston 711ba55756 Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:52 -10:00
J. Nick Koston 4cba679469 Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:50 -10:00
J. Nick Koston 327d0597af Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:48 -10:00
J. Nick Koston 5d7ae5b3ce Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:46 -10:00
J. Nick Koston 4eec3f5076 Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:44 -10:00
J. Nick Koston 1a9c1d4844 Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:42 -10:00
J. Nick Koston 1d8be72a44 Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:40 -10:00
J. Nick Koston fa6df8ea2a Fix: inline ESPHOME_DEBUG_ASSERT to avoid include order issue 2026-03-27 16:27:38 -10:00
J. Nick Koston 3b01e65a2a Remove accidentally committed .gitignore 2026-03-27 16:24:35 -10:00
Jonathan Swoboda b6abfec82e [core] Fix area/device hash collision validation not running (#15259) 2026-03-27 22:22:24 -04:00
J. Nick Koston 7f5409214b Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:59 -10:00
J. Nick Koston c4aed6f7e5 Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:57 -10:00
J. Nick Koston a20b0a96b9 Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:55 -10:00
J. Nick Koston 8b42629e3e Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:53 -10:00
J. Nick Koston ae2a82edd6 Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:51 -10:00
J. Nick Koston f8e144b23b Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:49 -10:00
J. Nick Koston 1d2f11b990 Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:47 -10:00
J. Nick Koston 494d431bf8 Use init_array_from helper for optimal codegen
Uses memcpy for trivially copyable types, element-wise copy otherwise.
ESPHOME_DEBUG_ASSERT catches size mismatches in integration tests.
2026-03-27 16:14:45 -10:00
J. Nick Koston c2c34d39e7 [text_sensor] Assert size before writing, not after 2026-03-27 15:55:56 -10:00
J. Nick Koston 787af59845 [text_sensor] Assert size before writing, not after 2026-03-27 15:55:29 -10:00
J. Nick Koston 3e7dcc6490 [binary_sensor] Assert size before writing, not after 2026-03-27 15:54:44 -10:00
J. Nick Koston f9c2d60b7d [binary_sensor] Assert size before writing, not after 2026-03-27 15:54:12 -10:00
J. Nick Koston 55963a6ea0 [sensor] Assert size before writing, not after 2026-03-27 15:53:18 -10:00
J. Nick Koston 4cb1164a01 [sensor] Assert size before writing, not after 2026-03-27 15:52:16 -10:00
J. Nick Koston 3d68920de0 [sensor] Assert size before writing, not after 2026-03-27 15:51:05 -10:00
J. Nick Koston 70a9c2f8b6 [sensor] Assert size before writing, not after 2026-03-27 15:49:57 -10:00
J. Nick Koston a28f331f73 [text_sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:10 -10:00
J. Nick Koston f47799a645 [text_sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:09 -10:00
J. Nick Koston 869bafe338 [binary_sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:07 -10:00
J. Nick Koston f8138eef77 [binary_sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:07 -10:00
J. Nick Koston aae1edda0d [sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:06 -10:00
J. Nick Koston f162c5acd3 [sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:05 -10:00
J. Nick Koston 8a93b0c1c0 [sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:48:04 -10:00
J. Nick Koston c8609af6ce [sensor] Replace truncation guard with ESPHOME_DEBUG_ASSERT 2026-03-27 15:47:56 -10:00
J. Nick Koston f1221602f4 [binary_sensor] Move deleted copy/move to public (clang-tidy modernize-use-equals-delete) 2026-03-27 15:26:24 -10:00
J. Nick Koston cef546c8d8 [binary_sensor] Move deleted copy/move to public (clang-tidy modernize-use-equals-delete) 2026-03-27 15:26:03 -10:00
J. Nick Koston df154189c4 [binary_sensor] Delete copy/move on MultiClickTriggerBase (pointer would dangle) 2026-03-27 15:06:25 -10:00
J. Nick Koston 115d84b2a7 [binary_sensor] Delete copy/move on AutorepeatFilterBase (pointer would dangle) 2026-03-27 15:05:19 -10:00
Jonathan Swoboda 47774fb644 [modbus_controller] Fix wrong enum in function_code_to_register (#15253) 2026-03-27 19:55:57 -04:00
Jonathan Swoboda 34410e92b7 [as5600] Remove dead angle/position sensor code (#15254) 2026-03-27 19:55:40 -04:00
Edward Firmoandpre-commit-ci-lite[bot] a99f051e19 [nextion] Replace queue name string literals with short Nextion-native identifiers (#15215)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-27 13:49:00 -10:00
J. Nick Koston 5dc3291d3a Merge branch 'dev' into binary_sensor_autorepeat_static_array 2026-03-27 13:43:00 -10:00
J. Nick Koston 9fd267d606 Merge branch 'dev' into binary_sensor_multiclick_static_array 2026-03-27 13:42:31 -10:00
J. Nick Koston 27c609531d [text_sensor] Use std::array in MapFilter 2026-03-27 13:34:36 -10:00
J. Nick Koston f81e8946ed [binary_sensor] Use std::array in MultiClickTrigger 2026-03-27 13:34:35 -10:00
J. Nick Koston 83eb723c62 [binary_sensor] Use std::array in AutorepeatFilter 2026-03-27 13:33:46 -10:00