Use device model in computed attributes expressions

Joystick8 months ago

Is it possible to call the device model in computed attributes expressions?
I would like to create a computed attribute for specific models and link it to the main group.

i.e.
model=="FMC130"?
then the rest of the expression which will only work if the model is FMC130

I have tried, model, deviceModel and device.model but not having any luck

Anton Tananaev8 months ago

Unfortunately not. We only include attributes, but model is a property. You can add it as an attribute and then you will be able to use it.

Joystick8 months ago

Thanks Anton, I will include it as a attribute.