How to increase ESP32 DAC output level

Hello all,
I want to increase the DAC output level in a script, based on some readings.
So i need to increase the output by 2%
This is my first post so please forgive me if the intentation is nor correct.
Many thanks

- output.set_level:
     id: acceleratie
     level: !lambda 'return id(acceleratie) +=2;'