Extract brightness value from tuya dimmer

I have several tuya wall dimmers connected with the new tuya integration.

I would like to copy the brigtness value to a variable.
If i go to automation my only options are “turned on or off”, “turned on” and turned off"

If i download diagnostics, i can see the line “brightness”: 103, and that value change when i change the brigtness ( and download the diagnostic again)

How can i do that?