/*! phoscon-app 2025-08-28 */

function updateSensor(id,param,callback){$.ajax({url:"//"+app.session.gw+"/api/"+app.apikey+"/sensors/"+id,dataType:"json",type:"PUT",cache:!1,contentType:"application/json; charset=utf-8",data:JSON.stringify(param),headers:{Accept:apiversion},success:function(json,status,xhr){callback(param)},error:function(jqXHR,textStatus,errorThrown){callback({error:jqXHR.status})}})}