How to work with HLK-LD1115H and Wemos D1 Mini for Human Presence Detection

After the ESPhome 2023.2.0 update, I tried the compilation on the D1 mini and it passed without errors.
I will try everything when I connect the sensor.