github net-daemon/netdaemon 22.23.0

latest releases: 24.43.0, 24.42.0, 24.37.1...
2 years ago

👀 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

⬆️ Dependency Updates

Links

Don't miss a new netdaemon release

NewReleases is sending notifications on new releases.