@mwittig said in Add Buttons to a Dimmer:
I like your PoC DeviceConfigExtension! This could be a good starting for providing alternative UI templates for some device types.
Thank you! I thought so as well. However, relying on the other owners of the other plugins to implement the change seemed a bit optimistic.
Also, my pathological, perhaps even maniacal, need for efficiency lead me to conclude that this plugin might be a better way.
As an example, say I have a single device that uses a certain template, at a single location on a single page, but may want to display it using an alternate template. The extension option would work for that.
Now say I have that same device, but I want to display it differently on 2 different pages in different forms. The extension option wouldn’t allow me to do that, and I would have to recreate the core device to display the second. Using a plugin to mirror and leverage the original, with complete synchronicity, I can achieve that goal fairly efficiently, assuming the device provided by this plugin is more efficient than the original.
That said, I think having both is beneficial. But I’m not one to mess with the core pimatic codebase, alas I offer this.