Closed gth001 closed 5 months ago
Hey there @tkdrob, mind taking a look at this issue as it has been labeled with an integration (google_mail
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
google_mail documentation google_mail source (message by IssueLinks)
We use GitHub to track issues with integrations. This is not an issue with the integration. User support should be requested in the community forum instead.
From first look, it looks like you did not follow step 10 in the instructions. Either you had this set up for a very long time in this manner or you skipped over it. If I recall correctly, that step was added later on but it has been there for quite some time. Perhaps you had one of the other integrations enabled and so you never saw that part?
Thank you very much, it seems I did skip step 10 as you guessed https://www.home-assistant.io/integrations/google_mail .
Select OAuth consent screen again and
under Publishing status, select Publish app.
Otherwise your credentials will expire every 7 days.
I was talking to some people with the same issue, so I will pass on the tip to them too.
The problem
Every week I have to re-grant permission to home assistant to my GMail account, then it works for another week, then disconnects. I only notice because I stop getting emails from Home Assistant.
How do I keep it permanently connected?
What version of Home Assistant Core has the issue?
core-2024.4.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
google_mail
Link to integration documentation on our website
https://www.home-assistant.io/integrations/google_mail/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response