The state before power-off is saved only if it is retained for over 5s. If it is retained for over 5s but not saved, contact Tuya personnel to check the fault. 1. Record a video about the power-off process and send it to Tuya personnel. 2. If Tuya personnel cannot locate the problem based on the video, you will need to send the device to Tuya for troubleshooting.