Adding RoomHinting to GoogleAssistant to allow for room annotations.#12598
Adding RoomHinting to GoogleAssistant to allow for room annotations.#12598balloob merged 1 commit intohome-assistant:devfrom jeremydk:roomHint
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. ❤️ |
|
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:
toxrun successfully. Your PR cannot be merged unless tests passREQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices:
toxrun successfully. Your PR cannot be merged unless tests pass