#Ask Question - unknown error

1 messages · Page 1 of 1 (latest)

boreal steeple
#

When trying this new feature using a Wyoming speaker I get an unknown error. The integration still works and can do all the things it did before, announce too. But now it's not responding correctly to thins new integration. Do you have any ideas on what could be the issue?

cloud mirage
#

Not without you sharing what you tried with the new ask_question action

boreal steeple
#

Sorry for the lack of details in the first message. Let me know if I can do any more troubleshooting to help you out

cloud mirage
#

Please post the YAML code of your automation/script in which you are using assist_satellite.ask_question

boreal steeple
#
description: ""
triggers:
  - trigger: state
    entity_id:
      - light.livingroom
    from: "off"
    to: "on"
conditions: []
actions:
  - action: assist_satellite.ask_question
    metadata: {}
    data:
      question: Should I keep the light on?
      preannounce: false
      entity_id: assist_satellite.home
      answers:
        - id: affermative
          sentences:
            - Yes
        - id: negative
          sentences:
            - "No"
    response_variable: lightask
mode: single
cloud mirage
#

I changed it to this (I only changed the trigger entity_id, the assist satellite entity_id and I translated the sentences to Dutch, as that's the language of my voice pipeline)

#
alias: Ask Test
description: ""
triggers:
  - trigger: state
    entity_id:
      - input_boolean.test
    from: "off"
    to: "on"
conditions: []
actions:
  - action: assist_satellite.ask_question
    metadata: {}
    data:
      question: Should I keep the light on?
      preannounce: false
      entity_id: assist_satellite.martijn
      answers:
        - id: affermative
          sentences:
            - Ja
        - id: negative
          sentences:
            - Nee
    response_variable: lightask
mode: single
#

for me it works fine, my voice satellite asks the question, and when I respond with either Ja or Nee it processes the response

#

as there are no further actions, nothing happens

#

I'm using a Voice PE, but I don't see anytihng wrong with your automation

#

Where do you see this unknown error?

boreal steeple
#

Unknown error is shown if I try to run just the ask question part. But, if I look at traces I see this error: NotImplementedError

#

Also, for some reason, my "No" is in double quotes in the yaml. Doesn't look like yours is