fix
This commit is contained in:
@@ -1793,7 +1793,10 @@
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
target_temperature: targetTemp
|
type: 'thermostat',
|
||||||
|
payload: {
|
||||||
|
target: targetTemp
|
||||||
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user