#ask_question throws an unknown error (not implemented)

1 messages · Page 1 of 1 (latest)

light yacht
#

Hi, I was updating my HASS installation to use the ask question feature.
I wrote this simpel script:

action: assist_satellite.ask_question
metadata: {}
data:
question: WHY IS THIS NOT WORKING????
preannounce: false
entity_id: assist_satellite.livingroom_english
answers:
- id: "yes"
sentences:
- "yes"
response_variable: answer_output

When I run this script it throws an unknown error. When looking into the logs, an "not implemented " is revealed. (See Picture)

My satelites are raspberry pies and they are implemented with the use of this Github https://github.com/rhasspy/wyoming-satellite.

sterile tide
#

May be the Wyoming satellites do not implement this feature

sweet harness
#

Here's function from assist_sdatellite:

async def async_start_conversation(
        self, start_announcement: AssistSatelliteAnnouncement
    ) -> None:
        """Start a conversation from the satellite."""
        raise NotImplementedError
#

Looks like it needs to be overridden in exact satellite implementation. But i don't think it is overridden for wyoming satellite yet.

#

And here's overriding that in esphome:

async def async_start_conversation(
        self, start_announcement: assist_satellite.AssistSatelliteAnnouncement
    ) -> None:
        """Start a conversation from the satellite."""
        await self._do_announce(start_announcement, run_pipeline_after=True)
#

I quickly checked the assist_satellite for wyoming component, it definitely doesn't have similar structure to ESPHome and VoIP components (that have the ask question ability)

light yacht
#

Or is there an offical way to install a satellite on a raspberry by home assistant?