[UX Improvement] Make titles optional on Device/Scene Widget

For my part, I often don’t put a title in Widgets.
I propose making titles optional in the Device and Scene Widgets, as is already done in the Alarm Widget, for example.

Ci dessous 2 exemples extrait de mon tableau de bord

I’ve started preparing a PR on my side.

Here’s the result with the Scene Widget

However, I have the Device Widget where I need an opinion. In the case of lights or outlets, should I keep the main toggle button in the title?

Or should I remove the title bar anyway?

For me, if there’s no title then there shouldn’t be a general button, because otherwise I don’t understand why that thing is there :frowning:
Besides, I don’t understand why this button is there by default and it’s been bothering me from the start.

If when you add multiple lights or outlets you can turn off or turn on all your lights/outlets at once

Thanks for the clarification @_Will_71, I only have single-outlet setups, so it’s useless to me :sweat_smile:

I think I should remove the title bar anyway; it would look odd, and if someone really wants that general button they’ll add a title, right?

1 Like

Yes, that’s it — if we add a title, the button will be present as before, but I preferred to ask the question and get some opinions.

@pierre-gilles, here is the PR

1 Like

Excellent, thank you! I’ll check my next day, Gladys, on Thursday :slight_smile:

It’s fine with me, it’s merged and it will be included in the next Gladys release!

3 Likes

Fixed in Gladys Assistant 4.53.0:

1 Like