Is there a way to edit deviceParams (or tags) from device parser?

Is there a way to edit deviceParams (or tags) from device parser?

Hi people,

I know that for devices you can access its parameters in the parser using const type = device.params.find(param => param.key === "x");

But, is there a way to set the value from the parser itself? Something like device.params.set(key, value);

I know we can use an analysis to write that into the device itself but it can be resource hungry for some simple data storing. (Not to say it can be a bit cumbersome to implement).

Edit: typo