Sorry for the inconvenience
1. If you download the code and there are power, power on&power off at the same time, you can first try whether the three commands can work. If they can work, it is recommended to give priority to power on and power off. It is easier to repair the impact of device status errors.
2. If there is only one power toggle, you generally need to modify the device status to make it consistent with the activity. For example, press the off key to close all activities. If any device is not closed, switch to the device mode to manually close it.
After the status is consistent, re enable the activity to work normally.