ESPhome device doesn't show up under HomeAssistant

I’m using HomeAssistant OS under a proxmox virtual machine:

Home Assistant 2022.10.5
Supervisor 2022.10.0
Operating System 9.2
Frontend 20221010.0 - latest

I’ve installed ESPHome integration and created a first device that appears online in the ESPHome addon dashboard but I can’t see it in Home Assistant on the “Device and services” section.
ESPHome can’t be added as an integration but it is listed under “Home Assistant Supervisor”.

This is the code of my ESPHome device:

esphome:
  name: kitchen-led

esp32:
  board: nodemcu-32s

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "----------"

ota:
  password: "--------"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  domain: .iot

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Led-Cucina Fallback Hotspot"
    password: "-----"

captive_portal:

output:
  - platform: ledc
    pin: GPIO19
    id: gpio_19

light:
  - platform: monochromatic
    output: gpio_19
    name: "Kitchen LED"

Can anyone help me to solve that issue? Any help is appreaciated.

probably a mdns problem,

Either use a fixed ip, or define your domain in the wifi section:

wifi;
  ~~
  domain: mydomain.iot

The domain name is already specified. I’ve just tried with a fixed ip but the device didn’t show up.
In the ESPHome Dashboard the device is online and I can also see its logs.

mDNS doesn’t work on my network. I was able to add the ESPHome device manually into Home Assistant. In order to do so you need to specify the IP address of the device that runs the ESPHome firmware. Hope that this could help someone else.