J. Nick Koston
bcb49c96ed
Merge branch 'configure_entity' into protect_entity_setters
2026-03-06 09:44:03 -10:00
J. Nick Koston
0904f6c996
Merge remote-tracking branch 'upstream/dev' into configure_entity
2026-03-06 09:43:21 -10:00
J. Nick Koston
69386cce2b
Strengthen test assertions for configure_entity_ packed values
...
- Sensor and text_sensor device_class tests now extract and verify the
packed argument is non-zero instead of just checking call presence
- Remove useless setup_test_environment fixture references in unit tests
2026-03-06 09:43:07 -10:00
Jonathan Swoboda
9ab5f5d451
[light] Fix unsigned underflow in addressable scan effect ( #14546 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:42:05 -10:00
J. Nick Koston
7117ded6b6
[core] Pack entity flags into configure_entity_() and protect setters
...
Move set_internal(), set_disabled_by_default(), set_entity_category(),
and set_device() to protected on EntityBase. These were codegen-only
setters never intended for runtime use.
internal, disabled_by_default, and entity_category are now packed into
the existing configure_entity_() uint32 parameter alongside string
indices, eliminating up to 3 separate function calls per entity.
set_device() is renamed to set_device_() per protected naming convention
and remains a separate call (pointer can't be packed).
Entity category integer mapping is derived from cv.ENTITY_CATEGORIES
to stay in sync with the C++ enum automatically.
2026-03-06 09:35:30 -10:00
Jonathan Swoboda
219d5170e0
[noblex] Fix IR receive losing decoded bytes between calls ( #14533 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 14:15:54 -05:00
Jonathan Swoboda
7b8ba9bf20
[multiple] Fix cast/operator precedence bugs ( #14560 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:14:12 -10:00
Jonathan Swoboda
3db436e48e
[esp32_ble_server][espnow][time] Fix logic bugs ( #14553 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:05:34 -10:00
Jonathan Swoboda
3c7956e72d
[multiple] Add default initializers to uninitialized member variables ( #14556 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:04:00 -10:00
J. Nick Koston
42dbb51022
[api] Devirtualize protobuf encode/calculate_size ( #14449 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-06 19:03:54 +00:00
Jonathan Swoboda
9654140c00
[tm1638][rp2040_pio_led_strip][atm90e32] Fix bounds checks and off-by-one ( #14559 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:00:46 -10:00
J. Nick Koston
fd19bb4aa3
Merge remote-tracking branch 'upstream/dev' into configure_entity
...
# Conflicts:
# esphome/core/entity_base.h
2026-03-06 08:40:31 -10:00
J. Nick Koston
8a915dcbbe
[core] Move device class strings to PROGMEM on ESP8266 ( #14443 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-06 08:34:27 -10:00
Thomas Rupprecht
b2378e830e
[rtttl] Add AudioStreamInfo and set volume ( #14439 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-06 18:11:52 +00:00
J. Nick Koston
65b7c73bf3
[sgp4x] Fix undefined behavior from mutating entity config at runtime ( #14562 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 18:02:34 +00:00
J. Nick Koston
6b53ccc85a
make it safer
2026-03-06 07:39:49 -10:00
J. Nick Koston
79d7795c07
Merge branch 'dev' into configure_entity
2026-03-06 07:33:40 -10:00
J. Nick Koston
6e3bc7b1dd
[ci] Use pull_request_target for codeowner approved label workflow ( #14561 )
2026-03-06 07:33:05 -10:00
J. Nick Koston
82629c397f
[hlk_fm22x] Fix oversized response rejection breaking GET_ALL_FACE_IDS ( #14506 )
2026-03-06 07:01:50 -10:00
J. Nick Koston
a16b8fc0ac
[rp2040] Fix Pico W LED pin and auto-generate board definitions for arduino-pico 5.5.x ( #14528 )
2026-03-06 07:00:31 -10:00
J. Nick Koston
74e4b69654
[core] Replace Application name/friendly_name std::string with StringRef ( #14532 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-03-06 06:58:13 -10:00
J. Nick Koston
07e51886f3
[core] Move entity icon strings to PROGMEM on ESP8266 ( #14437 )
2026-03-06 06:57:52 -10:00
tomaszduda23
e59a2b3ede
[nrf52] prepare for usb cdc ( #14174 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-06 16:25:44 +00:00
Thomas Rupprecht
5084c32f3c
[esp32] Fix ESP32-S3 pin validation error message ( #14540 )
2026-03-06 07:22:11 -05:00
Thomas Rupprecht
c0b7f41397
[esp32] Fix wrong variable usage in P4 pin validation error msg ( #14539 )
2026-03-06 07:21:44 -05:00
Jonathan Swoboda
6c07c15c50
[mipi_dsi][e131] Fix semaphore cast, missing return, and light count overread ( #14530 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 07:18:56 -05:00
Jonathan Swoboda
666fb7cf39
[sx127x][sx126x][max6956] Fix null deref, unterminated string, and pin bounds check ( #14529 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 07:18:28 -05:00
tomaszduda23
a2c0d70c2c
[ble_nus] Add uart support ( #14320 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-05 21:00:17 -10:00
Jonathan Swoboda
80fe54ed69
[bluetooth_proxy] Add null checks for api_connection ( #14536 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 23:30:39 -05:00
Jonathan Swoboda
44870323da
[host] Add null checks for getenv and fopen in preferences ( #14531 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 20:47:47 -05:00
Gnuspice
58ab630965
[ethernet] add get_eth_handle() function ( #14527 )
2026-03-05 23:37:07 +00:00
Kevin Ahrendt
64098122e7
[audio_file] Add media source platform ( #14436 )
...
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>
2026-03-05 12:30:13 -10:00
Jonathan Swoboda
8a8f6824a2
[openthread][ethernet][wifi] Add IPv6 address array bounds assert ( #14488 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 12:29:44 -10:00
tomaszduda23
b2c12d88fe
[uart] init tx_pin, rx_pin, flow control, rx_buffer_size ( #14524 )
2026-03-05 12:24:11 -10:00
Jonathan Swoboda
e8b1dce67b
[st7735][st7789v][st7920] Fix display buffer overflows and dead code ( #14511 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 16:28:41 -05:00
J. Nick Koston
fbf63d8e3b
[rp2040] Update arduino-pico to 5.5.1 and fix WiFi AP fallback ( #14500 )
2026-03-05 21:23:00 +00:00
Kevin Ahrendt
06d6322fe3
[audio] Extract detect_audio_file_type helper ( #14507 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 21:19:45 +00:00
Jonathan Swoboda
de14e7055e
[cse7761][ads1115][tmp1075][matrix_keypad][seeed_mr60bha2] Fix assorted bugs ( #14518 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 21:10:26 +00:00
Jonathan Swoboda
3392e4d73b
[usb_uart][nextion][feedback][whirlpool][packet_transport][he60r][hc8][runtime_stats] Fix millis() wrapping bugs ( #14474 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 16:08:58 -05:00
Bonne Eggleston
b0be02e16d
[modbus] Fix timing bugs and better adhere to spec ( #8032 )
...
Co-authored-by: brambo123 <52667932+brambo123@users.noreply.github.com >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-05 20:54:17 +00:00
J. Nick Koston
60fb99f715
Merge branch 'dev' into configure_entity
2026-03-05 10:50:51 -10:00
Jonathan Swoboda
d11e7cab46
[xiaomi_ble][pvvx_mithermometer][atc_mithermometer] Add BLE service data bounds checks ( #14514 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 20:18:54 +00:00
J. Nick Koston
e25d740968
[wifi] Cache is_connected() for cheap inline access ( #14463 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-05 09:58:58 -10:00
Jonathan Swoboda
291679126f
[nfc] Fix off-by-one in NDEF message parsing ( #14485 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 09:55:54 -10:00
dependabot[bot]
99a805cba6
Bump the docker-actions group across 1 directory with 2 updates ( #14520 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 09:52:10 -10:00
Jonathan Swoboda
bb37887a8c
[wled][lcd_base][touchscreen][ee895] Fix off-by-one, buffer overrun, empty deref, and uninitialized pointers ( #14513 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-05 09:51:32 -10:00
Kevin Ahrendt
5c5ea8824e
[audio_file] New component for embedding files into firmware ( #14434 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
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>
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 09:51:08 -10:00
Jonathan Swoboda
22d90d702d
[usb_cdc_acm][scd4x][pulse_counter][mopeka_std_check][ruuvi_ble] Fix assorted one-liner bugs ( #14495 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 09:47:55 -10:00
Jonathan Swoboda
9961c8180a
[alpha3][mpu6886][emc2101] Fix copy-paste bugs ( #14492 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 09:47:32 -10:00
Jonathan Swoboda
d6f3186b3d
[haier][bedjet][vbus][lightwaverf] Fix buffer overflow bugs ( #14493 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-05 09:47:10 -10:00