Skip to content

Commit b365a1f

Browse files
committed
Fixed Wire library dependency
1 parent 43d44b9 commit b365a1f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Fix ESPHome 2026.2+ compatibility by migrating ESP8266 configurations to new platform format
66
- Update CI configurations and example files to use separate `esp8266:` block instead of deprecated `platform:` key
7+
- Fix Wire library dependency for VL53L1X_ULD to resolve build errors on ESP32
78
- Fix release workflow to skip creating releases that already exist
89

910
## 1.5.0

components/vl53l1x/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def none_to_empty(value):
108108

109109

110110
async def to_code(config: Dict):
111+
cg.add_library("Wire", None) # Required for VL53L1X_ULD to find Wire.h
111112
cg.add_library("rneurink", "1.2.3", "VL53L1X_ULD")
112113

113114
vl53l1x = cg.new_Pvariable(config[CONF_ID])

0 commit comments

Comments
 (0)