NonaSuomy
f5553f1d73
[lsm6ds_base] Rename C++ files to include _base suffix
...
Renamed the C++ implementation files to match the component folder naming:
- lsm6ds.h -> lsm6ds_base.h
- lsm6ds.cpp -> lsm6ds_base.cpp
Updated all includes:
- lsm6ds_base/lsm6ds_base.cpp: Updated self-include
- lsm6ds_i2c/lsm6ds_i2c.h: Updated to include lsm6ds_base.h
- lsm6ds_spi/lsm6ds_spi.h: Updated to include lsm6ds_base.h
Fixed test file:
- tests/lsm6ds_test.yaml: Updated sensor platforms to use lsm6ds_i2c and lsm6ds_spi
This ensures all files follow consistent naming conventions with the _base suffix.
2026-06-04 03:46:08 -04:00
NonaSuomy
b7b3b06e92
[lsm6ds] Restructure component with _base, _i2c, _spi pattern
...
Major restructure to follow ESPHome conventions for multi-interface components:
Component Structure Changes:
- Renamed lsm6ds/ to lsm6ds_base/ to follow _base naming convention
- Created lsm6ds_i2c/ for I2C interface implementation
- Created lsm6ds_spi/ for SPI interface implementation
- Both interfaces use AUTO_LOAD to automatically include base component
- Updated C++ namespaces to match component folder names (lsm6ds_base, lsm6ds_i2c, lsm6ds_spi)
Features:
- Support for LSM6DSOX, LSM6DS3TR-C, LSM6DSO32 variants
- Full 3-axis accelerometer and gyroscope support
- Temperature sensor support
- Configurable ranges: Accel (2G-16G), Gyro (125-2000 DPS)
- Configurable output data rate (12.5Hz - 6.66kHz)
- Two usage patterns: all-in-one and hub+sensor platform
Implementation Details:
- Base component (lsm6ds_base) contains shared code and abstract LSM6DSComponent class
- I2C variant implements LSM6DSI2CDevice with I2C read/write methods
- SPI variant implements LSM6DSSPIDevice with SPI read/write methods (MSB-based protocol)
- Both variants support optional sensor.py for hub+sensor pattern
- Added README_EXAMPLE.md files with usage examples for both interfaces
- Added component test files for validation
Documentation:
- Added COMPONENT_STRUCTURE.md explaining architecture and usage patterns
- Included example configurations for both I2C and SPI
- Documented all configuration options and sensor variants
2026-06-04 03:45:55 -04:00
NonaSuomy
b9aef32d79
Update detection log for LSM6DS3TR-C sensor
...
Added LSM6DS3TR-C/LSM6DSM both share the same WHO_AM_I of 0x6A
2026-06-03 16:54:49 -04:00
NonaSuomy
31a80652fa
Merge branch 'esphome:dev' into lsm6ds_test_001
2026-06-03 10:28:21 -04:00
Jonathan Swoboda
e4980713d1
[core] esphome clean wipes the whole build directory ( #16772 )
2026-06-03 07:35:23 -04:00
Clyde Stubbs
997ab11687
[lvgl][mipi_spi][mipi_rgb][mipi_dsi][display] Metadata ( #16702 )
2026-06-03 15:21:33 +10:00
Jesse Hills and Jonathan Swoboda
792e1ff304
[i2c] Add basic host platform support ( #14489 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-03 07:12:50 +12:00
Kevin Ahrendt
063770bcf4
[i2s_audio] Fix speaker DMA buffer sizing and validate bit depth at compile time ( #16672 )
2026-06-02 09:32:27 -04:00
Jesse Hills
6197282f1a
Merge branch 'release' into dev
2026-06-02 15:40:28 +12:00
Jesse Hills
9c0ffee020
Merge pull request #16760 from esphome/bump-2026.5.2
...
2026.5.2
2026-06-02 15:39:40 +12:00
Bonne Eggleston and Claude
1740e54105
[ci] Fix auto label platform restructure false positive ( #16734 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-06-01 23:20:18 -04:00
Jesse Hills
070c14b04a
Bump version to 2026.5.2
2026-06-02 14:33:41 +12:00
J. Nick Koston
559cfd1555
[api] Fix crash loop on VoiceAssistantConfigurationRequest ( #16757 )
2026-06-02 14:33:41 +12:00
Jonathan Swoboda
571a12ffe5
[core] Clean build when the toolchain changes ( #16744 )
2026-06-02 14:33:41 +12:00
J. Nick Koston
a4d247fa0a
[core] Persist esphome.area in StorageJSON ( #16710 )
2026-06-02 14:33:41 +12:00
Fyleo
8e57894af7
[sx126x] fix a typo in image calibration on 863 - 870 Mhz frequency ( #16731 )
2026-06-02 14:33:41 +12:00
J. Nick Koston
f9aba18f8e
[libretiny] Fix RTL8710B IRAM_ATTR section being dropped from flashed image ( #16616 )
2026-06-02 14:33:41 +12:00
Jesse Hills
a04f6da814
[packages] Resolve git symlinks on Windows when materialized as text ( #16657 )
2026-06-02 14:33:41 +12:00
Jonathan Swoboda
3f57117efd
[esp32] Decode crash PCs via IDF toolchain on IDF builds ( #16626 )
2026-06-02 14:33:41 +12:00
J. Nick Koston
d7f809181a
[writer] Mark storage_should_clean as public API for device-builder ( #16443 )
2026-06-02 14:33:41 +12:00
Clyde Stubbs
d7d20f4f6b
[cli] Allow state reporting control via env ( #16746 )
2026-06-02 07:04:35 +10:00
J. Nick Koston
ab46f8bd74
[api] Fix crash loop on VoiceAssistantConfigurationRequest ( #16757 )
2026-06-01 20:32:23 +00:00
2454ad1645
[ethernet] Add enable_on_boot lifecycle + lazy-init to reclaim DMA-capable SRAM ( #16607 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-01 15:30:07 -05:00
Keith Burzinski and Claude Opus 4.7
4e48682468
[wifi] Defer esp_wifi_init() to lazy-init so enable_on_boot: false actually saves RAM ( #16606 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-06-01 14:18:29 -05:00
Clyde Stubbs
805aa252d5
[const] Move CONF_SHA256 to common code ( #16751 )
2026-06-01 13:30:05 -04:00
Jonathan Swoboda
6116d10ab1
[espidf] Derive idedata from the native ESP-IDF compile_commands.json ( #16742 )
2026-05-31 17:44:12 -04:00
Jonathan Swoboda
48844a68ba
[core] Clean build when the toolchain changes ( #16744 )
2026-05-31 16:29:16 -04:00
Jonathan Swoboda
7865dc33bc
[ethernet] Bump espressif/dm9051 to 1.1.0 ( #16735 )
2026-05-31 09:50:17 -05:00
Jonathan Swoboda
bf62124032
[esp32] Refine ESP-IDF framework version suffix handling ( #16726 )
2026-05-30 07:43:21 -04:00
dependabot[bot]
95397948b9
Bump CodSpeedHQ/action from 4.15.1 to 4.17.0 ( #16730 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-30 00:09:27 -05:00
J. Nick Koston
f0202155b3
[core] Persist esphome.area in StorageJSON ( #16710 )
2026-05-30 00:09:07 -05:00
Fyleo
07a57d7557
[sx126x] fix a typo in image calibration on 863 - 870 Mhz frequency ( #16731 )
2026-05-29 23:03:42 -04:00
Jonathan Swoboda
091a05ccde
[esp32_camera] Enable PicolibC Newlib compatibility on IDF 6.0+ ( #16703 )
2026-05-29 05:16:55 +00:00
Jonathan Swoboda
dd961156d0
[ledc] Adapt to LEDC LL API changes in ESP-IDF 6.1 ( #16697 )
2026-05-29 00:54:14 -04:00
Jonathan Swoboda
10abb0647c
[esp32] Add ESP32-S31, ESP32-H4 and ESP32-H21 variant scaffolding ( #16700 )
2026-05-29 00:30:52 -04:00
Jonathan Swoboda
a85f8ad935
[core] Use esp_rom_crc.h public API instead of legacy rom/crc.h ( #16698 )
2026-05-29 00:28:08 -04:00
dependabot[bot] and J. Nick Koston
8945550c6c
Bump ruff from 0.15.14 to 0.15.15 ( #16712 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-29 03:35:37 +00:00
dependabot[bot]
4b8e06b5bc
Bump tornado from 6.5.5 to 6.5.6 ( #16704 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-28 09:12:35 -04:00
Mischa Siekmann
f41866a9b8
[gpio][binary_sensor] Fix pin validation for external GPIO pins ( #16528 )
2026-05-28 09:11:48 -04:00
tomaszduda23
5732d7135f
[network] move ipv6 enforcement to validation step ( #16701 )
2026-05-28 08:39:11 -04:00
Jesse Hills
ec597bfc03
[docs] Update esphome-docs references to esphome.io after repo rename ( #16705 )
2026-05-28 14:54:42 +12:00
rwrozelle and Jonathan Swoboda
9a6157b469
[tests] Sandbox PlatformIO paths in test_writer to fix xdist race ( #16619 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-05-27 15:50:43 -04:00
GuzTech
ac29fad120
[growatt_solar] Replace hard coded register addresses with constexpr ( #16581 )
2026-05-27 14:21:50 -04:00
SoCuul
e87190edb4
[midea] fix casing of custom fan modes ( #16419 )
2026-05-27 14:20:00 -04:00
Elvin Luff
911e330c09
[core] Add Codeberg as a supported git url ( #16501 )
2026-05-27 14:13:03 -04:00
Jonathan Swoboda
e64b6bc398
[esp32] Stub arduino-esp32 with INTERFACE re-export to framework ( #16695 )
2026-05-27 11:00:51 -04:00
J. Nick Koston
21e548f1d7
[core] Sensitive redaction via yaml_util representer ( #16690 )
2026-05-27 09:20:50 -05:00
J. Nick Koston
3cc875c40b
[core] Enable ruff BLE (flake8-blind-except) lint family ( #16659 )
2026-05-27 20:09:57 +12:00
7463a15c7e
[network] Add Zephyr IPv6 networking support for nRF52 ( #16336 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: tomaszduda23 <tomaszduda23@gmail.com >
2026-05-27 07:43:38 +00:00
dependabot[bot]
8d19c55be2
Bump pytest-asyncio from 1.3.0 to 1.4.0 ( #16687 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-26 19:58:13 -05:00