Let’s assume we have dimmer with minimal value and maximal .
Current value is The is and new value will be .

				
					{
    "error": null,
    "id": "_ID_",
    "result": {
        "newValue" : 70
    }
}				
			

In case of we have a thermostat with minimal value and maximal .
Current value is The is and new value will be .

				
					{
    "error": null,
    "id": "_ID_",
    "result": {
        "newValue" : 34,
        "scale": "celsius",
        "valueType": "temperature"
    }
}