Remove the devixe_id line in the action part.
However, this will not solve your problem. Your automation always sets the level to 20 percent, no dimming of the volume. Dimming of the volume as you want it will not work with automations, you’ll need something like Controller X for this.