Why sometimes mDNS does not reolve?

For some device I have mDNS does not resolve, tried both on my pc and esphome dashboard also sees it offline, while in reality it dows work

substitutions:
  hostname: eh-shop-main-light
  device_id: shop_main_light
  device_name: Shop Main Light
  comment: Lidl ceiling light, rectangle, shop, M5atomS3

esphome:
  friendly_name: Shop Main Light EH
  area: Shop
  name: ${hostname}
  comment: ${comment}
  on_boot: 
    then:
      - light.turn_on: 
          id: light_shop_ceiling
          brightness: 100%
          red: 0%
          green: 0%
          blue: 0%
          cold_white: 100%
          warm_white: 100%

esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: arduino
    version: latest