Zigbee device state flickers when setting with script

When I set the brightness of a light with a script (light.turn_on) the new state is reflected in a corresponding light card for a short moment but jumps back for a second or so before finally being applied:

2022-04-09-03-03-24

This isn’t a dealbreaker of course but it is a bit annoying and I wonder if I can do anything about it?

I haven’t tried it with scripts, but i do use scenes.
I also did not notice any hiccups in the cards, so might be worth a try with scenes?

I was eventually able to solve this issue by resetting the Zigbee reporting settings of the bulb.