Let’s assume we have dimmer with minimal value 0 and maximal 99. Current value is 30 The percent is 40 and new value will be 70.
{ "error": null, "id": "_ID_", "result": { "newValue" : 70 } }
In case of we have a thermostat with minimal value 0 and maximal 40. Current value is 30 The percent is 10 and new value will be 34.
{ "error": null, "id": "_ID_", "result": { "newValue" : 34, "scale": "celsius", "valueType": "temperature" } }