Turn on Light to Previous Brightness

Hi All,

Does anyone know if there is a built-in way of turning a light on to the same brightness the light was when it was turned off via the services??

I thought about creating a helper and then a script to save brightness to the help and then when turned on pull the level from the helper, however, just wondered if there was a simple way within HA as it seems like a pretty simple thing which even Apple Home does by default and so does ha if I just press on and off on the dashboard.

Just trying to set a physical button press to turn light on, which it does, but only to the brightness I set in light.turn_on