Sonoff mini-zbdim, brightness and power on

Hi

I bought a Sonoff mini-zbdim to be able to light my bulb at 30/40% during the night.

However, when I set the brightness to 30/40%, the light go first to 100% then 30/40%.

Is there a way to set brightness to a specific level before the light goes on ?

Thanks

Hello, I bought the same switch and is very interesting and better than old ZB mini. Probably you don't have the min and max dimmer intensity set as well yet, first set every and do a calibration process.

I did the calibration and set min/max.

Do you use a scenario to reduce brightness at night ?

Nobody use sonoff to dim at night ?

There’s no way to set a startup brightness without turning on the light. However, I created an automation that immediately triggers when the light turns on and sets the brightness. Since there’s a transition anyways, you won’t notice that it sets the previous value first.

alias: Dim Arbeitszimmer
description: ""
triggers:
  - type: turned_on
    device_id: 67ff2c7ce58f17404ea43f68885d6b17
    entity_id: 85d79b159c42342deea1ec039201c81e
    domain: light
    trigger: device
conditions: []
actions:
  - if:
      - condition: sun
        before: sunrise
        after: sunset
    then:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id: light.arbeitszimmer_licht
        data:
          brightness_pct: 50
    else:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id: light.arbeitszimmer_licht
        data:
          brightness_pct: 100
mode: single