iMac wakes up every night
I was away for a while and before leaving I shutdown the iMac (latest version with Sonoma). When I got home, the computer was turned on. I do not have any programs set to run at night or otherwise. The option for energy saving/enable access for network is turned off. I tested this and consistently it happened every night. I called Apple thinking that maybe Timemachine does this. I was told that TM is not waking up the computer but that every computer that has USB 3 ports is designed to do this. I could not get an explanation about why or the perceived benefit of this "feature". I was told that the only way to prevent this from happening is to unplug the computer from power. Do you know maybe how is this useful and any other way to stop this from happening? Thanks.
iMac 21.5″, macOS 10.14