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
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
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
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
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
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
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
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
J. Nick Koston
91ead4ff54
[core] Mark canonical sensitive fields with cv.sensitive ( #16677 )
2026-05-27 00:16:47 +00:00
Jonathan Swoboda
a6ef67aa65
[text_sensor] Remove deprecated public raw_state member ( #16683 )
2026-05-26 23:34:52 +00:00
Jonathan Swoboda
e174c44b28
[neopixelbus] Deprecate on ESP32 ( #16676 )
2026-05-26 19:15:25 -04:00
Jonathan Swoboda
6c4a8a3245
[dsmr] Force BearSSL on ESP8266 to avoid mbedtls link failure ( #16686 )
2026-05-26 22:49:44 +00:00
Jonathan Swoboda
eb1196c6b2
[nfc] Remove deprecated heap-allocating format helpers ( #16684 )
2026-05-26 18:48:17 -04:00
Jonathan Swoboda
fb0b73980b
[wifi] Default ESP8266 min_auth_mode to WPA2 ( #16682 )
2026-05-26 18:47:40 -04:00
Clyde Stubbs
62b3b1cc75
[lvgl] Support rounded property for meter arcs ( #16669 )
2026-05-26 15:30:08 -05:00
J. Nick Koston
52ead52ef2
[core] Enable ruff PGH (pygrep-hooks) lint family ( #16651 )
2026-05-26 15:29:54 -05:00
J. Nick Koston
96816e2491
[core] Enable ruff DTZ (flake8-datetimez) lint family ( #16660 )
2026-05-26 15:29:38 -05:00
Kevin Ahrendt
722cbfe843
[voice_assistant] Never send zero-length audio to Home Assistant ( #16634 )
2026-05-26 14:05:57 -04:00
J. Nick Koston
88b12a1c45
[lvgl] Build automation_schema event validators lazily ( #16633 )
2026-05-26 08:41:54 -05:00
J. Nick Koston
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
J. Nick Koston
8b62cfded7
[libretiny] Fix RTL8710B IRAM_ATTR section being dropped from flashed image ( #16616 )
2026-05-26 19:57:44 +12:00
Jesse Hills
423b60c90c
[packages] Resolve git symlinks on Windows when materialized as text ( #16657 )
2026-05-26 19:56:44 +12:00
J. Nick Koston
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston
ae814cff5c
[core] Enable ruff B (flake8-bugbear) lint family ( #16655 )
2026-05-26 02:28:14 +00:00
J. Nick Koston
dd0028c1b5
[core] Enable ruff G (flake8-logging-format) lint family ( #16650 )
2026-05-26 01:36:49 +00:00
J. Nick Koston
b39b34bfe1
[core] Enable ruff C4 (flake8-comprehensions) lint family ( #16653 )
2026-05-25 20:14:26 -05:00
J. Nick Koston
bbc24ab546
[core] Enable ruff RSE (flake8-raise) lint family ( #16649 )
2026-05-25 20:06:34 -05:00
a257edba62
[mitsubishi_cn105] Add basic swing support ( #15653 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-25 16:46:33 -05:00
Clyde Stubbs
0b780f1fd2
[time][homeassistant] Fix timezone handling ( #16583 )
2026-05-26 06:51:15 +10:00
Kevin Ahrendt
892e116680
[router] Add a router speaker component to runtime choose output speaker ( #16592 )
2026-05-25 12:42:49 -04:00
Kevin Ahrendt
1c7ae96e42
[micro_wake_word] Allow task stack to be allocated in PSRAM ( #16632 )
2026-05-25 11:04:26 -04:00
Jonathan Swoboda
684bce8b9a
[esp32] Decode crash PCs via IDF toolchain on IDF builds ( #16626 )
2026-05-25 14:36:41 +00:00
Kevin Ahrendt
7c494fd3ef
[psram] Consolidate task stack in PSRAM handling ( #16628 )
2026-05-25 10:15:51 -04:00