added control for LED based on temp setpoint