This method is used to toggle the smart LED (software managed off).
            This method is defined because sometimes user may just want to flip the state without knowing the
            current state

def toggle(self):
        """
            This method is used to toggle the smart LED (software managed off).
            This method is defined because sometimes user may just want to flip the state without knowing the
            current state
        """
        # Send command
        self.api_call.operate_on_bulb("toggle")
        # Update property
        if self.is_on():
            self.property[self.PROPERTY_NAME_POWER] = self.POWER_OFF
        elif self.is_off():
            self.property[self.PROPERTY_NAME_POWER] = self.POWER_ON