#Default "Done" along with custom response

1 messages · Page 1 of 1 (latest)

ruby belfry
#

I'm getting a weird response when triggering a custom sentence. My yaml for the automation.

`choose:

  • conditions:
    • condition: trigger
      id:
      • five
        sequence:
    • action: light.toggle
      metadata: {}
      data:
      brightness_pct: 100
      target:
      entity_id: light.guest_bedroom_lights_2
    • action: conversation.process
      metadata: {}
      data:
      agent_id: conversation.ollama_conversation_2
      text: >-
      Rephrase the following text [I have adjusted the lights in the guest
      bedroom.]
      response_variable: response
    • action: assist_satellite.announce
      metadata: {}
      data:
      message: >-
      "{{ response.response.speech.plain.speech if
      response.response.speech.plain.speech is defined else 'No response
      available.' }}"
      preannounce: false
      target:
      entity_id: assist_satellite.voice_pe_assist_satellite`

I also have it set up where the response goes through a media player entity for that response. It's a bit hard to explain but when that particular satellite is triggered it plays through a media player in the foyer. I have another satellite in the bedroom. It responses get played through the media player in that particular room.

So what's happening is the custom response gets played properly in the foyer as it should but if I spoke the command in the bedroom via that satellite, I also get "Done" from that media player along with it. Does anyone see a viable way to fix this. Been wrapping my head around this

wraith charmBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

ruby belfry
#

i was doing it by phone, sorry

prime crypt
# ruby belfry I'm getting a weird response when triggering a custom sentence. My yaml for the ...

so you are triggering custom from custom voice command and performing an announcce
if you instead set a conversation responce then it will respond directly on that voice pipeline call.
however if you are looking to announce on another device what is happening is
pipeline ran the command to announce then reported it was done.
easy way to overcome the "done" response is to set a "blank" responce of just a space e.g.
- set_conversation_response: " "