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

add some documentation [WIP] #29

Open
lordfiSh opened this issue Aug 11, 2024 · 2 comments
Open

add some documentation [WIP] #29

lordfiSh opened this issue Aug 11, 2024 · 2 comments

Comments

@lordfiSh
Copy link

lordfiSh commented Aug 11, 2024

Hi,
first thanks for creating this Addon, but this Addon needs some Documentation. I will list them here and may create a PR for the Readme later

What API Permission are needed?
If I just tick every Box in Tasks, that seems to be not enough

Something really wrong happened!
Traceback (most recent call last):
  File "/config/custom_components/hacs_vikunja_integration/api.py", line 95, in _api_wrapper
    raise HacsVikunjaIntegrationApiClientAuthenticationError(
custom_components.hacs_vikunja_integration.api.HacsVikunjaIntegrationApiClientAuthenticationError: Invalid credentials

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/hacs_vikunja_integration/config_flow.py", line 31, in async_step_user
    await self._test_credentials(
  File "/config/custom_components/hacs_vikunja_integration/config_flow.py", line 79, in _test_credentials
    await client.list_projects()
  File "/config/custom_components/hacs_vikunja_integration/api.py", line 48, in list_projects
    return await self._api_wrapper(method="get", url=url, headers=headers)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs_vikunja_integration/api.py", line 110, in _api_wrapper
    raise HacsVikunjaIntegrationApiClientError(
custom_components.hacs_vikunja_integration.api.HacsVikunjaIntegrationApiClientError: Something really wrong happened!

What Version is needed?
I had some old Version running, you need need at least Version 0.23.0, with the new API System

Where to find the To-do lists
Only found the new Todo Entities , but not the Tasks itself. Took a bit to find the new Item in the Navbar
image

and its using the new Home Assistant ToDo List Function, added in 2023.11.

image

** Can you use Automations? **
?

** Can you filter the Todo lists (closed, overdue...) **
?

@Craftoncu
Copy link
Owner

Hey, sorry. Ive seen this issue right now. My permissions on the vikuna side are like this:
image

I stopped using vikunja, because we migrated to YouTrack. But im still open to help. Automations are not available except the ones which u can use for home assistant's todo lists.

There is no filter available. It should only list undone tasks

@xJylin
Copy link

xJylin commented Dec 30, 2024

Question regarding home-assistants todo-list funtions.
I've seen code implementations for task deletion & creation.
However it seems to be commented out.
Is there a specific reason for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants