function cancelTriggers(sceneSelector) {
  if (this.scenes[sceneSelector] && this.scenes[sceneSelector].triggers) {
    this.scenes[sceneSelector].triggers.forEach((trigger) => {
      if (trigger.nodeScheduleJob) {
        trigger.nodeScheduleJob.cancel();
        delete trigger.nodeScheduleJob;
      }
      if (trigger.jsInterval) {
        clearInterval(trigger.jsInterval);
        delete trigger.jsInterval;
      }
      if (trigger.topic) {
        const mqttService = this.service.getService('mqtt');
        if (mqttService) {
          mqttService.device.unsubscribe(trigger.topic);
        }
      }
    });
  }
}
@description Cancel a trigger.
@param {object} sceneSelector - The selector of the scene to clean.
@example
this.cancelTriggers('test-scene');