Setting up HA Voice PE in container

Hi Everyone,

Recently jumped on the home assistant boat with the release of home assistant voice PE. Right away bought 2 and am trying to set them up but am encountering issues.

I am running Home Assistant Container, I’ve added as containers all the (I believe) required add-ons: esphome, whisper, and piper.

I stated following the Getting Started – Home Assistant Voice Preview Edition, using the mobile app, I can successfully detect the device and connect it to the wifi network. Once added to the network, it asks me to continue with esphome.
I insert the ip of my esphome instance and the the port (6052), and this is where I am stuck. I get an error message:
Can't connect to ESP. Please make sure your YAML fil contains an 'api:' line.

Not sure what I am doing wrong. Has anyone else had sucess with the container version? Am I missing something?

Here are the containers I’m running

services:
   homeassistant:
      container_name: homeassistant
      image: "ghcr.io/home-assistant/home-assistant:stable"
      volumes:
         - /MY-FOLDER/home-assistant/config:/config
         - /etc/localtime:/etc/localtime:ro
         - /run/dbus:/run/dbus:ro
      restart: unless-stopped
      #privileged: true
      #network_mode: host
      ports:
         - 8123:8123 #optional
      networks:
         - internal
   
   esphome:
      container_name: esphome
      image: ghcr.io/esphome/esphome:latest
      security_opt:
         - no-new-privileges:true
      volumes:
         - /MY-FOLDER/esphome/config:/config
         - /etc/localtime:/etc/localtime:ro
      ports:
         - "6052:6052"
      restart: unless-stopped
      environment:
         - ESPHOME_DASHBOARD_USE_PING=true
      networks:
         - internal

   whisper:
      container_name: homeassistant-whisper
      image: rhasspy/wyoming-whisper
      volumes:
         - /MY-FOLDER/home-assistant/whisper:/data
         - /etc/timezone:/etc/timezone:ro
         - /etc/localtime:/etc/localtime:ro
      command: --model small-int8 --language en
      restart: unless-stopped
      ports:
         - 10300:10300
      networks:
         - internal

   piper:
   container_name: homeassistant-piper
   image: rhasspy/wyoming-piper
   volumes:
      - /MY-FOLDER/home-assistant/piper:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
   command: --voice en_US-lessac-medium
   restart: unless-stopped
   ports:
      - 10200:10200
   networks:
      - internal

networks:
  internal:
    external: false

Ok, I feel stupid now, but I figured it out and putting it here if anyone else encounters the issue. As far as I can tell the esphome is not needed. When home assistant ask you if you want to setup esphome, it is not talking about esphome, but the device (confusing labels). Insert the IP of the device (not esphome) and everything works as expected