MQTT On/Off ignores previous brightness setting

Hi,

I’m using MQTT to control my WLED lights. And one thing that’s been super annoying is the MQTT method for controlling On/Off ignores the previous brightness setting. Turning the lights “on” sets the brightness to 100%. Where as, the HTML API version of On/Off (&T=) does keep the last brightness state.

Am I missing something? Is there a way to get MQTT to retain the last brightness state?

Thanks!