Computed Attributes can no longer access device attributes

memesaregood 2 years ago

In past versions, I used to be able to gain access to device attributes from the computed attributes environment. I can't now.

From what I can tell, the 'for' in the prepareContext() does not work correctly.

Anton, can you please check this and see if there's anything 'accidentially broken'?

Anton Tananaev 2 years ago

Have you enabled it in the config file?

memesaregood 2 years ago

Ah, silly me - I didn't notice it being commented out at the top of the file for some reason. Thanks for pointing that out!

I've noticed there's a Priority setting now. I assume this controls the order of attributes calculation? What executes first, the attribute with a lower number of priority, or the attribute with a higher one?

Anton Tananaev 2 years ago

Higher priority is executed first.