This commit is contained in:
2025-11-10 16:42:15 +01:00
parent cc566c9e73
commit 1bd175c912

View File

@@ -767,7 +767,7 @@
const newTarget = Math.max(5.0, Math.min(30.0, currentTarget + delta)); const newTarget = Math.max(5.0, Math.min(30.0, currentTarget + delta));
try { try {
const response = await fetch('/api/device/set', { const response = await fetch(`/api/devices/${deviceId}/set`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'