J. Nick Koston
31fbff9f2a
Merge remote-tracking branch 'upstream/dev' into integration
2026-03-06 12:32:42 -10:00
Jonathan Swoboda and Claude Opus 4.6
d8deb2255d
[mipi_rgb] Fix byte order and dirty bounds in fill() ( #14537 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 12:18:09 -10:00
dependabot[bot] and J. Nick Koston
035f985693
Bump ruff from 0.15.4 to 0.15.5 ( #14565 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-06 22:16:36 +00:00
dependabot[bot]
086c1bb505
Bump docker/build-push-action from 6.19.2 to 7.0.0 in /.github/actions/build-image ( #14567 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 12:12:44 -10:00
dependabot[bot]
c26c5935b6
Bump github/codeql-action from 4.32.5 to 4.32.6 ( #14566 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 12:12:19 -10:00
J. Nick Koston
83e01035c9
Merge branch 'protect_entity_setters' into integration
2026-03-06 11:19:02 -10:00
J. Nick Koston
dfa8c683dc
Drop unnecessary default=0 from config.get(_KEY_*_IDX) calls
2026-03-06 11:18:44 -10:00
J. Nick Koston
2852d86a2f
Address review: robust regex and comment accuracy
...
- Fix extract_packed_value regex to handle commas in entity names
by matching C++ string literals instead of [^,]+
- Only describe dc/uom/icon in comments when their index is actually
non-zero, so comment matches what was packed
2026-03-06 11:18:11 -10:00
J. Nick Koston
9906008171
Merge remote-tracking branch 'upstream/inline-status-clear' into integration
2026-03-06 11:17:07 -10:00
J. Nick Koston
c1c73dd619
Merge remote-tracking branch 'upstream/protect_entity_setters' into integration
...
# Conflicts:
# tests/component_tests/binary_sensor/test_binary_sensor.py
# tests/component_tests/button/test_button.py
# tests/component_tests/text/test_text.py
# tests/component_tests/text_sensor/test_text_sensor.py
2026-03-06 11:16:34 -10:00
J. Nick Koston
2e79866ee3
Merge branch 'dev' into inline-status-clear
2026-03-06 11:15:32 -10:00
Jonathan Swoboda and Claude Opus 4.6
de7572bd3e
[lightwaverf] Fix ISR safety issues ( #14563 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 11:04:12 -10:00
Jonathan Swoboda and Claude Opus 4.6
5777908da7
[iaqcore][scd30][sen21231][beken_spi_led_strip] Fix uninitialized variables and missing error checks ( #14568 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 11:03:53 -10:00
J. Nick Koston
9370b0451d
[core] Inline status_clear_warning/error fast path
...
Move the flag-check early return for status_clear_warning() and
status_clear_error() into inline methods in the header. The slow
path (flag clear + log message) remains out-of-line.
This eliminates a call8 on every poll cycle for components that
call status_clear_warning() unconditionally on success, which is
the common pattern.
2026-03-06 11:03:36 -10:00
587bf68091
[ltr501][pvvx_mithermometer][smt100] Convert static locals to instance members ( #14569 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-06 11:03:30 -10:00
J. Nick Koston
c956b33e93
Add comment noting shift correctness is verified by integration test
2026-03-06 11:02:35 -10:00
J. Nick Koston
86dd579dea
Remove internal shift constants from unit tests
...
Tests now verify packed values via comment strings and non-zero
checks rather than decoding individual bit positions. This removes
the coupling to internal bit layout constants.
2026-03-06 11:00:19 -10:00
J. Nick Koston
41c413d5f7
Move extract_packed_value to shared component test helper
...
Add tests/component_tests/helpers.py with typed extract_packed_value()
and INTERNAL_BIT constant, replacing 5 duplicate copies.
2026-03-06 10:56:51 -10:00
J. Nick Koston
c704d97804
Strengthen internal flag assertions in component tests
...
All internal-flag tests now extract the packed value and verify
bit 24 is set/clear for the correct entities, instead of just
checking configure_entity_() call presence.
2026-03-06 10:54:19 -10:00
J. Nick Koston
b6b1378019
Strengthen internal flag assertions in component tests
...
All internal-flag tests now extract the packed value and verify
bit 24 is set/clear for the correct entities, instead of just
checking configure_entity_() call presence.
2026-03-06 10:54:06 -10:00
Jonathan Swoboda and Claude Opus 4.6
2c83c6a79f
[shelly_dimmer][lvgl][seeed_mr60fda2][packet_transport] Fix buffer bounds checks ( #14534 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 10:47:56 -10:00
Jonathan Swoboda and Claude Opus 4.6
4f4b2bfdec
[bmp581_base][bl0906] Fix 24-bit sign extension bugs ( #14558 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 20:14:35 +00:00
Jonathan Swoboda and Claude Opus 4.6
0469612d07
[multiple] Fix assorted medium-severity bugs ( #14555 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 15:02:17 -05:00
J. Nick Koston
dffb964e0c
Merge branch 'protect_entity_setters' into integration
2026-03-06 09:56:13 -10:00
J. Nick Koston
54a8f558d6
Convert finalize tests to end-to-end through public API
...
Tests now go through _setup_entity_impl + setup_device_class/
setup_unit_of_measurement + finalize_entity_strings using real
CONF_* keys instead of internal _KEY_* constants.
2026-03-06 09:51:26 -10:00
Jonathan Swoboda and Claude Opus 4.6
8f3db96291
[esp32_ble_server][weikai][ade7880] Fix copy-paste bugs ( #14552 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:50:26 -10:00
Jonathan Swoboda and Claude Opus 4.6
a9cceebb33
[pid][nextion][pn532_i2c][pipsolar] Fix copy-paste and logic bugs ( #14551 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-06 09:48:50 -10:00
J. Nick Koston
c37f1481ce
Derive entity category names from cv.ENTITY_CATEGORIES and cleanup
...
- Remove hardcoded _ENTITY_CATEGORY_NAMES dict, derive from cv.ENTITY_CATEGORIES keys
- Remove redundant local import re (already at top level)
- Remove last setup_test_environment noqa line
2026-03-06 09:46:28 -10:00
J. Nick Koston
5e1fe0d2b9
Merge branch 'protect_entity_setters' of https://github.com/esphome/esphome into protect_entity_setters
2026-03-06 09:44:29 -10:00
J. Nick Koston
dccc008383
Merge branch 'configure_entity' into protect_entity_setters
2026-03-06 09:44:16 -10:00
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 and Claude Opus 4.6
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 and Claude Opus 4.6
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 and Claude Opus 4.6
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 and Claude Opus 4.6
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 and Claude Opus 4.6
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 and Copilot
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 and Claude Opus 4.6
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
c5a16416f5
Merge remote-tracking branch 'origin/devirtualize-proto-encode' into integration
2026-03-06 08:48:20 -10:00
J. Nick Koston
8429018261
Merge remote-tracking branch 'origin/integration' into integration
2026-03-06 08:48:14 -10:00
J. Nick Koston
379e0b060f
Merge branch 'configure_entity' into integration
...
# Conflicts:
# esphome/components/api/api_connection.cpp
# esphome/components/api/api_connection.h
# esphome/core/application.h
# esphome/core/config.py
# esphome/core/entity_base.h
2026-03-06 08:47:29 -10:00
J. Nick Koston
3c6de6d691
Merge branch 'configure_entity' into integration
...
# Conflicts:
# esphome/components/api/api_connection.cpp
# esphome/components/api/api_connection.h
# esphome/core/application.h
# esphome/core/config.py
# esphome/core/entity_base.h
2026-03-06 08:43:19 -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
abad9a009b
Merge remote-tracking branch 'upstream/dev' into devirtualize-proto-encode
...
# Conflicts:
# esphome/components/api/api_connection.cpp
# esphome/components/api/api_connection.h
2026-03-06 08:36:36 -10:00
J. Nick Koston
1ef079cff5
Merge remote-tracking branch 'upstream/dev' into devirtualize-proto-encode
2026-03-06 08:34:53 -10:00
J. Nick Koston and Copilot
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
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