A device control method is provided for a smart home system performed by an electronic device, wherein the method comprises: displaying a first interface, (S1001) wherein the first interface comprises a first condition, a name of a first device, and a name of a second device; determining (S1002) a first time interval based on a first parameter of the first device and a second parameter of the second device, wherein the first parameter is related to a first surge current of the first device, and the second parameter is related to a second surge current of the second device; when (S1003) the first condition is satisfied, sending a first instruction to the first device, and sending a second instruction to the second device after the first time interval, wherein the first instruction enables the first device to perform a first action, and the first action generates the first surge current; and the second instruction enables the second device to perform a second action, and the second action generates the second surge current; displaying (S1004) a second interface, wherein the second interface comprises the first condition, the name of the first device, the name of the second device, and a name of a third device; determining (S1005) a second time interval based on the first parameter, the second parameter, and a third parameter of the third device, wherein the third parameter is related to a third surge current of the third device; and when (S1006) the first condition is satisfied, sending the first instruction to the first device, sending the second instruction to the second device after the first time interval, and sending a third instruction to the third device after the second time interval, wherein the third instruction enables the third device to perform a third action, the third action generates the third surge current, and the second time interval is greater than the first time interval. displaying a first interface, (S1001) wherein the first interface comprises a first condition, a name of a first device, and a name of a second device; determining (S1002) a first time interval based on a first parameter of the first device and a second parameter of the second device, wherein the first parameter is related to a first surge current of the first device, and the second parameter is related to a second surge current of the second device; when (S1003) the first condition is satisfied, sending a first instruction to the first device, and sending a second instruction to the second device after the first time interval, wherein the first instruction enables the first device to perform a first action, and the first action generates the first surge current; and the second instruction enables the second device to perform a second action, and the second action generates the second surge current; displaying (S1004) a second interface, wherein the second interface comprises the first condition, the name of the first device, the name of the second device, and a name of a third device; determining (S1005) a second time interval based on the first parameter, the second parameter, and a third parameter of the third device, wherein the third parameter is related to a third surge current of the third device; and when (S1006) the first condition is satisfied, sending the first instruction to the first device, sending the second instruction to the second device after the first time interval, and sending a third instruction to the third device after the second time interval, wherein the third instruction enables the third device to perform a third action, the third action generates the third surge current, and the second time interval is greater than the first time interval. <EOS>