Does not have previous state memory. If there is a power cut the lamp stays ON till you switch it off after the power comes back which is very bad. This is a typical Chinese product from Tuya like Syska Smart light. Both these companies have bought it from Tuya and just changed the name and didn't even take pain to create an app for the same. Being 7w lamp, you need at least two of these lamps in a 12x12 room to create any ambience.