When increasing the number of devices in the network, "turn off everything" implies every device get a "turn off" event. To make this process faster, do not send the command to devices that already are off.
There might be a "force off" command as well that might be used when things are out of sync. Same thing for "turn on" or "set level" or other things that change state of a device to a state it already has.