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

Unexpected exception when setting up integration #3

Open
surfingbytes opened this issue May 7, 2024 · 0 comments
Open

Unexpected exception when setting up integration #3

surfingbytes opened this issue May 7, 2024 · 0 comments

Comments

@surfingbytes
Copy link

surfingbytes commented May 7, 2024

First, add custom repository to HACS and add this integration. Then, add Paperless HA integration and you'll get configuration window asking for host, port, username, etc.. This window has 2 bugs:

  • Port is ignored. No matter what you specify, it uses 8000. This means you can't use reverse proxy (paperless.homelab.local on 80 for example), but you have to expose the 8000 port and use ip address in this settings.
  • TODO Tag (optional) is not optional. When you don't specify it, the configuration fails:
    Traceback (most recent call last): File "/config/custom_components/paperless_ng/config_flow.py", line 118, in async_step_user info = await validate_input(self.hass, user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/paperless_ng/config_flow.py", line 97, in validate_input "todo_tag": data["todo_tag"], ~~~~^^^^^^^^^^^^ KeyError: 'todo_tag'
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

1 participant