Brightness level can't be greater than a value

Hello,

New to yaml and not sure how to write this to say if the light brightness is GREATER than 185?

alias: Family room light brightness
description: ""
trigger:
  - platform: state
    entity_id:
      - light.family_room_lights_light
    attribute: brightness
    to: "185"
condition: []
action:
  - service: light.turn_on
    data:
      brightness: 170
    target:
      entity_id: light.family_room_lights_light
mode: single

You want a numeric state trigger

  - platform: numeric_state
    entity_id:
      - light.family_room_lights_light
    attribute: brightness
    above: 185
1 Like

Thanks! I get it now…ty