diff --git a/bundles/org.openhab.binding.pihole/src/main/java/org/openhab/binding/pihole/internal/rest/JettyAdminService.java b/bundles/org.openhab.binding.pihole/src/main/java/org/openhab/binding/pihole/internal/rest/JettyAdminService.java index 5379999f3c2c1..4218c651864c4 100644 --- a/bundles/org.openhab.binding.pihole/src/main/java/org/openhab/binding/pihole/internal/rest/JettyAdminService.java +++ b/bundles/org.openhab.binding.pihole/src/main/java/org/openhab/binding/pihole/internal/rest/JettyAdminService.java @@ -81,7 +81,7 @@ public void disableBlocking(long seconds) throws PiHoleException { @Override public void enableBlocking() throws PiHoleException { logger.debug("Enabling blocking"); - var url = baseUrl.resolve("/admin/api.php?disable&auth=%s".formatted(token)); + var url = baseUrl.resolve("/admin/api.php?enable&auth=%s".formatted(token)); var request = client.newRequest(url).timeout(TIMEOUT_SECONDS, SECONDS); send(request); }