Error resolving IP address on one device

Hi. I have several ESPHome devices and they are all working fine except of one, which i can still operate from HA, i can still ping its IP directly, but in ESPHome its showing as offline and when i try to edit/update it im getting “Error resolving IP address…” error. Indeed i cannot pi
That device used to work fine before, but at some point it just stopped showing up as online in ESPHome.
I have tried restarting the device, my networks DHCP server and adding a manual static DHCP entry for it.
Im using HASS in Docker.
The device configuration is very simple and when it comes to wifi settings, not much different from any other ESPHome device i have.

  name: kitchen-ansluta
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "CracoviaPany-IOT"
  password: "XxXxXx"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Kitchen Ansluta Fallback Hotspot"
    password: "XxXxXx"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

spi:
  clk_pin: GPIO14
  miso_pin: GPIO12
  mosi_pin: GPIO13

ikea_ansluta:
  cs_pin: GPIO15

light:
  - platform: ikea_ansluta
    name: 'IKEA Ansluta'
    remote_address: 0x5ac2
    address: 0xdead
    pairing_enabled: true

Is there anything else i can try to regain access to the device in ESPHome without reflashing it (the device is not easily accessible)?

If you know the IP address try to ping it. If your network see it then its not the network. Sometimes it can be a bad IP conflict.

Go get it and connect it directly to the device running HA. I know it is not easily accessible but you have to do what you have to do. Clean build and install / update it. Test it over Wi-Fi before you bury it again.