You probably finding when you turn your light OFF the LUX value drops and then it turns it back ON. Take note of your settings.
You can do a few things but I recon that is the LUX value when you turn the light OFF.
The best way is to use the bypass option 2 and maybe a time delay. The entity for the bypass cant be your light / smart plug.
If you are just tying to turn the light ON with ambient light LUX value then try using this blueprint
Smart Light - Entity - Sun Elevation - Ambient & Time Triggers
Blacky ![]()