From 1bd175c9127639d52f35230ed5556e99e495f7a7 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 10 Nov 2025 16:42:15 +0100 Subject: [PATCH] fix --- apps/ui/templates/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/templates/dashboard.html b/apps/ui/templates/dashboard.html index 2307271..6e0f4ad 100644 --- a/apps/ui/templates/dashboard.html +++ b/apps/ui/templates/dashboard.html @@ -767,7 +767,7 @@ const newTarget = Math.max(5.0, Math.min(30.0, currentTarget + delta)); try { - const response = await fetch('/api/device/set', { + const response = await fetch(`/api/devices/${deviceId}/set`, { method: 'POST', headers: { 'Content-Type': 'application/json'