Computed Attributes can no longer access device attributes

memesaregood3 months 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 Tananaev3 months ago

Have you enabled it in the config file?

memesaregood3 months 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 Tananaev3 months ago

Higher priority is executed first.