Added custom sensor thresholds