-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
Description
When configuring more than one instance of a plugin, the instance parameter is used to bind item attributes to a specific instance of a plugin.
On the other hand, we already have an identifier, that points to the specific instance of those plugins. Each configured plugin has a section name in etc/plugin.yaml. That section name could be used for the same purpose.
That way we could solve some irritations about the configuration of multi instance plugins.
If it is the way to go, I would dig into the code to see how to implement it and to show a migration path.
Questions to address
- Should we still use the default plugin handling?
- What happens with attributes without instance name? Used by all or only by default plugin?
- Should settings of a multi-instance plugin always need an instance name?
- Can an item use multiple instances (e.g. using settings with different instance names)?
- Can an item use plugin settings with instance names and without instance names (e.g. AVM plugin)?
Solutions
TDB.