Google Assistant SDK - weekly re-authorization of account

Hello, I did follow the excellent video here to execute Google Assistant Commands via Home Assistant. This all works well and my switch is executing the google scenarios. However the SDK Plugin in Home Assistant asks me on a weekly basis to confirm my google account and stops working until I do so. I am not sure how to get around this. My feeling is that it should have used a google service account instead of a “normal” google account. Would love to try this but do not find a way to change the linked account on the SDK Plugin. Does anybody have a similar experience and maybe a solution ?

Most likely you forgot to publish the app. Per the documentation “Click OAuth consent screen again and set Publish Status to Production otherwise your credentials will expire every 7 days.” and “Make sure Publishing status is set to production.”
Or timestamp 3:13 in the video Controlling Google Home With Home Assistant! - YouTube

3 Likes

That worked, thank you so much

If I publish the app, I get the warning that it will require verification because of “sensitive scopes”. I know apps are exempt from verification if there are less than 100 users, but have I setup something wrong to get that warning?

1 Like

I removed any scopes that are sensitive. I clicked on “ADD OR REMOVE SCOPES” and unchecked anything that has a lock (aka is sensitive)

1 Like