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

Pi-Hole integration -- API location changed on version 6.0 #138927

Open
jimbolimbo3 opened this issue Feb 20, 2025 · 3 comments
Open

Pi-Hole integration -- API location changed on version 6.0 #138927

jimbolimbo3 opened this issue Feb 20, 2025 · 3 comments

Comments

@jimbolimbo3
Copy link

The problem

As per title, the location of APIs of Pi-hole has been changed. Running the integration in the bug you can obtain this "hint"

2025-02-20 10:55:08.188 DEBUG (MainThread) [hole] {'error': {'key': 'bad_request', 'message': 'Bad request', 'hint': 'The API is hosted at pi.hole/api, not pi.hole/admin/api'}, 'took': 0.00023031234741210938}

What version of Home Assistant Core has the issue?

core-2025.2.4

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

Pi-hole

Link to integration documentation on our website

https://www.home-assistant.io/integrations/pi_hole

Diagnostics information

home-assistant_pi_hole_2025-02-20T09-55-52.384Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

_2025-02-20 10:55:08.188 DEBUG (MainThread) [hole] {'error': {'key': 'bad_request', 'message': 'Bad request', 'hint': 'The API is hosted at pi.hole/api, not pi.hole/admin/api'}, 'took': 0.00023031234741210938}_

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of pi_hole 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 pi_hole 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)


pi_hole documentation
pi_hole source
(message by IssueLinks)

@mib1185
Copy link
Contributor

mib1185 commented Feb 20, 2025

the python-hole lib needs to be adjusted

@doctorkb
Copy link

Duplicate of #130245

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

No branches or pull requests

3 participants