Gradually dimming the light in the dashboard

Hello everyone,
I am looking for a way to assign dimming steps to a lamp.

Example:
Selecting the number of dimming steps for example 3

Assign the dimming values to the steps
1 = 33%
2 = 50%
3 = 77%

In the front end, the scale is then subdivided according to the steps.

The icing on the cake would be if automations could also access the steps.

For example:
light.turn_on
brightness_step: 1

Thanks a lot!