Smart bulbs are intended to always have power available (see the user guide), but you can solve the switch issue in many different ways.
See the following FAQ (this is a clickable link)