Year of the Voice - Chapter 1: Assist

you can use android shortcuts to get to it. Create a shortcut to any lovelace dashboard and add ?conversation=1 so for the home page /lovelace/home?conversation=1

This will be part of the next beta version of the app, if you would like to get it today you will need to sideload the latest beta from github.

1 Like

This year is going to be great! Would it be possible to add a sentence when a command isn’t recognized? Something like:

Make it bright in the kitchen.
Assist: I don’t recognize that command. What would you like it to do?
Turn on the Kitchen Overheads and the Dining Light to 100%.
Assist: OK. Saying, “Make it bright in the kitchen” will now turn on the Kitchen Overheads and the Dining Light to 100%.

It would be great if you can set a different language for the UI and for the assistant. For instance, I want to have the UI in English but the assistant in Dutch. I don’t like to look at Dutch terms in the UI as it confuses the hell out of me and I can never find what I want. However, when giving commands I prefer to do it in Dutch

4 Likes

Thanks dshokouhi. Your answer worked a treat.
I would also add that after creating the Android Shortcut to the Home Assistant Companion, to add it to your Android home screen long press on the Companion App icon then users can drag them onto their home screen.

I really hope that’s their intentions, as im sure your far from alone in this situation, everyone who have been working with IT, and a whole bunch of others, prefer English UI… And for me lived half my life in Denmark, Half in Sweden ( Friends and relatives, my spoken languages), however i also find it very hard to “navigate” in a non-English OS / Software

EDIT: Have you thought about writing your own “intents” ? , why not “create” your entire own language :grin:

1 Like

Please add bash-like shortcuts for us Linux nerds! Add bash-like shortcuts to Assist text bar

A missing action I’d like to see is “toggle”.

“toggle kitchen light”

Trying to get grips with assist. Do we have to always press the assit button on the browser to speak etc? Or can it be done like your normal alexa, hey Google?

Hi, I’ve been playing with assist today and I can’t seem to get the temperature state. It is in the intents repository, but HA can’t understand the sentence. When I put the hvac file in custom sentences HA understands fine, but outputs an error.

Is getting a state just not implemented yet or is there a problem on my end? And if it isn’t implemented, is there a list of intents that are implemented and we can test?

Am I missing something here?
Would have thought that a named scene would work out of the box … translations is “Turn off all lights” and it replies about not understanding it, even though I have a scene named “Sluk alt lys” :smiley:

Udklip1

Here also the assistant is not working, I can ask everything it answer. But to turn off a light it is not possible. I run on a raspberry pi 4, I ask also how much entities I have, and this is not right. I have a lot more than the 17 there is saying…
I make a new instance on Synology for test and here it works. (Make a helper and it is turned on and off)
See below some pictures:
image
image

I am running HA core version 2023.2.2 on a desktop in firefox.
There is no assist icon at the top …
Can I somehow play with this on my desktop?

1 Like

I’ve got my own container installation. It’s up to date, but I’m not seeing the icon in the app…

The example from the article “Assist - Custom Sentences” works well. But I’m trying to control the media player via {name} and my code throws an error.

language: "en"
intents:
  SetVolume:
    data:
      - sentences:
          - "(set|change) {name} volume to {volume} [percent]"
        requires_context:
          domain: "media_player"
lists:
  volume:
    range:
      from: 0
      to: 100
Error handling message: Received invalid slot info for SetVolume (unknown_error) from 192.168.1.1

upd
Everything is working. I just forgot to change the value of the entity_id in the intent_script

I think down the road it would be important to see something along the lines of ‘smart’ commands such as “turn off all lights” to turn off all lights that are exposed to HA.

Or “turn off kitchen” either turning off all devices in area:kitchen, or at least turning off my light group called “kitchen light” with a wild card match.

Would that be something like “turn off lights in [area]”? (Or turn of switches in area, etc).

You are using the openai conversation agent. The docs say

This conversation agent is unable to control your house. It can only query information that has been provided by Home Assistant.

This is something I wrote a while back. Is this something useful to this project? I have several rules defined in json that might be usable as intent/action

yes, but a phrase that turns on/off all devices from all domains within an area.

It doesn’t know what your scenes is called, and you didn’t ask it to i.e RUN scene “Sluk alt lys”… You basically just spelled out the name of the of one of your scenes , it could be what-ever on earth you mend, i would also have answered you"Va ? "

Om, if it was “programed” to understand something in the area of what you want it to do, it would be something like “Sluk alt - Lys” where Lys is the “thing” it has to “turn of all / Sluk (for )alt” … PS: don’t be surprised if it get confused, and dont understand you if you say " Sluk for-Sluk alt lys" , most likely it has already an “intent” saying "Sluk alt - " , that would in that case be "if you saying “sluk alt -lys” , it would turn of all “light” entities, Most likely Not your scene “Sluk alt lys” …
PS: And , you can’t turn-off something that is not “on/running” , so if your “scene” is actually an automation which should turn of all your light, you should not ask anyone to turn.scene/automation of , right ? , you want it to run/turn on - the scene/automation (sluk alt lys / turn off all light)