Skip to content
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

Script entities stopped working in Google Assistant component #17577

Closed
sagilo opened this issue Oct 18, 2018 · 5 comments
Closed

Script entities stopped working in Google Assistant component #17577

sagilo opened this issue Oct 18, 2018 · 5 comments

Comments

@sagilo
Copy link

sagilo commented Oct 18, 2018

Home Assistant release with the issue: 0.80.0 (and 0.80.2)

Last working Home Assistant release: 0.79.3

Operating environment (Hass.io/Docker/Windows/etc.): Ubuntu 16.04 / Docker

Component/platform: Google Assistant (not cloud)

Description of problem:
I've recently uppdated HA to from 0.79.3 to 0.80.0.
Notice: Google Home also had a major update around this time. I have no idea if the scripts stopped working after HA update or Google Home update

Google Assistant Auth method was changed according to the docs (0.80.0 breaking change)

I had 2 scripts exposed to Google Assistant prior to the update, both worked fine.
After the update, the scripts no longer visible in Google Home app and I can't turn them on by voice.
I've tried exposing the scripts both by domain (script) and individually.

I have 2 thermostats and several switches configured the exact same way as the scripts and they DO work with the assistant.

I've triggered the google_assistant.request_sync service, and asked the assistant to 'sync my devices', still no scripts.

configuration.yaml:

google_assistant:
  project_id: !secret google_assistant_project_id
  expose_by_default: false
  api_key: !secret google_assistant_api_key
  entity_config:
    script.leaving_home:
      expose: true
      name: Leaving home

OR

google_assistant:
  project_id: !secret google_assistant_project_id
  expose_by_default: false
  api_key: !secret google_assistant_api_key
  exposed_domains:
    - script
@sagilo sagilo changed the title Scripts items aren't exposed in Google Assistant component Script items aren't working in Google Assistant component Oct 18, 2018
@sagilo sagilo changed the title Script items aren't working in Google Assistant component Script items stopped working in Google Assistant component Oct 18, 2018
@sagilo sagilo changed the title Script items stopped working in Google Assistant component Script entities stopped working in Google Assistant component Oct 18, 2018
@dshokouhi
Copy link
Member

@sagilo google had moved scenes scripts to other locations. I tested this morning and my scripts work just fine. In the home app go to your profile (4th icon bottom row), then select settings, then assistant tab, then select home control and you will see your scripts there.

@sagilo
Copy link
Author

sagilo commented Oct 18, 2018

Ohh I see that now. Not only did they moved it, they removed the aliases, so I called it by an unknown name.

Thank you

@sagilo sagilo closed this as completed Oct 18, 2018
@ciB89
Copy link

ciB89 commented Oct 20, 2018

This is not an HA issue I think, Google Home just updated their GUI and scenes/scripts just don’t appear on the fron screen anymore.
Scripts aren’t missing though, they are just not shown as switches anymore. They are listed as scenes though. Go to your routines in Google Home (can now be found under settings), add/change a routine and then select that you want to change a scene (click on the configure icon next to it) - there you can selecht your HA scripts that you want to enable when calling this routine.

@sagilo
Copy link
Author

sagilo commented Oct 20, 2018

This is not an HA issue I think, Google Home just updated their GUI and scenes/scripts just don’t appear on the fron screen anymore.
Scripts aren’t missing though, they are just not shown as switches anymore. They are listed as scenes though. Go to your routines in Google Home (can now be found under settings), add/change a routine and then select that you want to change a scene (click on the configure icon next to it) - there you can selecht your HA scripts that you want to enable when calling this routine.

I agree. this is why this issue is closed...

@david50407
Copy link

Is there any way to expose scripts as switches?
Because my Google Home app doesn't have routine function and there is not assistant tab inside the setting page.
I think the reason is my region doesn't support Google Assistant yet...

@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants