Turning on Shelly Dimmer at <100%

Hi,
I have a problem with a Shelly Dimmer…

I cannot turn on the light controlled by the Shelly Dimmer 2 at a brightness level of less than 100%. If the light is off and I set the brightness level to lets say 20% through the dashboard - the lights turns on at 100%.

If I turn on the light through the webpage on the dimmer using
http://192.168.30.12/light/0?turn=on&brightness=20
is works without a problem.

Any ideas on what I have done wrong?

I am using the standard Shelly integration.

That is because the light is off and it first sends a turn on. Turn on takes the previous state of the bulb.
If you use the call service and add the brightness to the service call then it should work.

But, that said. I think this is a good thing to make a feature request on.
When you click the brightness slider then it should be able to do a correct service call.

It works as expected with IKEA Tradfri bulbs, just not with Shelly….

It actually do not work via a service either.

service: light.turn_on
data:
  brightness_pct: 5
entity_id: light.kokken_spots

Only works using the web call directly to the dimmer http://192.168.30.12/light/0?turn=on&brightness=20

So I guess it is a bug in the integration…?

brightness vs brightness_pct perhaps?

I know some of my lights i have to use brightness which is out of 255 vice 100

Hi ,
I tried the below command without any luck.

service: light.turn_on
data:
  brightness: 20
entity_id: light.kokken_spots

I will try creating and issue on Github.

Thank you for your help!

Did you find a solution to this? I have a shelly dimmer 2 with ESPHome and when I turn it on they come on full bright then dim to the level. Also when I turn them off they go full bright then off.

I realized that it was the integration Adaptive Lighting which was teasing me.
So not really a solution but just a mistake on my end.