Giter Club home page Giter Club logo

Comments (3)

CodePutz avatar CodePutz commented on August 28, 2024 1

Ah, very nice. I fixed it by adding "showHidden=True" as well as "showCompleted=True" to your code (api.py). Restarted HA and now it's pulling in completed tasks!!

homeassistant:/usr/src/homeassistant/homeassistant/components/google_tasks# grep -n Hidden api.py

71: tasklist=task_list_id, maxResults=MAX_TASK_RESULTS, showHidden=True, showCompleted=True

I don't think this will have any ill effects. I can see where adding 'showDeleted' may cause problems though. :)

Anyway, it's working as intended for me now. Thank you so much for the nudge in the right direction. I would recommend making that change in the official repo so that others can benefit from it as well.

Thanks again!

from core.

home-assistant avatar home-assistant commented on August 28, 2024

Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration (google_tasks) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of google_tasks can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign google_tasks Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_tasks documentation
google_tasks source
(message by IssueLinks)

from core.

allenporter avatar allenporter commented on August 28, 2024

Thanks for the report. Reading the API docs, there is a field showCompleted which defaults to true.

However, it also says Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. but showHidden is False. I think this is the case you are referring to deleting tasks from the google website.

So perhaps setting showHidden will fix this, but just need to be careful to see what else is returned when doing that.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.