@matej1006
You only need the
M80 C"!pson"
M80
in config.g, and do not include any M81 in config.g, otherwise it will turn off again.
The setup line with the pson in it should only appear once, ever, to define the pin.
After that, M80 turns power on and M81 turns it off etc. You do not need to repeat the setup for M81.
You would normally only use M81 in a shutdown macro or at the end of a print, in the slicer post-print gcode.
Put the M80 lines near the start of your config, so the power enable is set fairly soon after power-up.