Looks like there is still a use case for this component for now so I will continue to update it. That being said I’m pretty busy at the moment and probably won’t have much time for a while.
@russ-sentient if you are able to make a pull-request for you fix and/or change it would be appreciated.
Is this still happening? Looks like a temporary Google issue. If it is still happening have you tried these tips:
If the Google refresh token is revoked or otherwise not working you may need to delete the component and setup again. This can happen if you change your password or through various other means. In addition make sure you delete the ‘token.pickle’ file which was created in your writable path.
If the refresh token is being revoked every 7 days make sure that in Google OAuth you have set the publishing status of your Google OAuth consent screen to ‘In production’. If the status is still in testing then the token expires after 7 days.
Not super familiar with how to use git hub as a creator but I will look into it. I am also busy / going out of town today for the holiday so I will see if I can find the time. About to drive 15 hours tonight
I am having trouble with the integration today, my list isn’t fully importing. The status of the sensor entities looks like it has the correct count but the attributes are missing half the events. I will look into it, but I am wondering it this is also on Google’s end. Going to try setting the integration up from scratch again. ( need my tasks list on my calendar panel today more than any day lol )
EDIT: It is updating for me, but for some reason one of my long lists with many tasks and subtasks is only pulling 5/20 parent tasks and their sub tasks. Not the card setting for show_quantity because the tasks are missing from attributes. Wondering if one of the characters I have used in the task names is escaping from the code. I see no errors in the log. Strange.
Did you download the credentials file from the Google API setup step and place it in the root config folder on your home assistant? I used the built in vscode addon and made a new file called credentials.json and just copied the one from the Google API setup steps into it. Hope this helps.
It has been a while since I have set it up, but I believe Desktop is correct. I use the vscode addon and just created a root folder called gtasks and added it there.
I believe by default it looks for the credentials.json file in the same root folder that configuration.yaml is in, try that and let me know if it works without changing anything in the integration setup configuration.
The text field for adding a new task isn’t appearing. Clicking the add button just gives me the following error: Failed to call service gtasks/new_task. required key not provided @ data['task_title’] In the developer options I can create a new task using a service call with no issues. Let me know if there is something I’m missing or need to do. Thanks.
Looks like the new(ish) Google Tasks integration finally outmodes the HACS addon for me. It supports due dates. It was easy as pie to add and once I figured out the automation I needed from it, I now have my tasks fully integrated into Home Assistant.
Thanks @myntath for keeping this going for so long.
The google task integration might be now mature enough such as the custom integration gtask-ha, but the todo-list card compatible with google task does not provide any option to filter or possibilities to influence the items appearing.
As gtask-card is only working with gtask-ha I will stick to the custom solution till out-of-the-box integration & card offers similar functionality.
Thanks @myntath for all your work!