yeelight ceiling night mode api brightness

Hi,
I want to set the brightness of my yeelight ceilings night mode via the api.
I managed to get the current brightness via the method “get_prop” and the param “nl_br”, but when I tried things like “set_nl_br” or other similar commands it just returned “method not supported”.
What can I do?

Thanks

It’s the same command with in normal mode, which is “set_bright”. If the lamp is in night mode, it will change brightness of night mode, otherwise it change that of day mode.

thanks
it didn’t work, because my yeelight didn’t have the latest update
now it works