ESP Home Smart plug not connecting to ESP Home API

I have tried to set up Local Bytes Power plug with ESP home and failed dismally (all very new :frowning:) I receive this error reported in the Local Bytes plug log in the ESP home dashboard.

INFO ESPHome 2025.3.1
INFO Reading configuration /config/esphome/localbytes-plug-pm-67ef87.yaml…
INFO Starting log output from localbytes-plug-pm-67ef87.local using esphome API
WARNING Can’t connect to ESPHome API for localbytes-plug-pm-67ef87.local: Timeout while resolving IP address for [‘localbytes-plug-pm-67ef87.local’] (ResolveTimeoutAPIError)
INFO Trying to connect to localbytes-plug-pm-67ef87.local in the background.

I do not know where to stratto look to resolve the problems, any guidance much appreciated please.

Thanks

Phil.

Start by posting your YAML file so we can see what you have done.

As well as posting your yaml with correct formatting. Also tell us step by step what you did to set it up. Otherwise we will just be guessing.

You can start by reading this thread :point_down: