J. Nick Koston
d341ee8c76
[esp32_ble] Skip dropped count check when queue is empty
...
On Xtensa (dual-core ESP32), even relaxed atomic loads emit a memw
barrier instruction. The dropped_count_ check in get_and_reset_dropped_count()
was executing every loop() iteration even when the queue was empty.
Since drops only occur when the queue is full, and only the main loop
drains the queue, an empty queue guarantees no new drops since the last
reset. Restructure the loop to early-return when pop() returns nullptr,
skipping the unnecessary memw.
Also moves advertising_->loop() before the queue drain so it runs
unconditionally without duplication, and converts while to do/while
since the first element is known non-null after the nullptr check.
2026-04-03 10:21:20 -10:00
dependabot[bot]
f8f65c1a7b
Bump click from 8.3.1 to 8.3.2 ( #15421 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 09:42:37 -10:00
J. Nick Koston
d90e2a6a9a
[core] Use __builtin_ctz for FiniteSetMask bit scanning ( #15400 )
2026-04-03 08:28:54 -10:00
J. Nick Koston
4969fd6e99
[light] Use reciprocal multiply in normalize_color ( #15401 )
2026-04-03 08:28:41 -10:00
J. Nick Koston
95683b7416
[light] Pass LightTraits to avoid redundant virtual get_traits() calls ( #15403 )
2026-04-03 08:28:29 -10:00
J. Nick Koston
38f4dc3217
[uptime] Pass known length to publish_state to avoid redundant strlen ( #15410 )
2026-04-03 08:28:07 -10:00
J. Nick Koston
f2a0d9943d
[benchmarks] Add host platform benchmarks for text_sensor and button ( #15407 )
2026-04-03 08:27:55 -10:00
J. Nick Koston
ea0227a206
[benchmarks] Add host platform benchmarks for number, select, and switch ( #15405 )
2026-04-03 08:27:44 -10:00
J. Nick Koston
5a23669747
[scheduler] Fix unrealistic scheduler benchmarks missing periodic drain ( #15396 )
2026-04-03 08:27:29 -10:00
J. Nick Koston
2a5933e4f7
[host] Add graceful shutdown on SIGINT/SIGTERM ( #15387 )
2026-04-03 08:27:13 -10:00
Jonathan Swoboda
6fecd72049
[ezo_pmp] Fix change_i2c_address action using wrong template type ( #15393 )
2026-04-03 08:35:16 -04:00
Clyde Stubbs
8360502a94
[ci] Fix deprecated-component matcher ( #15417 )
2026-04-03 08:01:04 -04:00
Jonathan Swoboda
5548a32771
[ili9xxx] Fix SPI MOSI pin validation never executing ( #15399 )
2026-04-03 21:15:51 +11:00
Clyde Stubbs
6f05e3d204
[ci] Run ci-custom.py as a pre-commit check ( #15411 )
2026-04-03 12:54:44 +11:00
Jonathan Swoboda and clydebarrow
bcd8ddeabe
[lvgl] Fix ext_click_area property application ( #15394 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
2026-04-03 12:44:54 +11:00
Clyde Stubbs
af662da90d
[mipi_spi] Rotation and buffer size changes ( #15047 )
2026-04-03 12:28:45 +11:00
Keith Burzinski
710186998b
[ota] Use modernized namespace syntax ( #15398 )
2026-04-02 19:12:05 -04:00
J. Nick Koston
be3e0c27bf
[core] Inline fast path for enable_loop ( #15392 )
2026-04-02 21:28:12 +00:00
Jonathan Swoboda
4d0d3cc271
[sen5x] Remove dead voc_baseline config option ( #15391 )
2026-04-02 10:53:53 -10:00
Jonathan Swoboda
4134763f34
[at581x][canbus] Fix walrus operator skipping falsy config values ( #15390 )
2026-04-02 20:32:10 +00:00
1e72f0ee5a
[nextion] Gate waveform code behind USE_NEXTION_WAVEFORM, use StaticRingBuffer ( #15273 )
...
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@koston.org >
2026-04-02 20:17:20 +00:00
J. Nick Koston
63710a4cb7
[spi] Add spi0 and spi1 to reserved IDs for RP2040 compatibility ( #15388 )
2026-04-02 16:10:16 -04:00
c82166e5f3
[dsmr] Allow setting MBUS id for thermal sensors in DSMR component ( #7519 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-02 10:06:49 -10:00
Jonathan Swoboda
90624e6eca
[deep_sleep] Fix wakeup_pin_mode rejecting lowercase on ESP32/BK72XX ( #15384 )
2026-04-02 09:34:27 -10:00
Jonathan Swoboda
6b89998b60
[template] Fix cover position_action overridden by has_position default ( #15379 )
2026-04-02 09:29:33 -10:00
Jonathan Swoboda
dde472b0cf
[pipsolar] Fix set_level action passing string to cv.use_id ( #15380 )
2026-04-02 09:28:44 -10:00
dependabot[bot] and J. Nick Koston
f7222a0e6c
Bump ruff from 0.15.8 to 0.15.9 ( #15385 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-02 19:28:30 +00:00
Jonathan Swoboda
0262d20bbe
[mlx90393] Remove call to non-existent set_drdy_pin method ( #15381 )
2026-04-02 09:26:47 -10:00
Jonathan Swoboda
37b33f62de
[htu21d] Fix set_heater action reading wrong config key ( #15378 )
2026-04-02 09:25:54 -10:00
Jonathan Swoboda
2f405fd96f
[espnow] Fix enable_on_boot config option not passed to C++ ( #15377 )
2026-04-02 09:25:15 -10:00
dependabot[bot]
67ee727e38
Bump docker/login-action from 4.0.0 to 4.1.0 in the docker-actions group ( #15386 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 09:24:26 -10:00
Jonathan Swoboda
12a0f5959f
[bl0940] Fix reference_voltage config ignored in non-legacy mode ( #15375 )
2026-04-02 09:23:04 -10:00
Jonathan Swoboda
5dcae1a133
[climate] Fix MQTT target_temperature_low_state_topic calling wrong setter ( #15376 )
2026-04-02 09:22:07 -10:00
Jonathan Swoboda
0343121e9b
[ble_client] Fix descriptor_uuid ignored for text sensors ( #15374 )
2026-04-02 09:21:18 -10:00
J. Nick Koston
da09e1e1ce
[time] Use O(1) closed-form leap year math for epoch-to-year conversion ( #15368 )
2026-04-02 09:19:47 -10:00
Jonathan Swoboda
e7e590b36f
[thermostat] Fix on_boot_restore_from DEFAULT_PRESET validation bypass ( #15383 )
2026-04-02 19:08:43 +00:00
Kevin Ahrendt
da8d9d9c2d
[audio] use microFLAC library for decoding ( #15372 )
2026-04-02 11:37:14 -04:00
Kevin Ahrendt
b8a9d327f0
[media_player] Add enqueue action ( #14775 )
2026-04-02 10:40:19 -04:00
a359ecaaf4
[zigbee] print logs after reporting info update ( #13916 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-02 14:12:20 +00:00
J. Nick Koston
c21c7dd292
[mitsubishi_cn105] Fix test grouping conflict with uart package ( #15366 )
2026-04-02 09:12:38 -04:00
Edward Firmo
34295fbd69
[nextion] Collapse nested namespace to esphome::nextion ( #15367 )
2026-04-02 00:25:54 -10:00
J. Nick Koston
3fbf0f0c01
[api] Simplify encode_to_buffer to single resize call ( #15355 )
2026-04-02 03:13:09 +00:00
J. Nick Koston
1436d034bf
[api] Inline DeferredBatch::add_item to eliminate push_back call barrier ( #15353 )
2026-04-02 03:11:47 +00:00
J. Nick Koston
08c7b3afbd
[esp32_ble_tracker] Reduce scan cycle log spam ( #15365 )
2026-04-01 16:53:53 -10:00
J. Nick Koston
f36d78e09c
[core] Force inline Component::get_component_log_str() ( #15363 )
2026-04-01 16:15:00 -10:00
J. Nick Koston
be56be5201
[core] Reduce runtime_stats measurement overhead ( #15359 )
2026-04-01 16:14:45 -10:00
J. Nick Koston
bcc7b8f490
[api] Add send_sensor_state benchmarks ( #15352 )
2026-04-01 16:12:02 -10:00
J. Nick Koston
27c662e73f
[bluetooth_proxy] Replace loop() with set_interval for advertisement flushing ( #15347 )
2026-04-01 16:11:50 -10:00
Clyde Stubbs
eefbb42be4
[lvgl] Add missing event names ( #15362 )
2026-04-02 14:16:56 +13:00
dependabot[bot]
b5c4449a16
Bump pillow from 12.1.1 to 12.2.0 ( #15361 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 14:11:44 -10:00