Hi @pierre-gilles,
Well, this follows your own request with @AlexTrovato on this topic: https://community.gladysassistant.com/t/pouvoir-modifier-les-pieces-des-divers-features-composant-un-device-avec-multiples-relais/5935/7?u=terdious,
i.e., keep in mind:
Originally, you wanted to do this with the model. But if we do that, we limit it to Philips Hue. However, there are many outlets like this. Sonoff relays are in the same case.
In short, to keep track of what the original device was, how do you think we can do it other than in the DB. Or maybe I didn’t understand the particularity of your proposal, I’m sorry.