code: def turn_on(self, effect=EFFECT_SUDDEN, transition_time=MIN_TRANSITION_TIME):
          
          # Check bulb state
          if self.is_on():
              return
          else:
              # Input validation
              schema = Schema(
                  {'effect': Any(self.EFFECT_SUDDEN, self.EFFECT_SMOOTH), 'transition_time': All(int, Range(min=30))})
              schema({'effect': effect, 'transition_time': transition_time})
              # Send command
              params = ["on", effect, transition_time]
              self.api_call.operate_on_bulb("set_power", params)
              # Update property
              self.property[self.PROPERTY_NAME_POWER] = self.POWER_ON
docs: This method is used to switch on the smart LED (software managed on).
  
              :param effect: if the change is made suddenly or smoothly
              :param transition_time: in case the change is made smoothly, time in ms that change last
  
              :type effect: str
              :type transition_time : int