Ultrasonic sensor with LED and esp32

Hi Giovanni and welcome to HA. Can you edit your post as per the link below, to enclose your yaml in formatted text tags? On the posting toolbar they look like </>. Because indentation is so important in yaml you need to post it so the formatting is readable.