espHome binary_sensor doesn't get picked up by HA

I have ESPHome set up and I’ve added successfully a d1_mini esp8266 device. I can see it in the ESPHome dashboard, it appears online and I can flash code to it.
My problem is that I don’t see a binary_sensor I’am adding in the YAML. This doesn’t only happens with binary_sensors, I’ve tried other components with same luck.

This is the YAML config for my device:

esphome:
  name: esp-02
  friendly_name: ESP 02

esp8266:
  board: d1_mini

# Enable logging
logger: 
  level: DEBUG


# Enable Home Assistant API
api:
  encryption:
    key: "[redacted]"

ota:
  password: "[redacted]"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  manual_ip: 
    gateway: 10.10.10.1
    subnet: 255.255.255.0
    static_ip: 10.10.10.71

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp-02 Fallback Hotspot"
    password: "[redacted]"

captive_portal:

binary_sensor:
  - platform: status
    name: "ESP-02 Status"

These are the ESPHome logs, where everything looks correct:

2024-06-06 13:14:54,936 INFO 304 GET /devices (0.0.0.0) 1.89ms
2024-06-06 13:14:59,934 INFO 304 GET /devices (0.0.0.0) 1.24ms
2024-06-06 13:15:00,935 INFO 304 GET /edit?configuration=esp-02.yaml (0.0.0.0) 1.64ms
2024-06-06 13:15:00,953 INFO 101 GET /ace (0.0.0.0) 0.75ms
2024-06-06 13:15:00,955 INFO Running command 'esphome --dashboard -q vscode --ace /config/esphome'
2024-06-06 13:16:23,471 INFO 200 POST /edit?configuration=esp-02.yaml (0.0.0.0) 1.95ms

I can flash the device and see the logs. But binary_sensors or any other components do not appear in HA Overview dashboard or Developer Tools or ESPHome device config.

Note, the HA server is not on the same subnet as the ESP device, I don’t know if this is relevant, since I can see the logs.

Any help is appreciated on how to proceed.

Thanks

Did you add the ESPHome device to the integration page? The add-on is only used for “maintaining” the device, you need to add the running ESP device also as an integration to see the sensors of that device in HA. See also ESPHome - Home Assistant

That was it. Thanks for your time :heart: