Attribute 'brightness' of Light Group does not exist (it does!)

I have set up a Helper / Light Group:

light.grp_wz_deckenleuchte

supported_color_modes: brightness
entity_id: light.dimmable_light_5
icon: mdi:lightbulb-group
friendly_name: GRP WZ Deckenleuchte
supported_features: 40
color_mode: brightness
brightness: 24

Now, i want to set up an Automation, which triggers if the numeric State of Brightness is below 150 for 3 Seconds:

alias: General Light - Safety Light Value GRP WZ Deckenleuchte
description: ""
trigger:
  - platform: numeric_state
    entity_id: light.grp_wz_deckenleuchte
    attribute: Brightness
    below: 150
    above: 0
    for:
      hours: 0
      minutes: 0
      seconds: 3

That Automation never triggers, no matter what Brightness i set the Light (Group) to.
Why?

Now, if i change the Automation to trigger on any Brightness-Change, and check the Brightness-Value in the Automation:

alias: General Light - Safety Light Value GRP WZ Deckenleuchte
description: ""
trigger:
  - platform: state
    entity_id:
      - light.grp_wz_deckenleuchte
    attribute: brightness
    for:
      hours: 0
      minutes: 0
      seconds: 3
condition: []
action:
  - if:
      - condition: numeric_state
        entity_id: light.grp_eingang_deckenstrahler
        attribute: brightness
        below: 150
        above: 0
    then:
      - service: light.turn_on
        data:
          transition: 1
          brightness: 200
        target:
          entity_id: light.grp_wz_deckenleuchte
mode: single

It triggers, but in Traces it says: result: false

message: >-
attribute ‘brightness’ of entity light.grp_eingang_deckenstrahler does not
exist

WTF is going there? Why does it trigger on the Attribute “brightness”, but can’t check for the numeric state of the same Attribute later?
That Error feels so stupid, i am almost sure i did something obvious terrible wrong :smiley: But i just can’t see what.

This works with my light group:

alias: Test
description: ''
trigger:
  - platform: numeric_state
    entity_id: light.bedroom_lights
    attribute: brightness
    below: 150
    above: 0
    for:
      hours: 0
      minutes: 0
      seconds: 3

You did have Brightness rather than brightness and attributes are case sensitive. I swapped it to capitalized and it no longer worked.

1 Like

This is the answer :wink:

Always check the actual state to see what it is.

1 Like

Oh my :frowning:
I feel embarrassed. Thanks for helping with that most stupid Error - more stupid, as i know that for a long Time :pray:

1 Like