-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding RoomHinting to GoogleAssistant to allow for room annotations. #12598
Conversation
While I do understand the need for this, I don't think we should put the I think the |
I came to the same conclusion, and the room annotation is in the entity_config section for google_assistant currently. I apologise if that wasn't clear from my, admittedly very trimmed, yaml sample. |
Oh, I'm very very sorry about that and I want to apologize. I should have seriously checked the code before posting the comment. ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC they say somewhere in the docs that roomHint doesn't do anything yet (which, aside from laziness, is why I didn't bother adding it) but I'm still totally fine with this. Thanks!
(Don't forget the doc PR)
Thanks -- I'll call out in the documentation that this isn't currently enabled on the Google side -- Support got back to me and confirmed that my calls are correct, and it's an issue on their end. |
Description:
[Not for merge yet] Added the roomHint attribute to the devices return for the QUERY intent for Google Assistant. According to the documentation available from Google, this will allow disambiguation between devices with similar names based on a provided room. While this can currently be achieved within the Google Assistant application by associating exposed devices into a "Room", each user needs to do this locally on their app.
However, the attribute doesn't appear to be lit up yet on the Google side, even though it's in the documentation. I've reached out to developer support at this point, and I'm waiting to hear back. I'll update the PR as required based on what I hear back.
Submitting at this point in order to allow for review.
Docs from Google:
https://developers.google.com/actions/smarthome/create-app
https://developers.google.com/actions/smarthome/faq
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#
Docs pending. Holding off for any required changes first.
Example entry for
configuration.yaml
(if applicable):Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices:
tox
run successfully. Your PR cannot be merged unless tests pass