Edit
				
					{
    "method": "hub.item.value.percent.apply",
    "id": "<request_id>",
    "params": {
        "_id" : "5cf0dc8c7f000068d223e88a",
        "percent" : 40
    }
}				
			
Edit

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"
    }
}