Compile failes Wire.h not found

The libary Wire.h removed from Platform.io ?

INFO Reading configuration /config/esphome/pelletlager.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing pelletlager (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 2.6.3)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <VL53L1X> 1.3.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <Wire> 1.0
|-- <ESP8266mDNS> 1.2
Compiling /data/pelletlager/.pioenvs/pelletlager/lib4d8/VL53L1X/VL53L1X.cpp.o
Compiling /data/pelletlager/.pioenvs/pelletlager/lib67b/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Compiling /data/pelletlager/.pioenvs/pelletlager/lib67b/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
In file included from /data/pelletlager/.piolibdeps/pelletlager/VL53L1X/VL53L1X.cpp:6:0:
/data/pelletlager/.piolibdeps/pelletlager/VL53L1X/VL53L1X.h:4:18: fatal error: Wire.h: No such file or directory

**************************************************************
* Looking for Wire.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Wire.h"
* Web  > https://platformio.org/lib/search?query=header:Wire.h
*
**************************************************************

 #include <Wire.h>
                  ^
compilation terminated.
Compiling /data/pelletlager/.pioenvs/pelletlager/lib67b/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
*** [/data/pelletlager/.pioenvs/pelletlager/lib4d8/VL53L1X/VL53L1X.cpp.o] Error 1
========================== [FAILED] Took 4.20 seconds ===========

===============

I have the same problem with my custom device.

Did you add this to your YAML?:

esphome:
  libraries:
    - "Wire"

This topic ESPHome can't find Wire.h - VEML6075 - #2 by oxan helps me.

This works for me. Thanks