Bulb goes Offline after a few hours of not using it

Hi, I have a Yeelight Led Bulb 1S color and it goes offline after a few hours of not modifying anything.
When is on if for like 2 hours I don’t change something, brightness or color it goes offline and I have to press my wall light switch twice to turn the light off and on again and it connects and goes online and is not showing offline in the app anymore. If the light is off and I don’t turn it on after a few hours it goes offline and I’ll have to turn it on from the wall switch.