Brightness & Brightness_pct not working in automations

That’s a normal group. You want a light group:

It’s a platform you configure under light:

Created Light group and tested.
Exactly the same as all other attempts.
Works fine without brightness as soon as I add brightness only 1st light turns on.

Looks like same results with groups. scenes, even manual.

Then there is something wrong with the integration you use to control your lights.

1 Like

Hang On
What happens with ONLY 1 light in the script
Run it with brightness 52

Then re-run it with brightness 255

Is it taking the brightness setting ?

If it is you may have to try 5 scripts (pass brightness as a variable to each)
Start runing them sequentially with (say) 5 sec gap

Reduce the gap second by second till you get to 0 gap

Stop at any time it stops working

Report back

Yes it changes the brightness of the only 1 light or if multiple then the 1st one.
With multiple lights the 2nd, 3rd etc…don’t even turn on it’ like they get ignored.
But whats confusing is if I remove the brightness all lights turn on fine.

Yes we’ve been over that but if each light IS controlled when alone in a script, i’M trying to determine if you can put the all in separate scripts, then call each in turn and how long between each one
We are trying to gather data to assist

I have tried that in a script and automation still the same results
Here is the script I ran, and put a 30 second delay between each light on
1st one turns on but none of the next ones come on.

'1587879937818':
  alias: Test Light Transition
  sequence:
  - data:
      brightness: 2
    entity_id: light.sengled_e11g13_03092ed4_1
    service: light.turn_on
  - delay: 00:00:30
  - data:
      brightness: 2
    entity_id: light.sengled_e12n14_03099ca9_1
    service: light.turn_on
  - delay: 00:00:30
  - data:
      brightness: 2
    entity_id: light.sengled_e12n14_0309bf86_1
    service: light.turn_on
  - delay: 00:00:30
  - data:
      brightness: 2
    entity_id: light.sengled_e12n14_0309cda5_1
    service: light.turn_on

No, you said it worked in a single script.
So make 5 off single scripts
Call one, delay 30 secs (template the delay it will save time)
Call the next script
Will it do 2?
Try 3
Try 4
Try 5
Then start reducing the timers

Same result
Light turns on with 1st script
No other ones come on.

Check the developer tools states menu for the lights listed. Do they all have the same supported features listed in the attributes column?

I’m wondering if some of your lights have been discovered as binary/switch lights that do not support brightness.

Snap Bro

that was my thinking

are they dimmable lights and are switch.

only cause just wired a shelly1 to the toilet light which is a switch

The sengled e12-n14 do support brightness

Yeah, but have they been discovered correctly.

They all show as lights with
supported_features: 41
I can adjust brightness on all lights in UI so they work with brightness

It acts like when you send the brightness setting it works 1 time and
then not for multiple lights or even when I did each one manual only
the 1st one works.

Sounds like you need to open an issue.

How do I do that?

As ZHA is a core integration you go to the core repository on github and open an issue there. It’s always wise to search the existing issues first though, then you might find someone has already reported the issue, like this:

That’s not exactly your problem so a new issue can be created:

1 Like

Unless you already have one, create a free GitHub account then head over to the Home Assistant Core repository (“repo”) and create a new Issue. You’ll be presented with a form requesting various bits of information. Have a look at some of the other open Issues to get an idea of what information is required. After you submit the new Issue, it will be assessed by one of the developers and then assigned to the developer(s) responsible for the ZHA integration.


EDIT
Ninja’d!

1 Like

Will do
Thanks

Problem was with my Sengled lights.
Updated the firmware on all 15 of my lights and now everything works perfect.