refactoring schedulething _handleThingConfig