Silly Issue with Lutron Caseta lights/dimmers. How to restore previous level?

I’ve got four in-wall dimmers working in HA using the lutron_caseta component, but the lights do not behave as I’d like. The short version is that I want the lights to return to the previous brightness level when I toggle the “on” switch in HA, but what they do is go to 100% every time.

Thought I might be able to overcome this behavior by using a template light to control the actual light entity, but I’m not sure how to proceed. The documentation for “Light Template” is horrible (Why are they calling a script? What is the script doing? Why not give a simple and functional example?!?). Can anyone point me in the right direction?

I am thinking an ‘easy’ way (depending on your ha experience) would be to save the brightness to an input_number, and then when the light goes from off to on set its brightness to the value of the input_number.