Trying to get status of binary sensor with voice assist

First off, Thank you in advance. I have read through many forums and tried google search and I cannot find the answer to my problem. I am using nabu casa for my voice assist engine. I created a binary sensor for my garage door using an ESP32 and esp32 home and have it showing and displaying the correct status on my dashboard. The problem is when I ask voice assist to give me the status of the garage door it tells me there is no device with that name, but if I ask it if the garage door is open, it says on or off depending on its status, that is the only way voice assist will even acknowledge it exists. I have it exposed and have it set as a door in the device type settings. everything I have read says I should be able to ask for the status of the garage door and it should respond with open or closed.

What is the entity name and what aliases have you assigned.

If you haven’t done anything to give context it will have trouble finding it. Basically you exposed it… Great. How does ha know that’s the garage door. (yes it sounds pedantic but that’s exactly how it works)

when I go to the esp home integration and click on the device garage door sensor, in the name box it shows Garage Door Under type it shows as Door

It is labeled Garage Door under the aliases tab, the rest of the info is in the next post. Forgot to hit reply to your post specifically lol

Is the garage doors area set to Garage? If not HA will not know its in the garage.

yes i have a garage area setup and that sensor is in that area

Then we need to see the debug section off the voice assistants section for that agent

stage: done
run:
  pipeline: 01m18g985c5s0vvaatnjjc58e9
  language: en
  conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
  satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
  tts_output:
    token: o3DBgDJaDyFv_KTinn3jDQ.mp3
    url: /api/tts_proxy/o3DBgDJaDyFv_KTinn3jDQ.mp3
    mime_type: audio/mpeg
    stream_response: false
events:
  - type: run-start
    data:
      pipeline: 01m18g985c5s0vvaatnjjc58e9
      language: en
      conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
      satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
      tts_output:
        token: o3DBgDJaDyFv_KTinn3jDQ.mp3
        url: /api/tts_proxy/o3DBgDJaDyFv_KTinn3jDQ.mp3
        mime_type: audio/mpeg
        stream_response: false
    timestamp: '2026-09-14T13:11:09.695404+00:00'
  - type: stt-start
    data:
      engine: stt.home_assistant_cloud
      metadata:
        language: en-US
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
      audio_processing:
        requires_external_vad: true
        prefers_auto_gain_enabled: true
        prefers_noise_reduction_enabled: true
    timestamp: '2026-09-14T13:11:09.696549+00:00'
  - type: stt-vad-start
    data:
      timestamp: 1050
    timestamp: '2026-09-14T13:11:10.754647+00:00'
  - type: stt-vad-end
    data:
      timestamp: 4090
    timestamp: '2026-09-14T13:11:13.813210+00:00'
  - type: stt-end
    data:
      stt_output:
        text: What is the state of the garage door?
    timestamp: '2026-09-14T13:11:13.851368+00:00'
  - type: intent-start
    data:
      engine: conversation.home_assistant
      language: en
      intent_input: What is the state of the garage door?
      conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
      device_id: 14e826273c6e50dcfb2f509500d532bf
      satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
      prefer_local_intents: false
    timestamp: '2026-09-14T13:11:13.851991+00:00'
  - type: intent-end
    data:
      processed_locally: true
      intent_output:
        response:
          speech:
            plain:
              speech: Sorry, I am not aware of any device called garage door
              extra_data: null
          card: {}
          language: en
          response_type: error
          data:
            code: no_valid_targets
        conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
        continue_conversation: false
    timestamp: '2026-09-14T13:11:13.874611+00:00'
  - type: tts-start
    data:
      engine: tts.home_assistant_cloud
      language: en-US
      voice: JennyNeural||assistant
      tts_input: Sorry, I am not aware of any device called garage door
      acknowledge_override: false
    timestamp: '2026-09-14T13:11:13.875005+00:00'
  - type: tts-end
    data:
      tts_output:
        media_id: media-source://tts/-stream-/o3DBgDJaDyFv_KTinn3jDQ.mp3
        token: o3DBgDJaDyFv_KTinn3jDQ.mp3
        url: /api/tts_proxy/o3DBgDJaDyFv_KTinn3jDQ.mp3
        mime_type: audio/mpeg
    timestamp: '2026-09-14T13:11:13.876011+00:00'
  - type: run-end
    data: null
    timestamp: '2026-09-14T13:11:13.876497+00:00'
started: 2026-09-14T13:11:09.695Z
stt:
  engine: stt.home_assistant_cloud
  metadata:
    language: en-US
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  audio_processing:
    requires_external_vad: true
    prefers_auto_gain_enabled: true
    prefers_noise_reduction_enabled: true
  done: true
  stt_output:
    text: What is the state of the garage door?
intent:
  engine: conversation.home_assistant
  language: en
  intent_input: What is the state of the garage door?
  conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
  device_id: 14e826273c6e50dcfb2f509500d532bf
  satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
  prefer_local_intents: false
  done: true
  processed_locally: true
  intent_output:
    response:
      speech:
        plain:
          speech: Sorry, I am not aware of any device called garage door
          extra_data: null
      card: {}
      language: en
      response_type: error
      data:
        code: no_valid_targets
    conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
    continue_conversation: false
tts:
  engine: tts.home_assistant_cloud
  language: en-US
  voice: JennyNeural||assistant
  tts_input: Sorry, I am not aware of any device called garage door
  acknowledge_override: false
  done: true
  tts_output:
    media_id: media-source://tts/-stream-/o3DBgDJaDyFv_KTinn3jDQ.mp3
    token: o3DBgDJaDyFv_KTinn3jDQ.mp3
    url: /api/tts_proxy/o3DBgDJaDyFv_KTinn3jDQ.mp3
    mime_type: audio/mpeg
finished: 2026-09-14T13:11:13.876Z

Here is the code when i ask it if it is open or closed and it gives me the status

stage: done
run:
  pipeline: 01m18g985c5s0vvaatnjjc58e9
  language: en
  conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
  satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
  tts_output:
    token: ga_AYH3pNbkimU9Rr7NlOA.mp3
    url: /api/tts_proxy/ga_AYH3pNbkimU9Rr7NlOA.mp3
    mime_type: audio/mpeg
    stream_response: false
events:
  - type: run-start
    data:
      pipeline: 01m18g985c5s0vvaatnjjc58e9
      language: en
      conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
      satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
      tts_output:
        token: ga_AYH3pNbkimU9Rr7NlOA.mp3
        url: /api/tts_proxy/ga_AYH3pNbkimU9Rr7NlOA.mp3
        mime_type: audio/mpeg
        stream_response: false
    timestamp: '2026-09-14T13:25:00.404057+00:00'
  - type: stt-start
    data:
      engine: stt.home_assistant_cloud
      metadata:
        language: en-US
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
      audio_processing:
        requires_external_vad: true
        prefers_auto_gain_enabled: true
        prefers_noise_reduction_enabled: true
    timestamp: '2026-09-14T13:25:00.405296+00:00'
  - type: stt-vad-start
    data:
      timestamp: 1050
    timestamp: '2026-09-14T13:25:01.508133+00:00'
  - type: stt-vad-end
    data:
      timestamp: 2970
    timestamp: '2026-09-14T13:25:03.405362+00:00'
  - type: stt-end
    data:
      stt_output:
        text: Is the garage door open?
    timestamp: '2026-09-14T13:25:03.455589+00:00'
  - type: intent-start
    data:
      engine: conversation.home_assistant
      language: en
      intent_input: Is the garage door open?
      conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
      device_id: 14e826273c6e50dcfb2f509500d532bf
      satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
      prefer_local_intents: false
    timestamp: '2026-09-14T13:25:03.456191+00:00'
  - type: intent-end
    data:
      processed_locally: true
      intent_output:
        response:
          speech:
            plain:
              speech: No, off
              extra_data: null
          card: {}
          language: en
          response_type: query_answer
          data:
            success:
              - name: Garage Door
                type: entity
                id: binary_sensor.garage_garage_door
            failed: []
        conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
        continue_conversation: false
    timestamp: '2026-09-14T13:25:03.489652+00:00'
  - type: tts-start
    data:
      engine: tts.home_assistant_cloud
      language: en-US
      voice: JennyNeural||assistant
      tts_input: No, off
      acknowledge_override: false
    timestamp: '2026-09-14T13:25:03.490035+00:00'
  - type: tts-end
    data:
      tts_output:
        media_id: media-source://tts/-stream-/ga_AYH3pNbkimU9Rr7NlOA.mp3
        token: ga_AYH3pNbkimU9Rr7NlOA.mp3
        url: /api/tts_proxy/ga_AYH3pNbkimU9Rr7NlOA.mp3
        mime_type: audio/mpeg
    timestamp: '2026-09-14T13:25:03.490693+00:00'
  - type: run-end
    data: null
    timestamp: '2026-09-14T13:25:03.491568+00:00'
started: 2026-09-14T13:25:00.404Z
stt:
  engine: stt.home_assistant_cloud
  metadata:
    language: en-US
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  audio_processing:
    requires_external_vad: true
    prefers_auto_gain_enabled: true
    prefers_noise_reduction_enabled: true
  done: true
  stt_output:
    text: Is the garage door open?
intent:
  engine: conversation.home_assistant
  language: en
  intent_input: Is the garage door open?
  conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
  device_id: 14e826273c6e50dcfb2f509500d532bf
  satellite_id: assist_satellite.3rspk_a8e291520923_assist_satellite
  prefer_local_intents: false
  done: true
  processed_locally: true
  intent_output:
    response:
      speech:
        plain:
          speech: No, off
          extra_data: null
      card: {}
      language: en
      response_type: query_answer
      data:
        success:
          - name: Garage Door
            type: entity
            id: binary_sensor.garage_garage_door
        failed: []
    conversation_id: 01M2FZTV4Q8WSEW2V3V9G52NHF
    continue_conversation: false
tts:
  engine: tts.home_assistant_cloud
  language: en-US
  voice: JennyNeural||assistant
  tts_input: No, off
  acknowledge_override: false
  done: true
  tts_output:
    media_id: media-source://tts/-stream-/ga_AYH3pNbkimU9Rr7NlOA.mp3
    token: ga_AYH3pNbkimU9Rr7NlOA.mp3
    url: /api/tts_proxy/ga_AYH3pNbkimU9Rr7NlOA.mp3
    mime_type: audio/mpeg
finished: 2026-09-14T13:25:03.491Z

I’m still going through this. Looks like a code difference in the way the intent is resolved if you ask

What is the state of the garage door. (seek get state)

V. Is the garage door open… (target ent, compare state.)

One works. One doesn’t because of some decisions on how they handle binary sensors. And appears to be a variant of this…

Such a strange issue, would it be helpful if I posted the code written into the esp32?

Nope it’s in the way intents are handled. Nothing to do with your esp32.

Well, I ended up just purchasing a ratgo32 module for my Chamberlin garage door opener and that solved all my problems. Everything works as it should and I get proper state responses from my voice assistant. Thank you to everyone that gave a suggestion as to the problem.