Mmm indeed, because the code only applies this rule to « complex » devices that have multiple features of the same type, whereas here you change the type and so the display considers them as two different features, therefore distinguishable in the UI!
How to do it? If anyone has an idea, I have no answer at all.
Ok at first I didn’t understand why it worked for @Psoy and not for me.
And it was when I saw the configuration of my relay that I understood. Hence my message to point it out
After that I absolutely don’t mind configuring the lighting as an outlet!
@AlexTrovato Indeed, I think it’s because it’s a PR from a fork — they don’t run PRs so that someone could see the secrets or use my Cloudflare builds on my account
Alright, I’ll run the build myself and post the URL here!