You will have to edit /boot/dietpiEnv.txt and add enable_wol=1 and reboot.
rootdev=UUID=ec2c41ce-7294-4c14-a250-383014accbcf
rootfstype=ext4
# The init system logs to the console defined last.
consoleargs=console=ttyAML0,115200 console=tty1
verbosity=4
usbstoragequirks=
extraargs=net.ifnames=0 enable_wol=1
docker_optimizations=on
overlay_path=amlogic
overlay_prefix=meson
overlays=
user_overlays=
