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 But i just canât see what.