👀 Summary
Exiting new release today. Thanks to @FrankBakkerNl we now are introducing the beta of base class attribute generation.
Light attributes base class
Currently only attributes that are present are generated automatically. Now we introduce the option to use standard attributes base class for light enitites that has the most common attributes pre-made. So now you do not have to turn on all lights to access the brightness attribute as an example. This feature is still en beta and not turned on by default. We encurage you to try it out and report back any attributes that you think is missing from base class. Enable the feature by adding following to the appsettings.json
file. If the attribute existing in base class is found on the entity it will be replaced by the one found.
{
"CodeGeneration": {
"UseAttributeBaseClasses" : "true"
}
}
⚡ Enhancements
- #713 Base class for generated attribute records @FrankBakkerNl
⬆️ Dependency Updates
- #714 Bump Roslynator.Analyzers from 4.1.0 to 4.1.1 @dependabot