diff --git a/apps/ui/templates/dashboard.html b/apps/ui/templates/dashboard.html index b6cbfc9..be11de0 100644 --- a/apps/ui/templates/dashboard.html +++ b/apps/ui/templates/dashboard.html @@ -1793,7 +1793,10 @@ method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ - target_temperature: targetTemp + type: 'thermostat', + payload: { + target: targetTemp + } }) });