Better handling of light groups

Hello everyone,

I have found that controlling lamp groups is complicated if you want to switch all the lamps off or switch on the missing ones with the switch.

However, this is not a rare occurrence for me.

I could imagine dividing it into three scenarios:

  1. all lamps are off:
    In this case, you can simply switch on all the lamps

  2. all lamps are on:
    In this case, you can switch off all the lamps

  3. parts of the group are on:
    In this case, there are two options: all lamps in the group on or all lamps in the group off

Perhaps someone else has a better idea.

Thank you very much

You can use scripts or scenes to do this.

Thanks for the quick reply @tom_l!

Could you briefly explain how I can do this?
I thought the light card can not be customized with that.

The problem is if some lights are turned on I can not use the default switch to turn on the missing once.

Or did I got you wrong?

Hi ,

Like this: (there are 2 other automations in there from my latest video that might help you as well. https://whatarewefixing.today/1797/tuya-lights-in-home-assistant/)

Thank you @Sir_Goodenough

I think this seems link a nice solution. Although I wanted to have it only in my dashboard and best way like a normal card not with hardware.

Do you know how to realize the card for that or customizing the default light entity?

I just have an entity card with the switch in it. I never care what the dashboard looks like, I usually voice everything.

I think you can even do this with conditions and buttons on a dashboard.

I will try and post it here. Thanks!
To change the more info screen Is not possible I guess.