I used to have trouble with sleep on M-series macs on occasion, but after turning off wake on LAN they’ve all slept exactly as expected for the past several years.