Edit
request:
				
					{
    "method": "hub.item.value.set",
    "id": "<request_id>",
    "params": {
        "_id" : "5cf0dc8c7f000068d223e88a",
        "value" : true
    }
}				
			
request with scale:
				
					{
    "method": "hub.item.value.set",
    "id": "<request_id>",
    "params": {
        "_id" : "5cf0dc8c7f000068d223e88a",
        "value" : 36.6,
        "scale": "celsius"
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			
Edit
Situation Error code Description Error code
Item scale cannot be converted to target scale -32602 The specified scale cannot be used rpc.params.scale.invalid