Setting brightness in automation.yaml

using the web UI, i have an automation to turn on a light after 7pm when the front door opens. nothing fancy. but how to set brightness level too? this is using the Zooz zen 22 dimmer.

- id: '1570209701939'
  alias: auto light on after 7pm, front door open
  trigger:
  - entity_id: binary_sensor.front_door
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - after: '19:00:00'
    condition: time
  action:
  - data:
      entity_id: light.zooz_zen22_dimmer_v2_level
    service: light.turn_on
1 Like

See the light documentation

  action:
  - data:
      entity_id: light.zooz_zen22_dimmer_v2_level
      brightness_pct: 100
    service: light.turn_on

im very happy to say this works! thank you