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'