Skip to content

Unable to install. Can't find __init__.py for microphone. #2

@zwolfinger

Description

@zwolfinger

Unable to install. Can't find init.py for microphone.

Install log:

INFO ESPHome 2025.10.1
INFO Reading configuration /config/esphome/havoice-r2d2.yaml...
Failed config

external_components: [source /config/esphome/havoice-r2d2.yaml:1449]
  - source: 
      type: git
      url: https://github.com/esphome/home-assistant-voice-pe
      ref: dev
    components: 
      
      Could not find __init__.py file for component microphone. Please check the component is defined by this source (search path: /data/external_components/3bf38338/esphome/components/microphone/__init__.py).
      - microphone
      - nabu_microphone
      - voice_assistant
      - voice_k

Relevent section of code:

###### EXTERNAL_COMPONENTS ######
external_components:
  - source:
      type: git
      url: https://github.com/esphome/home-assistant-voice-pe
      ref: dev
    components:
      - microphone
      - nabu_microphone
      - voice_assistant
      - voice_kit

###### MICROPHONE ######
microphone:
  - platform: nabu_microphone
    i2s_din_pin: 15
    sample_rate: 16000
    bits_per_sample: 32bit
    i2s_mode: secondary
    i2s_audio_id: i2s_input
    adc_type: external
    pdm: false
    channel_0:
      id: asr_mic
    channel_1:
      id: comm_mic
      amplify_shift: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions