J. Nick Koston
06bef148f4
[core] Optimize DelayAction for no-argument case using if constexpr ( #11913 )
2025-11-20 09:06:52 -05:00
J. Nick Koston
29374837c6
[wifi, captive_portal, web_server, wifi_info] Use stack allocation for MAC address formatting ( #11963 )
2025-11-18 17:06:34 -06:00
J. Nick Koston
1888f5ffd5
[scheduler] Add defensive nullptr checks and explicit locking requirements ( #11974 )
2025-11-18 18:16:18 +00:00
Jonathan Swoboda
3d6c361037
[core] Add support for setting environment variables ( #11953 )
2025-11-17 12:32:08 -05:00
J. Nick Koston
fc546ca3f6
[scheduler] Fix timing breakage after 49 days of uptime on ESP8266/RP2040 ( #11924 )
2025-11-15 22:20:57 -06:00
Clyde Stubbs
eb759efb3d
[font] Store glyph data in flash only ( #11926 )
2025-11-16 12:48:02 +11:00
J. Nick Koston
9de80b635a
[core] Fix wait_until hanging when used in on_boot automations ( #11869 )
2025-11-12 17:56:19 +00:00
J. Nick Koston
79a4444928
[wifi] Conditionally compile manual_ip to save 24-72 bytes RAM ( #11833 )
2025-11-11 23:27:08 +00:00
tomaszduda23
661920c51e
[nrf52,ssd1306_i2c] fix build error ( #11847 )
2025-11-11 18:18:17 +00:00
tomaszduda23 and J. Nick Koston
a6b7c1f18c
[nrf52,gpio] add gpio levels for high voltage mode ( #9858 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-11 15:17:25 +00:00
Clyde Stubbs
7a700ca077
[core] Update clamp functions to allow mixed but comparable types ( #11828 )
2025-11-11 02:15:44 +00:00
tomaszduda23
b47e89a7d5
[nrf52,watchdog] do not disable watchog if it is not nesesery ( #11686 )
2025-11-10 15:21:38 +13:00
J. Nick Koston
7abb6d4998
[core] Implement Global Controller Registry to reduce RAM usage ( #11772 )
2025-11-09 17:34:08 -06:00
J. Nick Koston
7b86e1feb0
[core] Remove deprecated EntityBase::hash_base() method ( #11783 )
2025-11-10 11:39:27 +13:00
J. Nick Koston
3c41e080c5
[core] Use ESPDEPRECATED macro for deprecation warnings ( #11755 )
2025-11-07 03:37:02 +00:00
J. Nick Koston
822eacfd77
[core] Fix wait_until and for_condition timing regression in automation chains ( #11716 )
2025-11-06 15:49:24 +13:00
Clyde Stubbs
ab5d8f67ae
[core] Add helper functions for clamp_at_... ( #10387 )
2025-11-06 15:48:02 +13:00
J. Nick Koston
00c0854323
[core] Deprecate get_icon(), get_device_class(), get_unit_of_measurement() and fix remaining non-MQTT usages ( #11732 )
2025-11-05 12:50:35 -06:00
J. Nick Koston
df53ff7afe
[scheduler] Extract helper functions to improve code readability ( #11730 )
2025-11-06 07:13:12 +13:00
J. Nick Koston
32975c9d8b
[select][lvgl] Fix FixedVector size() returning 0 when using operator[] after init() ( #11721 )
2025-11-05 01:49:27 +00:00
J. Nick Koston and Jesse Hills
1446e7174a
[core] Reduce action framework argument copies by 83% ( #11704 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-11-05 01:23:24 +00:00
J. Nick Koston and Jesse Hills
aed7505f53
[automations] Reduce memory usage in if/while/repeat actions (32-36 bytes per instance) ( #11650 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-11-05 10:48:20 +13:00
Jonathan Swoboda
326975ccad
[core] Fix ESPTime crash ( #11705 )
2025-11-03 21:09:34 -05:00
Keith Burzinski
266e4ae91f
[helpers] Add get_mac_address_into_buffer() ( #11700 )
2025-11-03 23:30:37 +00:00
J. Nick Koston
3f12630a6b
[core][esp32_ble][socket] Add wake_loop_threadsafe() helper for background thread wakeups ( #11681 )
2025-11-04 08:13:37 +13:00
cb039b42aa
[esp32] Make the loop task's stack size configurable ( #10564 )
...
Co-authored-by: Paul Strawder <paul@korro.ai >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-11-03 16:34:53 +00:00
J. Nick Koston
0f0cd1f706
[core] Avoid redundant millis() calls in base_automation loop methods ( #11676 )
2025-11-03 01:40:13 +00:00
J. Nick Koston
4a5e6576c8
[scheduler] Refactor call() for improved code organization ( #11643 )
2025-11-03 14:29:29 +13:00
J. Nick Koston
4838eff382
[web_server] Use zero-copy entity ID comparison in request handlers ( #11644 )
2025-11-03 14:12:56 +13:00
Clyde Stubbs
19e275dc02
[component] Add is_idle method and condition ( #11651 )
2025-11-03 11:33:44 +11:00
86402be9e3
actions: fix loop re-entry ( #7972 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-11-02 17:02:13 -06:00
J. Nick Koston
d25121a55c
[core] Remove redundant fd bounds check in yield_with_select_() ( #11666 )
2025-11-01 22:43:08 -05:00
J. Nick Koston
58235049e3
[template] Eliminate optional wrapper to save 4 bytes RAM per instance ( #11610 )
2025-10-30 15:06:21 +13:00
J. Nick Koston
f3634edc22
[select] Store options in flash to reduce RAM usage ( #11514 )
2025-10-29 15:28:16 +13:00
Jesse Hills
466d4522bc
[http_request] Pass trigger variables into on_response/on_error ( #11464 )
2025-10-29 12:17:16 +13:00
J. Nick Koston
3377080272
[core] Simplify ESPTime::strftime() and save 20 bytes flash ( #11539 )
2025-10-28 11:16:09 +13:00
J. Nick Koston
bda4769bd3
[core] Optimize TemplatableValue to use function pointers for stateless lambdas ( #11554 )
2025-10-27 21:05:40 +00:00
J. Nick Koston
e26b5874d7
[api] Register user services with initializer_list ( #11545 )
2025-10-28 09:07:31 +13:00
J. Nick Koston
3c18558003
Optimize stateless lambdas to use function pointers ( #11551 )
2025-10-28 08:06:22 +13:00
J. Nick Koston
e212ed024d
[sntp] Replace std::vector<std::string> with std::array<const char*> to save heap memory ( #11525 )
2025-10-25 10:00:43 -07:00
J. Nick Koston
2440bbdceb
[core][sensor] Eliminate redundant default value setters in generated code ( #11495 )
2025-10-23 20:01:23 -07:00
J. Nick Koston
917deac7cb
[scheduler] Remove unused <deque> include after defer queue optimization ( #11491 )
2025-10-23 04:02:19 +00:00
2864e989bd
[light] Extract ColorModeMask into generic FiniteSetMask helper ( #11472 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-23 14:22:46 +13:00
f2de8df556
[openthread] Fix OTA by populating CORE.address with device's mDNS address ( #11095 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-22 11:07:01 -10:00
J. Nick Koston and Jesse Hills
e1c851cab8
[wifi] Optimize WiFi network storage with FixedVector ( #11458 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-10-22 05:23:10 +00:00
Jesse Hills
c6ae1a5909
[core] Stop clang-format "fixing" a single line ( #11462 )
2025-10-22 01:00:27 +00:00
1ea80594c6
[light] Improve gamma correction precision ( #11141 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-10-21 22:11:11 +00:00
J. Nick Koston
73f5d01c2d
[core] Optimize automation actions memory usage with std::initializer_list ( #11433 )
2025-10-21 04:32:58 +00:00
Jesse Hills and J. Nick Koston
0938609f7a
[improv] Put next_url behind defines to save flash ( #11420 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-21 16:58:26 +13:00
Jonathan Swoboda
a809a13729
[core] Add support for extern "C" includes ( #11422 )
2025-10-21 15:46:50 +13:00